aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model
AgeCommit message (Collapse)AuthorFilesLines
2021-04-05Release ccsdk/cds1.1.2jenkins-releng6-6/+6
2021-03-24Add UAT for imperative workflowJozsef Csongvai12-0/+918
Issue-ID: CCSDK-3219 Change-Id: I7b6e619fb60e687885b5545ba323bd7bb15ec209 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit f19c463ecaf39655005441c4c0e352140c153a82)
2021-03-24Refactoring to enable on_failure for imperative workflowJozsef Csongvai5-5/+5
BlueprintError needs to associate errors with the steps in which they occurred in order for imperative workflow to handle on_failure properly. Made stepName more accessible and corrected places where stepName was assigned to nodeTemplateName. Issue-ID: CCSDK-3219 Change-Id: I7e5805745c63558cff6be533e1b99c32ad06c3db Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit b96b44d6d7ca11dbbc3ad4bd2194df31fba5efb6)
2021-03-04Release version 1.1.1 of CDS dockersDan Timoney6-6/+6
Release new CDS dockers to correct issues found with release 1.1.0 dockers. Issue-ID: CCSDK-3192 Issue-ID: CCSDK-3197 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I3bc1acbb93f0bb95ef14a6565e66d8da7a5df21d
2021-02-23Release version 1.1.0 docker containers and roll to next versionDan Timoney6-6/+6
Release version 1.1.0 docker containers and roll to next version Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2518ba1dd5a4bd926499867f5f9714bc3f716732
2021-02-22Revert removal of surefire plugin in test-blueprint-kotlin-parentJozsef Csongvai1-0/+26
This was accidentally removed during java 11 upgrade. Without the plugin in this pom, mvn test will not work. Issue-ID: CCSDK-3178 Change-Id: I756092a4b71f4bfe75aae3ec6c276a0afc39fde4 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-01-22Renaming Files having BluePrint to have BlueprintKAPIL SINGAL16-88/+88
Replacing BluePrint with Blueprint throughout Issue-ID: CCSDK-3098 Signed-off-by: KAPIL SINGAL <ks220y@att.com> Change-Id: Ibee8bad07ae7d9287073db2d4f2f2cd730fa8b96
2020-12-16Fixing typo in message-prioritizationSingal, Kapil (ks220y)1-1/+1
Refactoring few POMs name tag Issue-ID: CCSDK-3053 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I14447ea7f93efcc970213bbe7d42663cb87e33d7
2020-10-28Simplify PNF-DEMO CBAJakobKrieg24-1334/+248
- fix reference issues causing enrichment/validation to fail - remove redundant data dictionaries - remove redundant template & mapping - rename node-templates for clarity - add workflow outputs for better feedback - remove bash scripts which belong in documentation Issue-ID: CCSDK-2859 Change-Id: I12095f37ff20fcfeee6af43aef3bd221b2ab1ef7 Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de> Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-10-225G Core Network Service CBA package uploadThamlurRaju29-0/+5530
As part of the 5G slicing use case, the core NSSMF shall be instantiating a 5G core service which typically would comprise of AMF, SMF and UPF CNFs. Performing day 0, day 1 and day 2 configurations Change-Id: Ie7ebd34221170804bc4aec92b4628fbfe17a6500 Issue-ID: CCSDK-2919 Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
2020-10-21Update AAI endpoints to /aai/v22 for HonoluluLasse Kaihlavirta8-13/+13
- Update all /aai/v21 references to /aai/v22 for Honolulu - note that the previous https://gerrit.onap.org/r/c/ccsdk/cds/+/114057 was for Guilin only Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I8103b12610a9de7263789a0852140f2f0bb09393
2020-10-20Update AAI endpoints to /aai/v21Lasse Kaihlavirta8-13/+13
- Update all /aai/v14 references to /aai/v21 to resolve certificate problems in CDS when trying to resolve attribute values with aai-data source Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I6b150348b66e93b3d08ceaa49fa997d531ddb0e4
2020-10-07Merge "PNF demo blueprint"KAPIL SINGAL29-0/+1751
2020-09-30Merge "Add restconf-executor dependency to test-blueprint-kotlin-parent"KAPIL SINGAL1-0/+4
2020-09-30Fix service blueprintsJozsef Csongvai21-7812/+7999
Blueprints were failing enrichment. Cba's were referencing requirement restconf-connection which is not defined in component-netconf-executor. Added new capability for restconf and fixed referencing Issue-ID: CCSDK-2859 Change-Id: I13f8800ea5fad9daed8a8b7b81cc3649efbebbc9 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-09-30Add restconf-executor dependency to test-blueprint-kotlin-parentJozsef Csongvai1-0/+4
Issue-ID: CCSDK-2862 Change-Id: I9b13ba3633b5901cede831cf5a8a394e7c669c81 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-09-22Roll to initial Honolulu versionDan Timoney6-6/+6
Roll to initial Honolulu version Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I563033c6c93a4121219eaa1d7bb8a026e9e490d4
2020-09-22Enabling Code FormatterSingal, Kapil (ks220y)14-202/+211
Code Formatter was turned off due to java 11 migation Issue-ID: CCSDK-2852 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I3d02ed3cc7a93d7551fe25356512cfe8db1517d8
2020-09-21Fixing docker image tagSingal, Kapil (ks220y)3-3/+0
Moving related properties to parent most pom and using same across Removing unnecessary version tag from poms Issue-ID: CCSDK-2794 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I37d16d3f7a467bb579f70235f69a8bff0fe4ba8e
2020-09-14Revert change assembly descriptor idJozsef Csongvai1-1/+1
Changing ID also changes the file name of the zipfile. This caused the -Pdeploy-cba to fail as it was expecting a file with ending *-cba.zip, instead it got *-cba_zip.zip Issue-ID: CCSDK-2787 Change-Id: I825218724fd917a69a727cb1945cf313c950b27f Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-09-11Refactoring poms groupId artifactIdSingal, Kapil (ks220y)6-67/+59
Issue-ID: CCSDK-2787 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ica64f0c793beabb47950c7bf1eede63a0dbf3cea
2020-09-10JDK11 upgradeOleg Mitsura1-27/+0
Issue-ID: CCSDK-1870 commit2: update surefire plugin to 3.0.0-M5. Need at least M3 for JDK11. S Still TODO: what to do about the spring-boot-parent. it may need a bump as well. commit3: update parent with surefire 3.0.0-M5 commit4: another surefire version update + failsafe version update. commit5: uncomment surefire def'n in parent pom. It may need to be redefined... commit6: update to parent 2.0.1-SNAPSHOT commits... rebasing/minorfixes commit14: disabling HealthCheckApplicationTests test commit19: Kapil bugfixes: Jsonfiles "isForce" replaces (incorrect) "force"; bumps kafka scala version to 2_13 commit20: fixe back kafka scala version to 2_11 commit25: reverted + applied patches for 2_13 (due to springboot parent update) + 'application' pom to use forCount=1 and reuseForks=false and reverted scanUatEmpoweredBlueprints modification in BluepritnsAcceptanceTest commit30: rebase commit31: SDCListener tests fixes. JMockit updated from 1.19 to 1.49. Since 1.42, need to do these changes https://jmockit.github.io/tutorial/Introduction.html#runningTests commit32: Dockerfiles cleanup. adduser/group params are different from Alpine. commit33: Dockerfile for SDClistener typo commit34: Addressed Dan's comments. commit35: Image was changed to 1.0.1 (which will be built soon), and the updated base image will already have 'onap' user and group, hence the adduser/group wouldn't be needed. commit36: rebase commit37: bumped up BP proc maven-surefire-plugin Xmx Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I3d864d500150e7d81bb2ce73333f2db67c004e93
2020-09-08PNF demo blueprintvmuthukrishnan@aarnanetworks.com29-0/+1751
Change-Id: I830174d054fdd11fe8ebfbdeafe4abeb5b223dac Issue-ID: CCSDK-2624 Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
2020-09-02Adding parent pom referenceSingal, Kapil (ks220y)5-8/+56
Adding parent pom to cba-assembly-descriptor as it needs to inherit repository from parent so maven-deploy-plugin works Issue-ID: CCSDK-2720 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I44ce3721f280555b81475580ca47539ae83d07ca
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-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 Silvius8-71/+12
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-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 Csongvai2-0/+40
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 Seaudi18-2259/+3154
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 Santh5-35/+51
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 Santh3-55/+108
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-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-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-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 AAItragait25-47/+1001
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