*/
import { Component, OnInit } from '@angular/core';
import * as JSZip from 'jszip';
-import { SortPipe } from '../../../../common/shared/pipes/sort.pipe';
-import { LoaderService } from '../../../../common/core/services/loader.service';
+import { SortPipe } from '../shared/pipes/sort.pipe';
+import { LoaderService } from '../core/services/loader.service';
@Component({
selector: 'app-zipfile-extraction',
import { TestTemplateModule } from './test-template/test-template.module';
import { AppMaterialModule } from '../../../app/common/modules/app-material.module';
import { ReactiveFormsModule } from '@angular/forms';
-import { ZipfileExtractionComponent } from './common-module/zipfile-extraction/zipfile-extraction.component';
@NgModule({
declarations: [
BlueprintComponent,
- ZipfileExtractionComponent
- ],
+ ],
imports: [
CommonModule,
BlueprintRoutingModule,
+++ /dev/null
-<!--
-============LICENSE_START==========================================
-===================================================================
-Copyright (C) 2019 IBM Intellectual Property. All rights reserved.
-===================================================================
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the License);
-you may not use this software except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-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.
-============LICENSE_END============================================
--->
\ No newline at end of file
+++ /dev/null
-/*
-============LICENSE_START==========================================
-===================================================================
-Copyright (C) 2019 IBM Intellectual Property. All rights reserved.
-===================================================================
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the License);
-you may not use this software except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-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.
-============LICENSE_END============================================
-*/
\ No newline at end of file
+++ /dev/null
-/*
-============LICENSE_START==========================================
-===================================================================
-Copyright (C) 2019 IBM Intellectual Property. All rights reserved.
-===================================================================
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the License);
-you may not use this software except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-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.
-============LICENSE_END============================================
-*/
-
-import { async, ComponentFixture, TestBed } from '@angular/core/testing';
-
-import { ZipfileExtractionComponent } from './zipfile-extraction.component';
-
-describe('ZipfileExtractionComponent', () => {
- let component: ZipfileExtractionComponent;
- let fixture: ComponentFixture<ZipfileExtractionComponent>;
-
- beforeEach(async(() => {
- TestBed.configureTestingModule({
- declarations: [ ZipfileExtractionComponent ]
- })
- .compileComponents();
- }));
-
- beforeEach(() => {
- fixture = TestBed.createComponent(ZipfileExtractionComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should create', () => {
- expect(component).toBeTruthy();
- });
-});
blueprintName: string;
uploadedFileName: string;
entryDefinition: string;
-
+ viewOnly: boolean = true;
+ options: string;
constructor(private formBuilder: FormBuilder, private store: Store<IAppState>,
private loader: LoaderService, private dataService: SelectTemplateService) {
this.bpState = this.store.select('blueprint');
ngOnInit() {
this.dataService.currentMessage.subscribe(
res => {
- let options = res;
- console.log(options + " data from service ngoninit" + res);
+ this.options = res;
+ // this.metdataFormfields(res);
}
);
-
this.bpState.subscribe(
blueprintdata => {
var blueprintState: IBlueprintState = { blueprint: blueprintdata.blueprint, isLoadSuccess: blueprintdata.isLoadSuccess, isSaveSuccess: blueprintdata.isSaveSuccess, isUpdateSuccess: blueprintdata.isUpdateSuccess };
}
let temp_author = metadatavalues[0];
console.log(temp_author);
+ if(this.options=='2'){
+ this.CBAMetadataForm = this.formBuilder.group({
+ template_author: ['', Validators.required],
+ author_email: ['', Validators.required],
+ user_groups: [metadatavalues[2], Validators.required],
+ template_name: ['', Validators.required],
+ template_version: ['', Validators.required],
+ template_tags: [metadatavalues[5], Validators.required]
+ });
+ }
+ else if(this.options=='3'){
+ this.CBAMetadataForm = this.formBuilder.group({
+ template_author: [metadatavalues[0]],
+ author_email: [metadatavalues[1]],
+ user_groups: [metadatavalues[2]],
+ template_name: [metadatavalues[3]],
+ template_version: [metadatavalues[4]],
+ template_tags: [metadatavalues[5]]
+ });
+ this.CBAMetadataForm.disable();
+ }
+ else{
this.CBAMetadataForm = this.formBuilder.group({
template_author: [metadatavalues[0], Validators.required],
author_email: [metadatavalues[1], Validators.required],
template_version: [metadatavalues[4], Validators.required],
template_tags: [metadatavalues[5], Validators.required]
});
+ }
+
})
+
+
}
-
+
+ metdataFormfields(options: string) {
+ if (options == '2') {
+ this.CBAMetadataForm.setValue({
+ template_author: ["", Validators.required],
+ author_email: ["", Validators.required],
+ template_name: ["", Validators.required],
+ template_version: ["1.0.0", Validators.required]
+
+ })
+ }
+ if (options == '3') {
+ this.CBAMetadataForm.disable();
+ }
+ }
+
UploadMetadata() {
this.loader.showLoader();
this.metadata = Object.assign({}, this.CBAMetadataForm.value);
this.blueprint.metadata = this.metadata;
- /*if (this.blueprint &&
- this.blueprint['topology_template'] &&
- this.blueprint['topology_template'].workflows &&
- this.blueprint['topology_template'].workflows['resource-assignment'] &&
- this.blueprint['topology_template'].workflows['resource-assignment'].name) {
- delete this.blueprint['topology_template'].workflows['resource-assignment'].name;
- }*/
this.filesData.forEach((fileNode) => {
if (fileNode.name.includes(this.blueprintName) && fileNode.name == this.entryDefinition) {
- fileNode.data = JSON.stringify(this.blueprint, null, "\t");
+ let tempNodeData = JSON.parse(fileNode.data);
+ tempNodeData.metadata = this.blueprint.metadata;
+ fileNode.data = JSON.stringify(tempNodeData, null, "\t");
}
});
let blueprintState = {
"input" : {
"type" : "source-input"
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"input" : {
"type" : "source-input"
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"input" : {
"type" : "source-input"
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"input" : {
"type" : "source-input"
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"input" : {
"type" : "source-input"
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "source-input",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "source-input",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
},
"updated-by" : "Singal, Kapil <ks220y@att.com>",
"sources" : {
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "source-input",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "source-input",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "source-input",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
},
"input-param": false,
"dictionary-name": "vnf-name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf-name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "image_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "key_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pub_key",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_subnet_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf-name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "image_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "key_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pub_key",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_subnet_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vfw_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vsn_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vpg_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf-name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "image_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "key_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pub_key",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_subnet_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vfw_private_ip_1",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
},
"updated-by" : "Singal, Kapil <ks220y@att.com>",
"sources" : {
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
}
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"input-key-mapping" : { }
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
}
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
"type" : "source-default",
"properties" : { }
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"verb" : "GET",
},
"input-param": false,
"dictionary-name": "vf-naming-policy",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pktgen_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pub_key",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "key_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},\r
"input-param": false,\r
"dictionary-name": "vdns_vf_module_id",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id"\r
},\r
"input-param": false,\r
"dictionary-name": "vdns_int_private_ip_0",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id",\r
},\r
"input-param": false,\r
"dictionary-name": "vdns_onap_private_ip_0",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id",\r
},\r
"input-param": false,\r
"dictionary-name": "vdns_vf_module_id",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id"\r
},\r
"input-param": false,\r
"dictionary-name": "vdns_int_private_ip_0",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id",\r
},\r
"input-param": false,\r
"dictionary-name": "vdns_onap_private_ip_0",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id",\r
},\r
"input-param": false,\r
"dictionary-name": "vlb_onap_private_ip_0",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id",\r
"vnf-id"\r
},
"input-param": false,
"dictionary-name": "cloud_env",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "create-md-sal-vnf-param",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id",
},
"input-param": false,
"dictionary-name": "onap_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "install_script_version",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_subnet_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "public_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "sec_group",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vf-naming-policy",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_int_pktgen_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_int_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_onap_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "image_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vpg_int_pktgen_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "demo_artifacts_version",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "install_script_version",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_subnet_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pktgen_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "public_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "sec_group",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vf-naming-policy",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "image_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_int_pktgen_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_int_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_onap_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vpg_onap_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "demo_artifacts_version",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "install_script_version",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "onap_private_subnet_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pktgen_private_net_cidr",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "public_net_id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "pub_key",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "key_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "sec_group",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vf-naming-policy",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "image_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vlb_int_pktgen_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vnf_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vpg_int_pktgen_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"input-param": false,
"dictionary-name": "vpg_onap_private_ip_0",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
"type": "string"
},
"dictionary-name": "vnf_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
"type": "string"
},
"dictionary-name": "vnf_name",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"service-instance-id",
"vnf-id"
},
"updated-by": "Singal, Kapil <ks220y@att.com>",
"sources": {
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"verb": "GET",
-blueprintsprocessor.restclient.config-data.type=basic-auth
-blueprintsprocessor.restclient.config-data.url=http://127.0.0.1:9111
-blueprintsprocessor.restclient.config-data.userId=sampleuser
-blueprintsprocessor.restclient.config-data.token=sampletoken
+blueprintsprocessor.restclient.sdnc.type=basic-auth
+blueprintsprocessor.restclient.sdnc.url=http://127.0.0.1:9111
+blueprintsprocessor.restclient.sdnc.userId=sampleuser
+blueprintsprocessor.restclient.sdnc.token=sampletoken
-blueprintsprocessor.restclient.config-data1.type=basic-auth
-blueprintsprocessor.restclient.config-data1.url=http://127.0.0.1:9111
-blueprintsprocessor.restclient.config-data1.userId=sampleuser
-blueprintsprocessor.restclient.config-data1.token=sampletoken
+blueprintsprocessor.restclient.sdnc1.type=basic-auth
+blueprintsprocessor.restclient.sdnc1.url=http://127.0.0.1:9111
+blueprintsprocessor.restclient.sdnc1.userId=sampleuser
+blueprintsprocessor.restclient.sdnc1.token=sampletoken
},
"updated-by" : "adetalhouet",
"sources" : {
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
}
}
}
-}
\ No newline at end of file
+}
"type": "dt-netbox-ip"
},
"dictionary-name": "create_netbox_ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"prefix-id"
]
"type": "dt-netbox-ip"
},
"dictionary-name": "create_netbox_ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"prefix-id"
]
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
},
"updated-by" : "adetalhouet",
"sources" : {
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
},
"updated-by": "adetalhouet",
"sources": {
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"input": {
"type": "source-input"
},
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"input": {
"type": "source-input"
},
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
},
"updated-by": "brindasanth@onap.com",
"sources": {
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
},\r
"updated-by": "brindasanth@onap.com",\r
"sources": {\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
},\r
"updated-by": "brindasanth@onap.com",\r
"sources": {\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"properties" : {
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"properties" : {
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"properties": {
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"type": "source-default",\r
"properties": {}\r
},\r
- "config-data": {\r
+ "sdnc": {\r
"type": "source-rest",\r
"properties": {\r
"type": "JSON",\r
"properties" : {
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"properties" : {
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
},
"updated-by" : "adetalhouet",
"sources" : {
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
},
"updated-by": "adetalhouet",
"sources": {
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
device_response = self.netconf_rpc_client.discardConfig()
return device_response
- def set_execution_attribute_response_data(self, response_data):
- self.setAttribute(ATTRIBUTE_RESPONSE_DATA, response_data)
-
def get(self, filter_content):
device_response = self.netconf_rpc_client.get(filter_content)
return device_response
### START -Controller Blueprints Properties
# Load Resource Source Mappings
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability
# Controller Blueprints Core Configuration
controllerblueprints.blueprintDeployPath=blueprints/deploy
# Web server config
### START -Controller Blueprints Properties
# Load Resource Source Mappings
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability
# Controller Blueprints Core Configuration
controllerblueprints.blueprintDeployPath=/opt/app/onap/blueprints/deploy
# Primary Config Data REST client settings
-blueprintsprocessor.restclient.config-data.type=basic-auth
-blueprintsprocessor.restclient.config-data.url=http://sdnc:8282
-blueprintsprocessor.restclient.config-data.username=admin
-blueprintsprocessor.restclient.config-data.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+blueprintsprocessor.restclient.sdnc.type=basic-auth
+blueprintsprocessor.restclient.sdnc.url=http://sdnc:8282
+blueprintsprocessor.restclient.sdnc.username=admin
+blueprintsprocessor.restclient.sdnc.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
# Primary AAI Data REST Client settings
blueprintsprocessor.restclient.aai-data.type=basic-auth
server.port=8080
### START -Controller Blueprints Properties
# Load Resource Source Mappings
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability
# Controller Blueprints Core Configuration
controllerblueprints.blueprintDeployPath=/opt/app/onap/blueprints/deploy
val resourceAssignment = ResourceAssignment().apply {
name = "rr-name"
dictionaryName = "vnf_name"
- dictionarySource = "config-data"
+ dictionarySource = "sdnc"
property = PropertyDefinition().apply {
type = "string"
}
blueprints.processor.functions.python.executor.executionPath=./../../../../components/scripts/python/ccsdk_blueprints
blueprints.processor.functions.python.executor.modulePaths=./../../../../components/scripts/python/ccsdk_blueprints
-blueprintsprocessor.restclient.config-data.type=basic-auth
-blueprintsprocessor.restclient.config-data.url=http://127.0.0.1:9911
-blueprintsprocessor.restclient.config-data.username=sampleuser
-blueprintsprocessor.restclient.config-data.password=sampletoken
+blueprintsprocessor.restclient.sdnc.type=basic-auth
+blueprintsprocessor.restclient.sdnc.url=http://127.0.0.1:9911
+blueprintsprocessor.restclient.sdnc.username=sampleuser
+blueprintsprocessor.restclient.sdnc.password=sampletoken
blueprintsprocessor.restclient.aai-data.type=basic-auth
blueprintsprocessor.restclient.aai-data.url=http://127.0.0.1:30800
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# Load Resource Source Mappings
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability
# Controller Blueprints Core Configuration
controllerblueprints.blueprintDeployPath=blueprints/deploy
controllerblueprints.blueprintArchivePath=blueprints/archive
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# Load Resource Source Mappings
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability
# Controller Blueprints Core Configuration
controllerblueprints.blueprintDeployPath=/etc/blueprints/deploy
swagger.contact.email=brindasanth@onap.com\r
\r
# Load Resource Source Mappings\r
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability\r
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability\r
\r
# Controller Blueprints Core Configuration\r
controllerblueprints.blueprintDeployPath=./target/blueprints/deploy\r
}
}
},
- "config-data": {
+ "sdnc": {
"type": "object",
"properties": {
"path": {
}
}
},
- "config-data": {
+ "sdnc": {
"type": "object",
"properties": {
"names": {
},
"updated-by": "brindasanth@onap.com",
"sources": {
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
"key" : "vfw_private_ip_0"
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"key" : "vfw_private_ip_1"
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"type" : "string"
},
"sources" : {
- "config-data": {
+ "sdnc": {
"type": "source-rest",
"properties": {
"type": "JSON",
"type" : "string"
},
"sources" : {
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"key" : "vpg_private_ip_0"
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
"key" : "vsn_private_ip_0"
}
},
- "config-data" : {
+ "sdnc" : {
"type" : "source-rest",
"properties" : {
"type" : "JSON",
ResourceSourceMappingFactory.INSTANCE.registerSourceMapping("processor-db", "source-db");
ResourceSourceMappingFactory.INSTANCE.registerSourceMapping("input", "source-input");
ResourceSourceMappingFactory.INSTANCE.registerSourceMapping("default", "source-default");
- ResourceSourceMappingFactory.INSTANCE.registerSourceMapping("config-data", "source-rest");
+ ResourceSourceMappingFactory.INSTANCE.registerSourceMapping("sdnc", "source-rest");
ResourceSourceMappingFactory.INSTANCE.registerSourceMapping("aai-data", "source-rest");
String nodeTypeName = ResourceSourceMappingFactory.INSTANCE.getRegisterSourceMapping("processor-db");
ResourceSourceMappingFactory.registerSourceMapping("processor-db", "source-db")
ResourceSourceMappingFactory.registerSourceMapping("input", "source-input")
ResourceSourceMappingFactory.registerSourceMapping("default", "source-default")
- ResourceSourceMappingFactory.registerSourceMapping("config-data", "source-rest")
+ ResourceSourceMappingFactory.registerSourceMapping("sdnc", "source-rest")
ResourceSourceMappingFactory.registerSourceMapping("aai-data", "source-rest")
}
}
"required": true
},
"dictionary-name": "bundle-id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id"
]
"required": true
},
"dictionary-name": "bundle-ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id"
]
"type": "string"
},
"dictionary-name": "bundle-mac",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id",
"bundle-id"
"type": "string"
},
"dictionary-name": "managed-ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"loopback-ip"
]
"type": "string"
},
"dictionary-name": "managed-ip1",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"loopback-ip"
]
"required": true
},
"dictionary-name": "bundle-id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id"
]
"required": true
},
"dictionary-name": "bundle-ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id"
]
"type": "string"
},
"dictionary-name": "bundle-mac",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id",
"bundle-id"
"type": "string"
},
"dictionary-name": "bundle-mac",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"loopback-ip"
]
"type": "string"
},
"dictionary-name": "managed-ip1",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"loopback-ip"
]
"required": true
},
"dictionary-name": "bundle-id",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id"
]
"required": true
},
"dictionary-name": "bundle-ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id"
]
"type": "string"
},
"dictionary-name": "bundle-mac",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"vnf-id",
"bundle-id"
"type": "string"
},
"dictionary-name": "managed-ip",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"loopback-ip"
]
"type": "string"
},
"dictionary-name": "managed-ip1",
- "dictionary-source": "config-data",
+ "dictionary-source": "sdnc",
"dependencies": [
"loopback-ip"
]
logging.level.org.hibernate.SQL=warn
logging.level.org.hibernate.type.descriptor.sql=debug
# Load Resource Source Mappings
-resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,config-data=source-rest,aai-data=source-rest,capability=source-capability
+resourceSourceMappings=processor-db=source-db,input=source-input,default=source-default,sdnc=source-rest,aai-data=source-rest,capability=source-capability
# Controller Blueprints Core Configuration
controllerblueprints.blueprintDeployPath=./target/blueprints/deploy
controllerblueprints.blueprintArchivePath=./target/blueprints/archive
"required": true\r
},\r
"dictionary-name": "sample-mdsal-source",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": []\r
}\r
]\r
},\r
"input-param": false,\r
"dictionary-name": "sample-mdsal-source",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id"\r
],\r
},\r
"input-param": false,\r
"dictionary-name": "sample-licenses",\r
- "dictionary-source": "config-data",\r
+ "dictionary-source": "sdnc",\r
"dependencies": [\r
"service-instance-id"\r
],\r
},
"input-param" : false,
"dictionary-name" : "sample-mdsal-source",
- "dictionary-source" : "config-data",
+ "dictionary-source" : "sdnc",
"dependencies" : [ "service-instance-id" ],
"version" : 0
}, {
},
"input-param" : false,
"dictionary-name" : "sample-licenses",
- "dictionary-source" : "config-data",
+ "dictionary-source" : "sdnc",
"dependencies" : [ "service-instance-id" ],
"version" : 0
}, {