aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog
AgeCommit message (Collapse)AuthorFilesLines
2020-08-24Add request IDs in command-executor logJulien Fontaine1-0/+4
* Update gRPC interface to handle SubRequestID and Originator ID * Update command-executor log format to handle request IDs in the log statement * Add SubRequest ID and Originator ID in BP log statement Issue-ID: CCSDK-2687 Change-Id: If261bb0912df5800ed2fc65371c5ee784d6a45fb Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
2020-08-17Fixing and Refactoring PomSingal, Kapil (ks220y)3-35/+51
Changing parent reference to avoid relative path issue and adding copyright header to new pom Issue-ID: CCSDK-2642 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ibd6a6867eea9849cc1ddc37e9accdba6b4ddca09
2020-08-11Add test-blueprint-kotlin-parentJozsef Csongvai8-92/+469
This parent project is intended for inheritence in CBA pom.xml. It provides dependencies for testing and mocking kotlin scripts. By turning a CBA into a maven project which inherits this parent, users will be able to debug and unit test their kotlin scripts. The parent also includes a profile (-Pdeploy-cba) which will enrich and publish the CBA to a running instance of CDS, defined by properties in the CBA pom.xml. This patch also adds a common assembly descriptor for resuse in maven-assembly-plugin where it is used to package CBA into zip. Issue-ID: CCSDK-2642 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I160c3c3e982ad4ed46f0704d6dc27dadfb0dfdc8
2020-07-24remote-python-executor was missing timeout inputsOleg Mitsura1-0/+12
Was present in 'elalto', wasn't merged to frankfurt/master Issue-ID: CCSDK-2608 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I414a400cf5228c8bff93517532607092103a6980
2020-06-09Add ResourceResolutionResult to ResourceResolutionServiceJozsef Csongvai1-0/+15
In order to ensure consistent behavior for assignment-map, supporting occurences and multiple artifact-prefixes, ResourceResolutionService needs to return assignment-map alongside generated template content. Issue-ID: CCSDK-2389 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I54c1991d23d65217f3492b08a2170a6d41b6482d
2020-06-05Data dictionary fixes and improvements from vFW CNF demoSamuli Silvius29-170/+71
During doing vFW CNF use case CBA model with CDS (See INT-1260) found some diff/improvements to update to CDS starter dictionary. Issue-ID: CCSDK-2408 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I8e899b3ab34bcd499e917da318f589e69008dc6d
2020-05-27Update Data DefinitionsAbdelmuhaimen Seaudi64-2165/+2742
Issue-ID: CCSDK-2382 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ie6d9970e9148422e187f2594c9d9deee0cf01d3e
2020-05-27Fix sub-attribute parsing for accessing resolved valuesJozsef Csongvai1-0/+10
Added assignment-map attribute to ResourceResolutionComponent. This attribute will hold a json object with the resolved values for each artifact-prefix. It will enable accessing any resolved value, using get_attribute with JsonPath. Issue-ID: CCSDK-2389 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I3441569d9766fbd79703d2f224de448edd56dbb2
2020-05-17update vlb cds instantiation and scale out packageAbdelmuhaimen Seaudi24-7758/+8051
Issue-ID: CCSDK-2376 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I307ed09b73487e8c830eadf26b477601b0a0d6f4
2020-04-09Remove unneeded backup filesDan Timoney4-204/+0
Remove unneeded backup files created by updParentVersion script Issue-ID: CCSDK-2308 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8d76b8ee3ccb2dbe563f22aadf1125f8226a104f
2020-04-07Roll to next Guilin snapshotDan Timoney8-6/+214
Roll to next Guilin snapshot release Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1a5ea68da8821ffe28ac84e60177af05e26b3585
2020-03-30Roll to next Frankfurt snapshot and fix sonar buildDan Timoney4-6/+6
Roll to next Frankfurt snapshot. Also, fixed config to skip sonar for error-catalog, which has no scannable components. Sonar builds were failing because error-catalog does not have standard maven source and test directories (src/main, src/test) Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iacb76b240e71206de8306af7e2447eaa07b0d33b
2020-03-18Use released parent pomsDan Timoney1-1/+0
Use released version of parent poms Issue-ID: CCSDK-2166 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ib45fc3134e2ba0e97908d9efa12e3cbec265b381
2020-03-04Fix case for all Software upgrade actionsgummar4-43/+53
Issue-ID: CCSDK-2145 Signed-off-by: gummar <raj.gumma@est.tech> Change-Id: Ic29056d100ffba9d6d1c2a6b3f73d6a95f3bee28
2020-03-03Fix case for all Software upgrade actionsgummar4-79/+79
Issue-ID: CCSDK-2145 Signed-off-by: gummar <raj.gumma@est.tech> Change-Id: Ie2a6b6c72997be65ac304f6cd1daac3a8aa85480
2020-02-26Merge SW Upgrade Blueprint into PNF_AAI and create one UAT BP for PNFgummar29-325/+1183
UAT: Add support to multiple responses for a single request Set property IN_UAT=1 during UAT execution so blueprints can tune their settings to values more suitable for testing (like timeouts) Add 'times' field to specify expected number of invocations Add UAT blueprint script for PNF SW Upgrade UC Add current thread check for Hazelcast distributed lock Resolve URI before returning Issue-ID: CCSDK-2091 Change-Id: Id256bad043488f88f1b60015ebf9ade4be607fa2 Signed-off-by: gummar <raj.gumma@est.tech>
2020-02-25Fix Sonar Jenkins jobDan Timoney1-0/+4
Updated pom.xmls of modules that do not contain 'src/main' directory to skip Sonar scan. This allows Sonar scan to complete for the rest of CDS. Need to revisit these modules to see whether they should really be skipped or if sonar properties (e.g. sonar.sources) should instead be tailored. Issue-ID: CCSDK-2116 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8b0237886e357a0188633f007dc97cf6e725fa53
2020-02-21Eliminate Template RequirementJozsef Csongvai3-0/+45
Enables resource assignment without the use of a template. If no template is defined by the CBA, the default output is a kev-value map. If operation input: resolution-summary is set to true, output will be a list of ResolutionSummary. Issue-ID: CCSDK-2038 Change-Id: I5f6bcefcacec6e83cffac1134b13690b500a7563 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-02-20Update restconf executor to return responsedfarrelly2-2/+20
*Update restconfApplyDeviceConfig function to return request response *Modify pnf_config_aai CBA to test new functionality Issue-ID: CCSDK-2097 Change-Id: Id6109d8c3a8fa4e2ba1b102c4d2697ae6a03f8e2 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2020-01-22Update vFW_CDS packagesAbdelmuhaimen Seaudi20-2328/+3227
Issue-ID: CCSDK-1825 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I53668b3df0cf13ceaa78cbffc92df05db23fe642 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-12-31Flexible DSL Types and Templates definition.Brinda Santh1-9/+7
Easy search definitions Types and Templates inside ServiceTemplate DSL builder. Unit test modifications to support this change. Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ie944ff5f75f80c852555306e1a4e0fa7f5b803d7
2019-12-30Runtime services for Relationship Type and TemplatesBrinda Santh12-35/+156
Added and improved blueprint runtime service property resolution api. Relationship template CBA sample Performance improvement on Artifact resolutions. Added connection config DSL for DB, GRPC connections. Added starter relationship connection config models. Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I73e1deed708dc924352867ddd1d1b2271c8ea106
2019-12-30Relationship Type and Templates modelsBrinda Santh4-55/+123
Enrichment Support for Relationship Types and Templates. Relationship DSL support for ConnectTo connections ( RestClient, SshClient, MessageProducer, MessageConsume, Nats) Moved datatype map from collection to complex type Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I0f18db2cb52e1e93dfab04498b8298587cba2540
2019-12-24add group notation to resource dictionaryshaaban Altanany147-120/+267
-including changes to (starter-dictionary,test-dictionary)json files -add column in resource dictionary table in database -expose api for getting unique group from resource dictionary table Issue-ID: CCSDK-2004 Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com> Change-Id: I0998709af2e692717b9b1b4937943c323144594a
2019-12-11Metadata for name, version, tags and typeBrinda Santh4-2/+5
Mandate Tosca.meta template name, version, type and tags. Auto copy metadata from Tosca.meta to ServiceTemplate definitions. Optimize Blueprint context and runtime creation from file path. Removed attached CBA zip file in test repository dirs Issue-ID: CCSDK-1992 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I5d9d7a4599234a38d431328dbd9b74bd831e0115
2019-12-06Remote Script Executor ComponentBrinda Santh1-0/+66
Define and Implement component-remote-script-executor component and DSL. Get the timeout from model definitions fix the dat pattern issues Define API data extension functions. Issue-ID: CCSDK-1975 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I41a429eb21a050e5ab512a7a73a394b975543f31
2019-11-25Merge "Input source doesn't support dynamic values or properties"KAPIL SINGAL4-33/+95
2019-11-23Input source doesn't support dynamic values or propertiesSteve Siani4-33/+95
Issue-ID: CCSDK-1890 Change-Id: I7958174bd0c0a7354ddefd2595723fdb4b4d0485 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-11-22CCSDK-1864 : PNF Use Case Move from Jython to Kotlin using CDS Frameworkgummar8-180/+167
Change-Id: I58eb134a07345d25be6d64dc614f25fc73ecf554 Signed-off-by: gummar <raj.gumma@est.tech> Issue-ID: CCSDK-1864
2019-11-21Fix relativePath in blueprint-modelTimoney, Dan (dt5972)1-0/+1
Fix relativePath in blueprint-model pom.xml Change-Id: I2cff59df8d4167e3f94674eee53669f625f1ef19 Issue-ID: CCSDK-1932 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-21Bootstrap Rest and GRPC APIBrinda Santh1-0/+8
CDS loads model types, dictionaries and CBA multiple times based on cluster size. This commits avoid auto loading, and provides an API to bootstrap, if necessity. Issue-ID: CCSDK-1950 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ibe6266ebfd399efbaf0c5ccb1019c3a73b08ddac
2019-11-21Include blueprints catalog in buildBrinda Santh15-26/+110
Distribute CBA through maven repository, so that it can be downloaded during image creation. Fixed missing template name and versions in TOSCA.meta file Issue-ID: CCSDK-1950 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I0ee106c4e86296fb88aac8e609512f6944492d74
2019-11-13CCSDK-1603:Changes in 'Config via netconf' BP to pull data from AAItragait27-47/+1040
This commit includes changes in blueprint for "Configuration over netconf", So that CDS can fetch data from AAI. It has enhancement in UAT test yaml file, so this blueprint can be tested. An enhancement is also included to introduce request headers in the source-rest. Change-Id: I4ff973538249925239b89da4c5720ec63ffe8037 Issue-ID: CCSDK-1603 Signed-off-by: tragait <rahul.tyagi@est.tech>
2019-10-31Merge "Update vLB CDS Kotlin Package"Brinda Santh Muthuramalingam27-0/+9036
2019-10-31Merge "Description: Create RESTCONF based vLB CBA Blueprint"Dan Timoney27-0/+9137
2019-10-31Merge "Add GRPC log tracing service."Dan Timoney1-0/+1
2019-10-30Merge "Modified vf-module-name"Brinda Santh Muthuramalingam93-2251/+3193
2019-10-27Update vLB CDS Kotlin Packagehanybaki27-0/+9036
Issue-ID: CCSDK-1838 Signed-off-by: hanybaki <habdelbaki.ext@orange.com> Change-Id: I21a797602d759f40d7b9e3e89192374a38d56ce0 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-10-27Modified vf-module-namehanybaki93-2251/+3193
Issue-ID: CCSDK-1816 Signed-off-by: hanybaki <habdelbaki.ext@orange.com> Change-Id: Iee947751589ef640a8c519d5ffabe424835bac93 Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> Signed-off-by: root <root@olc-rancher.novalocal> Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-10-24Improve Remote Python Executor error handling and allow for structured responseSerge Simard6-2/+35
Issue-ID: CCSDK-1855 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I924918fb06a5a0f118772dedaa41c536c7eca9e7 Signed-off-by: Serge Simard <serge@agilitae.com>
2019-10-22Merge "vnf-id Data Dictionary source has circular dependendy."Dan Timoney3-52/+0
2019-10-22Merge "Data Dictionary has erroneous resolution source for vnf-name."Dan Timoney2-7/+7
2019-10-22Add GRPC log tracing service.Brinda Santh1-0/+1
Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I4ba6ed11d8fb63c21b9c49774ed733cca05c5646
2019-10-22Description: Create RESTCONF based vLB CBA Blueprinthanybaki27-0/+9137
Issue-ID: CCSDK-1852 Signed-off-by: hanybaki <habdelbaki.ext@orange.com> Change-Id: I7e9cda61d85aa8406fb8371658e53a75b64dd686
2019-10-14Merge "Component Script Executor Fix"Brinda Santh Muthuramalingam1-1/+2
2019-10-14Component Script Executor FixSingal, Kapil (ks220y)1-1/+2
Fixing ExecutionServiceInput object initialization and related test cases Issue-ID: CCSDK-1829 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I43354487abfb10a98b29d749aa77b08cfdff51b8
2019-10-08update vLB CDS CBAAbdelmuhaimen Seaudi20-288/+265
Issue-ID: CCSDK-1816 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I1b399aae8abca6a2f5d175560053fa0c7b646896
2019-10-03vnf-id Data Dictionary source has circular dependendy.Samuli Silvius3-52/+0
sdnc source for vnf-id requires vnf-id to be resolved. Removed sdnc source. Issue-ID: CCSDK-1794 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I15992fa776d36d369d7a59148a19f498ed3190e0
2019-10-03Data Dictionary has erroneous resolution source for vnf-name.Samuli Silvius2-7/+7
Issue-ID: CCSDK-1794 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I7ef71201d40b712435c9076c52a317b572d63562
2019-09-25Add bi-directional GRPC python executor.Brinda Santh1-0/+1
Python based bidirectional communication script executor microservice. Issue-ID: CCSDK-1747 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: If2e8f862ca4cb97d10714df2ab1cccccef2d576a