From 63df1632614f9af1d2f026469adc65360b7b53d7 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Wed, 20 Mar 2019 08:17:58 -0400 Subject: Rework CDS chart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - use shared DB - remove unused properties Change-Id: I1b45f4046180167d47aa1a8db6f34a118ae64209 Issue-ID: OOM-1743 Signed-off-by: Alexis de Talhouët --- .../resources/config/application.properties | 37 +++++++++++++++------- 1 file changed, 25 insertions(+), 12 deletions(-) (limited to 'kubernetes/cds/charts/blueprints-processor/resources/config/application.properties') diff --git a/kubernetes/cds/charts/blueprints-processor/resources/config/application.properties b/kubernetes/cds/charts/blueprints-processor/resources/config/application.properties index 9d1c957b8f..c25176f971 100755 --- a/kubernetes/cds/charts/blueprints-processor/resources/config/application.properties +++ b/kubernetes/cds/charts/blueprints-processor/resources/config/application.properties @@ -11,18 +11,23 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -#logging.level.web=DEBUG -appName={{.Values.config.applicationName}} -ms_name={{.Values.config.msName}} -appVersion={{.Values.config.bundleVersion}} -blueprintsprocessor.grpcEnable={{.Values.config.grpcEnabled}} -blueprintsprocessor.httpPort={{.Values.service.http.internalPort}} -blueprintsprocessor.grpcPort={{.Values.service.grpc.internalPort}} -#Blueprint Processor File Execution and Handling Properties + +# Functionality config +blueprintsprocessor.grpcEnable=true +blueprintsprocessor.restconfEnabled=true +blueprintsprocessor.httpPort=8080 +blueprintsprocessor.grpcPort=9111 + +# Basic Authentication +security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu +security.user.name: ccsdkapps + +# Blueprint Processor File Execution and Handling Properties blueprintsprocessor.blueprintDeployPath=/opt/app/onap/blueprints/deploy blueprintsprocessor.blueprintArchivePath=/opt/app/onap/blueprints/archive -#Primary Database Configuration -blueprintsprocessor.db.primary.url=jdbc:mysql://blueprints-processor-db:3306/sdnctl + +# Primary Database Configuration +blueprintsprocessor.db.primary.url=jdbc:mysql://cds-db:3306/sdnctl blueprintsprocessor.db.primary.username=sdnctl blueprintsprocessor.db.primary.password=sdnctl blueprintsprocessor.db.primary.driverClassName=org.mariadb.jdbc.Driver @@ -30,5 +35,13 @@ blueprintsprocessor.db.primary.hibernateHbm2ddlAuto=update blueprintsprocessor.db.primary.hibernateDDLAuto=update blueprintsprocessor.db.primary.hibernateNamingStrategy=org.hibernate.cfg.ImprovedNamingStrategy blueprintsprocessor.db.primary.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect -# Web server config -server.port=8080 \ No newline at end of file + +# Python executor +blueprints.processor.functions.python.executor.executionPath=/opt/app/onap/scripts/jython/ccsdk_blueprints +blueprints.processor.functions.python.executor.modulePaths=/opt/app/onap/scripts/jython/ccsdk_blueprints,/opt/app/onap/scripts/jython/ccsdk_netconf + +# SDN-C's ODL Restconf Connection Details +blueprintsprocessor.restclient.sdncodl.type=basic-auth +blueprintsprocessor.restclient.sdncodl.url=http://sdnc:8282/ +blueprintsprocessor.restclient.sdncodl.username=admin +blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U \ No newline at end of file -- cgit 1.2.3-korg