1. @ComponentScan("tk.artikus.assets.services")

2. Removing second app
This commit is contained in:
Artur 2024-10-10 15:59:08 +02:00
parent f2fcbd2ae6
commit bec9db923e
2 changed files with 2 additions and 1 deletions

View File

@ -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}'

View File

@ -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) {