pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada, AT&T |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 15 | ############################################################################### |
| 16 | ## |
| 17 | ## Cambria API Server config |
| 18 | ## |
| 19 | ## - Default values are shown as commented settings. |
| 20 | ## |
| 21 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 22 | ############################################################################## |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 23 | ## |
| 24 | ## HTTP service |
| 25 | ## |
| 26 | ## - 3904 is standard as of 7/29/14. |
| 27 | # |
| 28 | ## Zookeeper Connection |
| 29 | ## |
| 30 | ## Both Cambria and Kafka make use of Zookeeper. |
| 31 | ## |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 32 | config.zk.servers={{.Values.zookeeper.nameOverride}}:{{.Values.config.zookeeperPort}} |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 33 | #config.zk.servers=172.17.0.1:2181 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 34 | #dmaap.onap-message-router:2181 |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 35 | #10.208.128.229:2181 |
| 36 | #config.zk.root=/fe3c/cambria/config |
| 37 | |
| 38 | |
| 39 | ############################################################################### |
| 40 | ## |
| 41 | ## Kafka Connection |
| 42 | ## |
| 43 | ## Items below are passed through to Kafka's producer and consumer |
| 44 | ## configurations (after removing "kafka.") |
| 45 | ## if you want to change request.required.acks it can take this one value |
| 46 | #kafka.metadata.broker.list=localhost:9092,localhost:9093 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 47 | kafka.metadata.broker.list={{.Values.kafka.nameOverride}}:{{.Values.config.kafkaPort}} |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 48 | #kafka.metadata.broker.list=172.17.0.1:9092 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 49 | #dmaap.onap-message-router:9092 |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 50 | #10.208.128.229:9092 |
| 51 | ##kafka.request.required.acks=-1 |
| 52 | #kafka.client.zookeeper=${config.zk.servers} |
| 53 | consumer.timeout.ms=100 |
| 54 | zookeeper.connection.timeout.ms=6000 |
| 55 | zookeeper.session.timeout.ms=6000 |
| 56 | zookeeper.sync.time.ms=2000 |
| 57 | auto.commit.interval.ms=1000 |
| 58 | fetch.message.max.bytes =1000000 |
| 59 | auto.commit.enable=false |
| 60 | |
| 61 | |
| 62 | ############################################################################### |
| 63 | ## |
| 64 | ## Secured Config |
| 65 | ## |
| 66 | ## Some data stored in the config system is sensitive -- API keys and secrets, |
| 67 | ## for example. to protect it, we use an encryption layer for this section |
| 68 | ## of the config. |
| 69 | ## |
| 70 | ## The key is a base64 encode AES key. This must be created/configured for |
| 71 | ## each installation. |
| 72 | #cambria.secureConfig.key= |
| 73 | ## |
| 74 | ## The initialization vector is a 16 byte value specific to the secured store. |
| 75 | ## This must be created/configured for each installation. |
| 76 | #cambria.secureConfig.iv= |
| 77 | |
| 78 | ## Southfield Sandbox |
| 79 | cambria.secureConfig.key=b/7ouTn9FfEw2PQwL0ov/Q== |
| 80 | cambria.secureConfig.iv=wR9xP5k5vbz/xD0LmtqQLw== |
| 81 | authentication.adminSecret=fe3cCompound |
| 82 | #cambria.secureConfig.key[pc569h]=YT3XPyxEmKCTLI2NK+Sjbw== |
| 83 | #cambria.secureConfig.iv[pc569h]=rMm2jhR3yVnU+u2V9Ugu3Q== |
| 84 | |
| 85 | |
| 86 | ############################################################################### |
| 87 | ## |
| 88 | ## Consumer Caching |
| 89 | ## |
| 90 | ## Kafka expects live connections from the consumer to the broker, which |
| 91 | ## obviously doesn't work over connectionless HTTP requests. The Cambria |
| 92 | ## server proxies HTTP requests into Kafka consumer sessions that are kept |
| 93 | ## around for later re-use. Not doing so is costly for setup per request, |
| 94 | ## which would substantially impact a high volume consumer's performance. |
| 95 | ## |
| 96 | ## This complicates Cambria server failover, because we often need server |
| 97 | ## A to close its connection before server B brings up the replacement. |
| 98 | ## |
| 99 | |
| 100 | ## The consumer cache is normally enabled. |
| 101 | #cambria.consumer.cache.enabled=true |
| 102 | |
| 103 | ## Cached consumers are cleaned up after a period of disuse. The server inspects |
| 104 | ## consumers every sweepFreqSeconds and will clean up any connections that are |
| 105 | ## dormant for touchFreqMs. |
| 106 | #cambria.consumer.cache.sweepFreqSeconds=15 |
| 107 | #cambria.consumer.cache.touchFreqMs=120000 |
| 108 | |
| 109 | ## The cache is managed through ZK. The default value for the ZK connection |
| 110 | ## string is the same as config.zk.servers. |
| 111 | #cambria.consumer.cache.zkConnect=${config.zk.servers} |
| 112 | |
| 113 | ## |
| 114 | ## Shared cache information is associated with this node's name. The default |
| 115 | ## name is the hostname plus the HTTP service port this host runs on. (The |
| 116 | ## hostname is determined via InetAddress.getLocalHost ().getCanonicalHostName(), |
| 117 | ## which is not always adequate.) You can set this value explicitly here. |
| 118 | ## |
| 119 | #cambria.api.node.identifier=<use-something-unique-to-this-instance> |
| 120 | |
| 121 | ############################################################################### |
| 122 | ## |
| 123 | ## Metrics Reporting |
| 124 | ## |
| 125 | ## This server can report its metrics periodically on a topic. |
| 126 | ## |
| 127 | #metrics.send.cambria.enabled=true |
| 128 | #metrics.send.cambria.topic=cambria.apinode.metrics #msgrtr.apinode.metrics.dmaap |
| 129 | #metrics.send.cambria.sendEverySeconds=60 |
| 130 | |
| 131 | cambria.consumer.cache.zkBasePath=/fe3c/cambria/consumerCache |
| 132 | |
| 133 | ############################################################################## |
| 134 | #100mb |
| 135 | maxcontentlength=10000 |
| 136 | |
| 137 | |
| 138 | ############################################################################## |
| 139 | #AAF Properties |
| 140 | msgRtr.namespace.aaf=org.openecomp.dcae.dmaap.mtnje2.mr.topic |
| 141 | msgRtr.topicfactory.aaf=org.openecomp.dcae.dmaap.topicFactory|:org.openecomp.dcae.dmaap.mtnje2.mr.topic: |
| 142 | enforced.topic.name.AAF=org.openecomp |
| 143 | forceAAF=false |
| 144 | transidUEBtopicreqd=false |
| 145 | defaultNSforUEB=org.openecomp.dmaap.mr.ueb |
| 146 | ############################################################################## |
| 147 | #Mirror Maker Agent |
| 148 | msgRtr.mirrormakeradmin.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|admin |
| 149 | msgRtr.mirrormakeruser.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|user |
| 150 | msgRtr.mirrormakeruser.aaf.create=org.openecomp.dmaap.mr.dev.topicFactory|:org.openecomp.dmaap.mr.dev.topic: |
| 151 | msgRtr.mirrormaker.timeout=15000 |
| 152 | msgRtr.mirrormaker.topic=org.openecomp.dmaap.mr.prod.mm.agent |
| 153 | msgRtr.mirrormaker.consumergroup=mmagentserver |
| 154 | msgRtr.mirrormaker.consumerid=1 |