summaryrefslogtreecommitdiffstats
path: root/policy/apex/NomadicONTPolicyModel_config.json
diff options
context:
space:
mode:
Diffstat (limited to 'policy/apex/NomadicONTPolicyModel_config.json')
-rw-r--r--policy/apex/NomadicONTPolicyModel_config.json103
1 files changed, 103 insertions, 0 deletions
diff --git a/policy/apex/NomadicONTPolicyModel_config.json b/policy/apex/NomadicONTPolicyModel_config.json
new file mode 100644
index 0000000..83fdbc8
--- /dev/null
+++ b/policy/apex/NomadicONTPolicyModel_config.json
@@ -0,0 +1,103 @@
+{
+ "engineServiceParameters": {
+ "name": "NomadicONTPolicyModelEngine",
+ "version": "0.0.1",
+ "id": 101,
+ "instanceCount": 4,
+ "deploymentPort": 12345,
+ "engineParameters": {
+ "executorParameters": {
+ "MVEL": {
+ "parameterClassName": "org.onap.policy.apex.plugins.executor.mvel.MvelExecutorParameters"
+ },
+ "JAVASCRIPT": {
+ "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
+ }
+ },
+ "taskParameters": [
+ {
+ "key": "AAI_URL",
+ "value": "aai:8443"
+ },
+ {
+ "key": "AAI_USERNAME",
+ "value": "AAI"
+ },
+ {
+ "key": "AAI_PASSWORD",
+ "value": "AAI"
+ },
+ {
+ "key": "AAI_VERSION",
+ "value": "v16"
+ },
+ {
+ "key": "SDNC_URL",
+ "value": "sdnc:8443"
+ },
+ {
+ "key": "SDNC_USERNAME",
+ "value": "admin"
+ },
+ {
+ "key": "SDNC_PASSWORD",
+ "value": "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
+ },
+ {
+ "key": "SVC_NOTIFICATION_URL",
+ "value": "http://c1.vm1.mso.simpledemo.openecomp.org:8080"
+ }
+ ],
+ "contextParameters": {
+ "parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters",
+ "schemaParameters": {
+ "Avro": {
+ "parameterClassName": "org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"
+ },
+ "Java": {
+ "parameterClassName": "org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters",
+ "jsonAdapters": {
+ "Instant": {
+ "adaptedClass": "java.time.Instant",
+ "adaptorClass": "org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "eventOutputParameters": {
+ "FirstProducer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "FILE",
+ "parameters": {
+ "standardIo": true
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON"
+ }
+ }
+ },
+ "eventInputParameters": {
+ "DCAEConsumer": {
+ "carrierTechnologyParameters": {
+ "carrierTechnology": "RESTCLIENT",
+ "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
+ "parameters": {
+ "url": "http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT/g1/c1?timeout=60000"
+ }
+ },
+ "eventProtocolParameters": {
+ "eventProtocol": "JSON",
+ "parameters": {
+ "nameAlias": "policyName",
+ "versionAlias": "version",
+ "sourceAlias": "from",
+ "pojoField": "VirtualControlLoopEvent"
+ }
+ }
+ }
+ }
+}