Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / policy / components / policy-apex-pdp / resources / config / config.json
1 {{/*
2 #  ============LICENSE_START=======================================================
3 #   Copyright (C) 2018 Ericsson. All rights reserved.
4 #  ================================================================================
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #  Unless required by applicable law or agreed to in writing, software
12 #  distributed under the License is distributed on an "AS IS" BASIS,
13 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #  See the License for the specific language governing permissions and
15 #  limitations under the License.
16 #
17 #  SPDX-License-Identifier: Apache-2.0
18 #  ============LICENSE_END=========================================================
19 */}}
20 {
21   "javaProperties" : [
22     ["javax.net.ssl.trustStore", "/opt/app/policy/apex-pdp/etc/ssl/policy-truststore"],
23     ["javax.net.ssl.trustStorePassword", "${TRUSTSTORE_PASSWORD_BASE64}"]
24   ],
25   "engineServiceParameters": {
26     "name": "MyApexEngine",
27     "version": "0.0.1",
28     "id": 45,
29     "instanceCount": 4,
30     "deploymentPort": 12345,
31     "policyModelFileName": "examples/models/SampleDomain/SamplePolicyModelJAVASCRIPT.json",
32     "engineParameters": {
33       "executorParameters": {
34         "JAVASCRIPT": {
35           "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
36         }
37       }
38     }
39   },
40   "eventOutputParameters": {
41     "FirstProducer": {
42       "carrierTechnologyParameters": {
43         "carrierTechnology": "FILE",
44         "parameters": {
45           "standardIo": true
46         }
47       },
48       "eventProtocolParameters": {
49         "eventProtocol": "JSON"
50       }
51     }
52   },
53   "eventInputParameters": {
54     "FirstConsumer": {
55       "carrierTechnologyParameters": {
56         "carrierTechnology": "FILE",
57         "parameters": {
58           "standardIo": true
59         }
60       },
61       "eventProtocolParameters": {
62         "eventProtocol": "JSON"
63       }
64     }
65   }
66 }