1. @ComponentScan("tk.artikus.assets.services")
2. Removing second app
This commit is contained in:
parent
f2fcbd2ae6
commit
bec9db923e
|
|
@ -1 +0,0 @@
|
|||
curl -X POST http://localhost:8181/rest-api/assets/calculate -H 'Content-type:application/json' -d '{"initialValueAsset": "2000", "depreciationRate": "20", "year":"2024", "month":"10", "factorValue":2}'
|
||||
|
|
@ -3,9 +3,11 @@ package tk.artikus.angular;
|
|||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
@SpringBootApplication
|
||||
@ComponentScan("tk.artikus.assets.services")
|
||||
public class AngularServicesApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue