aboutsummaryrefslogtreecommitdiffstats
path: root/policy/apex/NomadicONTPolicyModel_config.json
blob: 83fdbc809999d9f2a5ae46c562cc0fcc8e18dc77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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"
        }
      }
    }
  }
}