X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2FApplication.java;h=6d8cd99ee7fe6bc7498bf86b2758aa834ea2128b;hb=35e7ea7bb7a6e2890542f3535aa09b11b2f079a1;hp=e4b6e5a4892ae7e0bbea9ded0f83b5555d70d17c;hpb=ce1713127bd5445b3890efddf4609cb8b8d58054;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/Application.java b/policy-agent/src/main/java/org/oransc/policyagent/Application.java index e4b6e5a4..6d8cd99e 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/Application.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/Application.java @@ -20,7 +20,7 @@ package org.oransc.policyagent; -import org.oransc.policyagent.controllers.StartupService; +import org.oransc.policyagent.tasks.StartupService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; @@ -39,10 +39,11 @@ public class Application { } /** - * Starts the se4rvice and reads the configuration. + * Starts the service and reads the configuration. * - * @param ctx - * @return + * @param ctx the application context. + * + * @return the command line runner performing tasks at startup. */ @Bean public CommandLineRunner commandLineRunner(ApplicationContext ctx) { @@ -51,5 +52,4 @@ public class Application { startupService.startup(); }; } - }