Upgrade Java 17 in policy-drools-apps
[policy/drools-applications.git] / controlloop / common / feature-controlloop-utils / src / main / java / org / onap / policy / drools / apps / controlloop / feature / utils / ControlLoopUtilsFeature.java
index 0123cef..bc6bbd7 100644 (file)
@@ -2,7 +2,8 @@
  * ============LICENSE_START=======================================================
  * ONAP
  * ================================================================================
- * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2019, 2021 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2023 Nordix Foundation.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -33,7 +34,7 @@ import org.slf4j.LoggerFactory;
  */
 public class ControlLoopUtilsFeature implements PolicyEngineFeatureApi {
 
-    private static Logger logger = LoggerFactory.getLogger(ControlLoopUtilsFeature.class);
+    private static final Logger logger = LoggerFactory.getLogger(ControlLoopUtilsFeature.class);
 
     @Override
     public boolean afterStart(PolicyEngine engine) {
@@ -41,7 +42,7 @@ public class ControlLoopUtilsFeature implements PolicyEngineFeatureApi {
             Util.buildAaiSim();
             Util.buildSoSim();
             Util.buildVfcSim();
-            Util.buildGuardSim();
+            Util.buildXacmlSim();
             Util.buildSdncSim();
         } catch (final InterruptedException e) {
             logger.error("{}: initialization aborted", ControlLoopUtilsFeature.class.getName(), e);