diff options
author | Stavros Kanarakis <stavros.kanarakis@nokia.com> | 2020-06-09 15:51:45 +0300 |
---|---|---|
committer | Stavros Kanarakis <stavros.kanarakis@nokia.com> | 2020-06-10 08:50:07 +0000 |
commit | e73dd94dfbf698e25cc2e331fbc57a13a277e683 (patch) | |
tree | e48fb46c9eb9fb73c0bfb3975559c004dae04e29 /policy/apex/NomadicONTPolicyModel_config.json | |
parent | c391088df82a68db96d24db5bf867dd540465ea5 (diff) |
Policy artifacts (Apex) for BBS use case in Frankfurt6.0.0-ONAPfrankfurt
Issue-ID: INT-1499
Signed-off-by: Stavros Kanarakis <stavros.kanarakis@nokia.com>
Change-Id: Ib40909ce11420b1d90a9c84ad66aaffbd18d487c
Diffstat (limited to 'policy/apex/NomadicONTPolicyModel_config.json')
-rw-r--r-- | policy/apex/NomadicONTPolicyModel_config.json | 103 |
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" + } + } + } + } +} |