...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
-DappName=ControllerBluePrints -Dms_name=org.onap.ccsdk.apps.controllerblueprints -DappVersion=1.0.0 -Dspring.config.location=opt/app/onap/config/ -Dspring.datasource.url=jdbc:mysql://127.0.0.1:3306/sdnctl -Dspring.datasource.username=sdnctl -Dspring.datasource.password=sdnctl -Dcontrollerblueprints.loadInitialData=true -Dblueprintsprocessor.restclient.sdncodl.url=http://localhost:8282/ -Dblueprintsprocessor.db.primary.url=jdbc:mysql://localhost:3306/sdnctl -Dblueprintsprocessor.db.primary.username=sdnctl -Dblueprintsprocessor.db.primary.password=sdnctl -Dblueprintsprocessor.db.primary.driverClassName=org.mariadb.jdbc.Driver -Dblueprintsprocessor.db.primary.hibernateHbm2ddlAuto=update -Dblueprintsprocessor.db.primary.hibernateDDLAuto=none -Dblueprintsprocessor.db.primary.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy -Dblueprintsprocessor.db.primary.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect -Dblueprints.processor.functions.python.executor.executionPath=./components/scripts/python/ccsdk_blueprints -Dblueprints.processor.functions.python.executor.modulePaths=./components/scripts/python/ccsdk_blueprints,./components/scripts/python/ccsdk_netconf,./components/scripts/python/ccsdk_restconf -Dblueprintsprocessor.restconfEnabled=true -Dblueprintsprocessor.restclient.sdncodl.type=basic-auth -Dblueprintsprocessor.restclient.sdncodl.url=http://localhost:8282/ -Dblueprintsprocessor.restclient.sdncodl.username=admin -Dblueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U -Dblueprintsprocessor.grpcEnable=false -Dblueprintsprocessor.grpcPort=9111 -Dblueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy -Dblueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive -Dblueprintsprocessor.blueprintWorkingPath=/opt/app/onap/blueprints/work -Dsecurity.user.password={bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu -Dsecurity.user.name=ccsdkapps -Dspring.profiles.active=dev -Dblueprintsprocessor.httpPort=8080 -Dserver.port=55555 |
Add the following to application-dev.properties file:
blueprintsprocessor.grpcclient.remote-python.type=token-auth blueprintsprocessor.grpcclient.remote-python.host=localhost blueprintsprocessor.grpcclient.remote-python.port=50051 blueprintsprocessor.grpcclient.remote-python.token=Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
---|
Run the application
Select either run or debug for this Run Configuration to start the Blueprints Processor:
...