aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2022-11-08[SDC-DIST] Upgrade asdc-controller to use client version 2.0.0efiacor2-40/+24
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1789 Change-Id: Icd08dcc39dd86eb2d0efdbdfd583b16d26a41627
2021-06-17Merge "Fixed sdc-controller ingestion logic for cds values"Seshu Kumar M1-0/+31
2021-04-21Added logging statements for skip post inst conf classKalkere Ramesh, Sharan (sk720x)1-3/+3
Issue-ID: SO-3626 Change-Id: I618b6b6b6049f94bc6c9bfe6be893ac022f2449e Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2021-03-18Fixed sdc-controller ingestion logic for cds valueskuldipr1-0/+31
sdc controller was not picking the cds values because logic expected the values in the 'metadata' block however the cds values exist in the 'input' block. Logic is modified to look for values at the correct location. Issue-ID: SO-3591 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I59778fde00025e22446446df560b5f85bfda7469 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2021-02-22fix default software version sourcetragait1-24/+147
This commit fixes default software version source input for pnfcustomization table. If pnfcustomization has a value in default software version field that will be picked. Else first entry of software versions will be picked. Issue-ID: SO-3543 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I10261c2d4c8e816fdaa2ef54d20c7e83b9f41701
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)1-1/+1
Updated camunda to 7.14 and updated spring boot camunda to 3.4 Started to clean up duplicate maven dependencies Issue-ID: SO-3521 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic65b04772b91dd989e41d6b6b93872978bc4e4e2
2021-01-27Merge "adding test case for Csar distribution Issue-ID: SO-3080"Byung-Woo Jun2-3/+69
2021-01-18Removing ETSI Catalog Manager trigger from ONAP SOwaqas.ikram1-358/+0
for package distribution Change-Id: I75bcd4c7d1924cc9a4dc16e72e53e92138a9f28e Issue-ID: SO-3220 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-12-08software-version fixtragait1-27/+165
In this commit software_versions added to the pnf customization table. A test case is also written to verify if the software_versions of type string is added to the pnfcustomization. Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Id07fe79e67ac96e71e6fe3775cce801edd81a42a Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: SO-3119 Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-11-10adding test case for Csar distributionarun chapagain2-3/+69
Issue-ID: SO-3080 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: I7d734dfffe5b216a4b1fddc9a3bb2a076715b94f
2020-10-22Changing ETSI folder dir per SDC-3244 requirementwaqas.ikram1-1/+1
Change-Id: I69b5f72add73868626acf0c0951da12e4e29607a Issue-ID: SO-3327 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-05-26added assert statements in JUnits in 4 filesRupinder1-0/+1
Issue-ID: SO-2804 Change-Id: I63c5ff0fd23d0d30beaf32658115b7403f0dcfbf Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-14[SDC] Update SDC Distribution ClientSylvain Desbureaux1-3/+4
Use the latest (currently on SNAPSHOT) version od SDC Distribution Client on SO, in order to be able to (later) discuss also with HTTP protocol Issue-ID: SO-2792 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I8d49361ba4889a0c4200a9f35901c49534a8f03d
2020-04-29rename package for external useBenjamin, Max2-3/+3
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-07Add notification test for e2eSlicingzm3301-0/+37
Issue-ID: SO-2758 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I4635d3b4ef911c8bd2269407a5aa8709027244bf
2020-03-24Update Asdc DB tablezm3301-5/+0
Issue-ID: SO-2758 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ic916e55effe0e3688b8d014fb70ea0e2ad23c16a
2020-03-02Add Query ServiceProxyCustomizationzm3302-17/+9
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I12fc81ea5f0fc3975b5913b56b48ecb4cb3ebff5
2020-02-25Enhancing SO SDC Controller to invoke ONAP-ETSI Catalog APIswaqas.ikram2-2/+362
Change-Id: I9f0ba05c14478b9165c2c470559567513e1919cf Issue-ID: SO-2406 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-01-07consolidated security configurationBenjamin, Max1-1/+1
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2019-12-04SO CDS Metadata ingestioneeginux1-29/+176
Add support for controller_actor ingestion Add support for blueprint in service Add support for skip conf flag in vf module Ingest new properties into SO database Sample csar files are cleaned without comment and description Issue-ID: SO-2313 Change-Id: I657f997faf33a366f3c234c3e41b164275beedac Signed-off-by: eeginux<henry.xie@est.tech>
2019-11-05- Updated to include getEntity extractMerkel, Jeff2-51/+50
- Updated to include getEntity extract nodeTemplates. Issue-ID: SO-2511 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ie6ee3a5966f1c4f8384723bc82ec972eef87fe8f
2019-11-04- Updated to use getEntity API for ServiceProxyMerkel, Jeff1-11/+9
- Updated to use getEntity API for ServiceProxy - Updated configurationCustomization tests for IEntityDetails. - Replaced the getMetadataPropertyValue method. - fixed the formatting so the build job works Issue-ID: SO-2510 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If0f624b1160b095f8faf64fa67797016a14e4cfe
2019-10-18- Remove proprietary csar files from project.Merkel, Jeff1-132/+0
- Remove proprietary csar files from project. Issue-ID: SO-2461 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I344ba6a7c907a380360b7f289afa796eeac3a36e
2019-10-07SO Distribution Error on Allotted Resourcesarada prasad sahoo1-0/+24
SO Distribution Error on Allotted Resource - duplicate primary Issue-ID: SO-2351 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: Iae7bda27ac4975b5ede657ac485472bbc6e88c56
2019-09-24- Added serviceDeployed variable forMerkel, Jeff1-0/+19
- Added serviceDeployed variable for distributions with 2 resources. Issue-ID: SO-2362 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I60a5240ed6b8213a24d3c4044c36b232ba3e9f7a
2019-09-18Add SO Update Check if SDC activities deployment end point server Up for ↵Bonkur, Venkat (vb8416)2-2/+10
custom worlflows Make changes to verify if SDC activities deployment end point(mso.asdc.config.activity.endpoint) server up for custom workflows Issue-ID: SO-2348 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I3b90b6d8e95681a685b23dfaa2f65596532e5b0e
2019-09-09Add SO Update Check if SDC activities deployment end point for custom ↵Bonkur, Venkat (vb8416)2-1/+35
worlflows is alive Make changes to verify if SDC activities deployment end point(mso.asdc.config.activity.endpoint)  for custom worlflows is alive Issue-ID: SO-2294 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: Iff916a33b403d507a383cebf8d668bb5cbf9fb55
2019-09-05- Convert to use the GetEntity APIMerkel, Jeff1-1/+5
- Converted to use the GetEntity API for AllottedResources Issue-ID: SO-2282 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If5774c95473563e46f345e5d0c5f6880dd315e35
2019-09-04fix public NS distribution issuesarada prasad sahoo1-0/+24
Fix Multiple VFModule under single service distribution Issue-ID: SO-2275 Change-Id: I7a4a7dbb68d23c0e44f9985b3fdc89816dbfd232 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-08-29Fixing ccvpn parsing issuesubhash kumar singh1-2/+6
Fixing ccvpn parsing issue. Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Iaee7d003f8d657a93901b51bef9bedab0433b75c
2019-08-26Fix parsing issue for ccvpnsubhash kumar singh2-2/+244
Fix csar parsing issue for ccvpn. Change-Id: Ie99acbec8a52de7a08d1627c210c0e3fda986520 Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-08-15asdc controller treat distributionid as requestidBhatt, Prema1-0/+31
Setting RequestId in MDC using DistributionID value in ASDC-controller Setting RequestId in MDC using DistributionID value in ASDC-controller. Cleaned up code. Removing the log line as per the review comments. Issue-ID: SO-2231 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I07880a80d479ad01411e0c5ece12d77722b8cb6c
2019-08-13- Updated vnfc instance groups to use theMerkel, Jeff1-3/+7
- Updated vnfc instance groups to use the getEntity API. Issue-ID: SO-2224 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I278aebe5174dfb52ad3db86957c262dca5eac359
2019-07-29repair vfcInstanceGroup orderzm3301-0/+79
Issue-ID: SO-2164 Change-Id: I827342692dc4e4241b22c6eb8dd455b2b9385fa8 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-07-23- Converted NetworkResource to use the parserMerkel, Jeff1-0/+3
- Converted NetworkResource to use the parser getEntity method. - run the formatting command so that it aligns correctly. Issue-ID: SO-2147 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id6aa6c2967ec4014d6512851fa7dfff088946081
2019-06-25Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)1-30/+51
Change-Id: I2b91332563d9c7b0f469c9e45a35cc1376465c5e Issue-ID: SO-2058 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10Beans fixes to workflow record creationElena Kuleshov1-30/+51
Changes to enable cascading creates and proper id referencing Issue-ID: SO-1998 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I6c08fc22fbbba1d0d2b8dc04e390cd0b3de64327
2019-06-08Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)1-0/+53
Change-Id: Ib8eaae7ee4a404bde568803afaf6c4e183cbbd53 Issue-ID: SO-2004 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert1-2/+57
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski2-0/+122
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-04Handle 201 and 422 status codesElena Kuleshov1-0/+53
SDC activitySpec API returns 201 for success and 422 when already exists Issue-ID: SO-1996 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I75837b75cbd24f4ccfb97a07e91219b3b61453f6
2019-05-25Handle lazy init of activitySpecsElena Kuleshov1-0/+76
Use Transactional setting for activitySpecs retrieval Issue-ID: SO-1957 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Idfe57474bfdec055a12a1e8fd787d31ac9dc7507
2019-05-16Addressed vCPE-Infra processing issue ASDC ControllerRamesh Parthasarathy1-0/+46
code was modified to address vCPE-infra notification received from SDC. Also added unit tests to ensure that the code works as expected. Change-Id: I217e2dfed9548bfb0e9b93c96aaf75afc1d4171c Issue-ID: SO-1861 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-05-07Update the format of resourceInputzm3301-1/+5
Save format when resource is list type e.g. {key2:[vf_prop_list,INDEX,key]|default} Issue-ID: SO-1393 Change-Id: Ibb5e7bb31114fa3bbd7a3e1af5f2152a98941a4b Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-05-03Merge "Merge remote-tracking branch 'origin/dublin'"Marcus Williams1-1/+37
2019-04-30add resource inputzm3301-4/+18
Save format when resource is list type e.g. {key2:vf_prop_list,INDEX,key|default} Change-Id: I1cde294eb790df0be6df13cfae9959310b93f366 Issue-ID: SO-1393 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-04-27repeat distribution transaction errorParthasarathy, Ramesh1-1/+37
implemented existence of tosca csar first before processing the notification implemented changes to verify if a csar already exists with tosca_csar table before processing the distribution. Updated code to set the SO component status when the csarIsAlreadyDeployed. Change-Id: I777ec603cb2f2f004adaa84e07196a961cebd646 Issue-ID: SO-1808 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-16Use distribution json for workflow installElena Kuleshov3-4/+172
Use distribution json for workflow install Change-Id: I2eec3700d0ba92794b6ca11bd43683d91fb480ee Issue-ID: SO-1726 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-15Merge "Deploy activities to SDC from Catalog"Steve Smokowski1-6/+58
2019-04-12vnr vrf fk issueBenjamin, Max (mb388a)1-16/+40
Updated flyway migration script to rename object as per review comments. Used Tosca node type for determining VRF and VNF nodes updated code based on review comments for schema.sql Altered ConfigurationCustomizationResource for VRF-VNF to have bidirectional relationship ToscaResourceInstaller ConfigurationResourceCustomization was made bidrectional Change-Id: Ib45151ff7a40edca38d512ae76f8889b1cc4d0c4 Issue-ID: SO-1777 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>