<artifactId>so</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
+ <artifactId>sdnc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
<artifactId>rest</artifactId>
# ONAP
# ================================================================================
# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Modifications Copyright (C) 2018 Huawei Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
guard.url=http://localhost:6669/pdp/api/getDecision
guard.disabled=true
+sdnc.url=http://localhost:6670
+sdnc.username=policy
+sdnc.password=policy
+
import org.slf4j.LoggerFactory;
/**
- * PDP-D feature for lab environments that provides Server simulation capabilities for AAI, SO, and
- * VFC.
+ * PDP-D feature for lab environments that provides Server simulation capabilities for AAI, SO, SDNC
+ * and VFC.
*
*/
public class ControlLoopUtilsFeature implements PolicyEngineFeatureAPI {
Util.buildSoSim();
Util.buildVfcSim();
Util.buildGuardSim();
+ Util.buildSdncSim();
} catch (final InterruptedException e) {
logger.error("{}: initialization aborted", ControlLoopUtilsFeature.class.getName(), e);
Thread.currentThread().interrupt();
assertNotNull(HttpServletServer.factory.get(Util.SOSIM_SERVER_PORT));
assertNotNull(HttpServletServer.factory.get(Util.SOSIM_SERVER_PORT));
assertNotNull(HttpServletServer.factory.get(Util.GUARDSIM_SERVER_PORT));
+ assertNotNull(HttpServletServer.factory.get(Util.SDNCSIM_SERVER_PORT));
}
}