tragait | 9bbcb1b | 2020-02-24 16:33:50 +0000 | [diff] [blame] | 1 | # Web server config |
| 2 | ### START -Controller Blueprints Properties |
| 3 | # Load Resource Source Mappings |
| 4 | resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability,rest=source-rest,vault-data=source-rest,script=source-capability |
| 5 | |
| 6 | # Controller Blueprints Core Configuration |
| 7 | blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy |
| 8 | blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive |
| 9 | blueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/working |
| 10 | |
| 11 | # Controller Blueprint Load Configurations |
| 12 | blueprintsprocessor.loadBluePrintPaths=/opt/app/onap/model-catalog/blueprint-model |
| 13 | blueprintsprocessor.loadModeTypePaths=/opt/app/onap/model-catalog/definition-type |
| 14 | blueprintsprocessor.loadResourceDictionaryPaths=/opt/app/onap/model-catalog/resource-dictionary |
| 15 | |
| 16 | # CBA file extension |
| 17 | controllerblueprints.loadCbaExtension=zip |
| 18 | |
| 19 | ### END -Controller Blueprints Properties |
| 20 | |
| 21 | blueprintsprocessor.grpcEnable=true |
| 22 | blueprintsprocessor.httpPort=8080 |
| 23 | blueprintsprocessor.grpcPort=9111 |
| 24 | |
| 25 | # db |
| 26 | blueprintsprocessor.db.url=jdbc:mysql://db:3306/sdnctl |
| 27 | blueprintsprocessor.db.username=sdnctl |
| 28 | blueprintsprocessor.db.password=sdnctl |
| 29 | blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver |
| 30 | blueprintsprocessor.db.hibernateHbm2ddlAuto=update |
| 31 | blueprintsprocessor.db.hibernateDDLAuto=update |
| 32 | blueprintsprocessor.db.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy |
| 33 | blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect |
| 34 | |
| 35 | # processor-db endpoint |
| 36 | blueprintsprocessor.db.processor-db.type=maria-db |
| 37 | blueprintsprocessor.db.processor-db.url=jdbc:mysql://mariadb-galera:3306/sdnctl |
| 38 | blueprintsprocessor.db.processor-db.username=root |
| 39 | blueprintsprocessor.db.processor-db.password=secretpassword |
| 40 | |
| 41 | # Python executor |
| 42 | blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints |
| 43 | blueprints.processor.functions.python.executor.modulePaths=/opt/app/onap/scripts/jython/ccsdk_blueprints,/opt/app/onap/scripts/jython/ccsdk_netconf,/opt/app/onap/scripts/jython/ccsdk_restconf |
| 44 | |
| 45 | security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu |
| 46 | security.user.name: ccsdkapps |
| 47 | |
| 48 | # Used in Health Check |
| 49 | #endpoints.user.name=ccsdkapps |
| 50 | #endpoints.user.password=ccsdkapps |
| 51 | |
| 52 | # Executor Options |
| 53 | blueprintsprocessor.resourceResolution.enabled=true |
| 54 | blueprintsprocessor.netconfExecutor.enabled=true |
| 55 | blueprintsprocessor.restConfExecutor.enabled=true |
| 56 | blueprintsprocessor.cliExecutor.enabled=true |
| 57 | blueprintsprocessor.remoteScriptCommand.enabled=true |
| 58 | |
| 59 | # Command executor |
| 60 | blueprintsprocessor.grpcclient.remote-python.type=token-auth |
| 61 | blueprintsprocessor.grpcclient.remote-python.host=localhost |
| 62 | blueprintsprocessor.grpcclient.remote-python.port=50051 |
| 63 | blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
| 64 | |
| 65 | # Py executor |
| 66 | blueprintsprocessor.grpcclient.py-executor.type=tls-auth |
| 67 | blueprintsprocessor.grpcclient.py-executor.host=py-executor-default:50052 |
| 68 | blueprintsprocessor.grpcclient.py-executor.trustCertCollection=/opt/app/onap/config/certs/py-executor/py-executor-chain.pem |
| 69 | |
| 70 | # Config Data REST client settings |
| 71 | blueprintsprocessor.restconfEnabled=true |
| 72 | blueprintsprocessor.restclient.sdnc.type=basic-auth |
| 73 | blueprintsprocessor.restclient.sdnc.url=http://sdnc:8282 |
| 74 | blueprintsprocessor.restclient.sdnc.username=admin |
| 75 | blueprintsprocessor.restclient.sdnc.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 76 | |
| 77 | # Primary AAI Data REST Client settings |
| 78 | blueprintsprocessor.restclient.aai-data.type=basic-auth |
| 79 | blueprintsprocessor.restclient.aai-data.url=https://aai-simulator:9993 |
| 80 | blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org |
| 81 | blueprintsprocessor.restclient.aai-data.password=demo123456! |
| 82 | blueprintsprocessor.restclient.aai-data.additionalHeaders.X-TransactionId=cds-transaction-id |
| 83 | blueprintsprocessor.restclient.aai-data.additionalHeaders.X-FromAppId=cds-app-id |
| 84 | blueprintsprocessor.restclient.aai-data.additionalHeaders.Accept=application/json |
| 85 | |
| 86 | # Kafka-message-lib Configuration |
| 87 | blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false |
| 88 | blueprintsprocessor.messageconsumer.self-service-api.type=kafka-basic-auth |
| 89 | blueprintsprocessor.messageconsumer.self-service-api.bootstrapServers=127.0.0.1:9092 |
| 90 | blueprintsprocessor.messageconsumer.self-service-api.topic=receiver.t |
| 91 | blueprintsprocessor.messageconsumer.self-service-api.groupId=receiver-id |
| 92 | blueprintsprocessor.messageconsumer.self-service-api.clientId=default-client-id |
| 93 | blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000 |
| 94 | |
| 95 | blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth |
| 96 | blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=127.0.0.1:9092 |
| 97 | blueprintsprocessor.messageproducer.self-service-api.clientId=default-client-id |
| 98 | blueprintsprocessor.messageproducer.self-service-api.topic=producer.t |
| 99 | |
| 100 | |
| 101 | blueprintprocessor.remoteScriptCommand.enabled=true |
| 102 | |
| 103 | #Encrypted username and password for health check service |
| 104 | endpoints.user.name=eHbVUbJAj4AG2522cSbrOQ== |
| 105 | endpoints.user.password=eHbVUbJAj4AG2522cSbrOQ== |
| 106 | |
| 107 | #BaseUrls for health check blueprint processor services |
| 108 | blueprintprocessor.healthcheck.baseUrl=http://localhost:8080/ |
| 109 | blueprintprocessor.healthcheck.mapping-service-name-with-service-link=[Execution service,/api/v1/execution-service/health-check],[Resources service,/api/v1/resources/health-check],[Template service,/api/v1/template/health-check] |
| 110 | |
| 111 | #BaseUrls for health check Cds Listener services |
| 112 | cdslistener.healthcheck.baseUrl=http://cds-sdc-listener:8080/ |
| 113 | cdslistener.healthcheck.mapping-service-name-with-service-link=[SDC Listener service,/api/v1/sdclistener/healthcheck] |
| 114 | |
| 115 | #Actuator properties |
| 116 | management.endpoints.web.exposure.include=* |
| 117 | management.endpoint.health.show-details=always |
| 118 | management.info.git.mode=full |
| 119 | |
| 120 | # Error Managements |
| 121 | error.catalog.applicationId=cds |
| 122 | error.catalog.type=properties |
| 123 | error.catalog.errorDefinitionDir=/opt/app/onap/config/ |