mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
| 3 | # ================================================================================ |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | { |
| 19 | "engineServiceParameters": { |
| 20 | "name": "PolicyApexPDPEngine", |
| 21 | "version": "0.0.1", |
| 22 | "id": 45, |
| 23 | "instanceCount": 4, |
| 24 | "deploymentPort": 12345, |
| 25 | "engineParameters": { |
| 26 | "executorParameters": { |
| 27 | "JAVASCRIPT": { |
| 28 | "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters" |
| 29 | } |
| 30 | }, |
| 31 | "contextParameters": { |
| 32 | "parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters", |
| 33 | "schemaParameters": { |
| 34 | "Avro": { |
| 35 | "parameterClassName": "org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters" |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | }, |
| 41 | "eventInputParameters": { |
| 42 | "ApexConsumer": { |
| 43 | "carrierTechnologyParameters" : { |
| 44 | "carrierTechnology" : "RESTSERVER", |
| 45 | "parameterClassName" : |
| 46 | "org.onap.policy.apex.plugins.event.carrier.restserver.RESTServerCarrierTechnologyParameters", |
| 47 | "parameters" : { |
| 48 | "standalone" : true, |
| 49 | "host" : "localhost", |
| 50 | "port" : 12346 |
| 51 | } |
| 52 | }, |
| 53 | "eventProtocolParameters":{ |
| 54 | "eventProtocol" : "JSON" |
| 55 | }, |
| 56 | "synchronousMode" : true, |
| 57 | "synchronousPeer" : "ApexProducer", |
| 58 | "synchronousTimeout" : 500 |
| 59 | } |
| 60 | }, |
| 61 | "eventOutputParameters": { |
| 62 | "ApexProducer": { |
| 63 | "carrierTechnologyParameters":{ |
| 64 | "carrierTechnology" : "RESTSERVER", |
| 65 | "parameterClassName" : |
| 66 | "org.onap.policy.apex.plugins.event.carrier.restserver.RESTServerCarrierTechnologyParameters" |
| 67 | }, |
| 68 | "eventProtocolParameters":{ |
| 69 | "eventProtocol" : "JSON" |
| 70 | }, |
| 71 | "synchronousMode" : true, |
| 72 | "synchronousPeer" : "ApexConsumer", |
| 73 | "synchronousTimeout" : 500 |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | |