X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fcontrollers%2FServiceController.java;h=6831d4ca682b8a2ad7948c5b8aee8818ef9f2c80;hb=50e6a619a2f568f949c02dcd8d6656218d422a93;hp=47123f20765e399e5a3c6195bc601baab2405a3e;hpb=bbc4aa48f60dc70154ff07c2143918053f1c9154;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceController.java b/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceController.java index 47123f20..6831d4ca 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceController.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceController.java @@ -27,7 +27,6 @@ import java.time.Duration; import java.util.Collection; import java.util.Vector; -import org.oransc.policyagent.configuration.ApplicationConfig; import org.oransc.policyagent.exceptions.ServiceException; import org.oransc.policyagent.repository.Service; import org.oransc.policyagent.repository.Services; @@ -43,15 +42,13 @@ import org.springframework.web.bind.annotation.RestController; @RestController public class ServiceController { - private final ApplicationConfig appConfig; private final Services services; private static Gson gson = new GsonBuilder() // .serializeNulls() // .create(); // @Autowired - ServiceController(ApplicationConfig config, Services services) { - this.appConfig = config; + ServiceController(Services services) { this.services = services; }