summaryrefslogtreecommitdiffstats
path: root/asdc-controller
AgeCommit message (Collapse)AuthorFilesLines
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert3-5/+68
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 Smokowski19-31/+829
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-04Improvements in ToscaResourceInstallerr.bogacki1-22/+19
Improvements in ToscaResourceInstaller according to the Sonar analyses. -Removed unnecessary imports. -Removed unnecessary exceptions. -Improvements for an array size checking. -Refactored diamond operators for a simplicity. Issue-ID: SO-1984 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I498933adadbb2d6f5dc956b0056c728f141e3869
2019-06-04Improvements in VfResourceStructurer.bogacki1-4/+6
Improvements in VfResourceStructure according to the Sonar analyses. -Removed unnecessary imports. -Removed unnecessary exceptions. -Improvements for possible NPE issues. Issue-ID: SO-1983 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I014c5de19eca853cf1263b541e2c34b6e6db9b1d
2019-06-03Cleaned up duplicated literalsrob.bog9-58/+74
Cleaned up Sonar code smells related to the duplicated literals in loggers. Issue-ID: SO-1932 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I58c48cec0012c42b7b892ae76c24c6a087c60c7e
2019-05-25Handle lazy init of activitySpecsElena Kuleshov3-2/+84
Use Transactional setting for activitySpecs retrieval Issue-ID: SO-1957 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Idfe57474bfdec055a12a1e8fd787d31ac9dc7507
2019-05-23Fix retrieval of mso.config.pathElena Kuleshov1-1/+16
Fix retrieval of mso.config.path Issue-ID: SO-1925 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I5eed704334de6335672624f9e9eca809856fb984
2019-05-23Renamed NF fields in catalog db pojoMerkel, Jeff1-6/+6
- Renamed Nf properties to just Function, Role, Type. Change-Id: I0cec751e783c1fb7abdcf9f9565eadf89e0ac32c Issue-ID: SO-1914 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-21Add WORKFLOW artifactType to SDC ConfigElena Kuleshov1-1/+1
Add WORKFLOW artifactType to SDC Config Issue-ID: SO-1911 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I8933438ae63ca73605a05fec5467806f41fbda10
2019-05-22Fix CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT distributeEric Multanen3-4/+7
Add CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT type so it does not cancel the distribution of services. Change-Id: I68fe4892156312233fe677c0826e95c8aaa8da02 Issue-ID: SO-1907 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-05-16Addressed vCPE-Infra processing issue ASDC ControllerRamesh Parthasarathy10-12/+695
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-10Merge "use logger to log exception"Steve Smokowski1-1/+2
2019-05-15Use workflow's name for invocationElena Kuleshov1-1/+1
Use workflow's name for invocation Change-Id: Ie527788f029bdccc91f7f406df0a478e55375c01 Issue-ID: SO-1876 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-05-09Merge "UPDATE lICENSE INFO" into dublinsubhash kumar singh1-0/+0
2019-05-09Update License infoseshukm1-0/+0
Issue-ID: SO-1854 Change-Id: Icd347db4fddb50a8543193394c71e61d9bd69282 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2019-05-09UPDATE lICENSE INFOseshukm1-0/+0
Issue-ID: SO-1854 Change-Id: Ica4cd90f0b89904dbd518521d9722cc2b065771e Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2019-05-09use logger to log exceptionArindam Mondal1-1/+2
sonar link:https://sonar.onap.org/project/issues?id=org.onap.so%3Aso&resolved=false&types=VULNERABILITY Issue-ID: SO-1859 Change-Id: I599ca396db3d24cbef56bb3aea8f83b2d52ff26d Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-05-07Update the format of resourceInputzm3302-9/+14
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-06Merge "VFModule To HeatTemplateUUID" into dublinSeshu Kumar M1-1/+6
2019-05-06Merge "Check if InstanceGroup modelUUID already exists" into dublinSeshu Kumar M1-8/+18
2019-05-06update the SDC tosca version to 1.5.1seshukm1-2/+2
Issue-ID: SO-1834 Change-Id: Iea99bfce2d96611b61f0cba21038d08dd1fa9758 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2019-05-05VFModule To HeatTemplateUUIDMerkel, Jeff1-1/+6
- Set existing Heat files on the vfModuleArtifact. Change-Id: Ie01a7932115158dc974ab9ba89a8954a3e732e79 Issue-ID: SO-1846 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-05Check if InstanceGroup modelUUID already existsMerkel, Jeff1-8/+18
- Added code to check if InstanceGroup modelUUID already exists in DB. Change-Id: Ibf3bf27e6c0523df80adad6debafa2c2f3a337ec Issue-ID: SO-1845 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-03Merge "Merge remote-tracking branch 'origin/dublin'"Marcus Williams3-79/+222
2019-05-03Merge remote-tracking branch 'origin/dublin'Benjamin, Max (mb388a)3-79/+222
merged dublin into master branch Change-Id: Ifb78d405611b65764fd4f01558b0e703551ed663 Issue-ID: SO-1830 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-05-03Merge "add resource input Save format when resource is list type e.g. ↵Seshu Kumar M2-32/+72
{key2:vf_prop_list,INDEX,key|default}"
2019-04-30Add Model Version QuerySmokowski, Steven4-3/+17
Fix the sql migration version numbering to be proper Fix marking test as private, mark public Clean up public declarations to private Fix schema.sql to have new column for unit test Revert POM Change, add License, clean up comments Fix bad spelling of method name issue Update catalog db to support new rest endpoint Update local query service and mappers Localstaging of potential catalog db changes Update logic to write overall distro status Change-Id: I84d53b972ede3176c5af32d13444583a36606efa Issue-ID: SO-1820 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-30add resource inputzm3302-32/+72
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-29Removed static fields from ASDCRestInterfaceWitold Ficio Kopel1-14/+11
Fix to Sonar issue - misuse of private static fields within class. Refactored to local variables. Issue-ID: SO-1490 Change-Id: I4e2f3dc5b5424198263bdfc0ff16ae123969db48 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-04-29Check to make sure Heat records do not exist.Merkel, Jeff1-59/+87
- Replaced index assert statements with stream(). - Updated the UT to retrieve from the service object for the assert statements. - Added check to make sure Heat records don't already exist. Change-Id: Ife02303e7b3f5c7d132fb9c1baebaa3787a18494 Issue-ID: SO-1818 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-27repeat distribution transaction errorParthasarathy, Ramesh3-22/+137
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-27Merge "Reorder modifiers. Reorder modifiers to complt with Java code ↵Seshu Kumar M4-9/+10
specifications Issue-ID: SO-1490"
2019-04-26Reorder modifiers.h003974754-9/+10
Reorder modifiers to complt with Java code specifications Issue-ID: SO-1490 Change-Id: Ic7d2700347b79e0c155f84d3ca1175dda1edb6f8 Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-26Merge "Enhancement for query"Seshu Kumar M1-0/+1
2019-04-26Enhancement for querysubhash kumar singh1-0/+1
Enhancemenv for query to include group and vnfccustomization. { "serviceResources": { "modelInfo": { "modelName": "NSService", "modelUuid": "0bad8c92-7d22-49f0-b092-b64e6ca564a7", "modelInvariantUuid": "69161960-515b-4bf3-91f1-313b813f5e1d", "modelVersion": "1.0" }, "serviceType": "", "serviceRole": "", "environmentContext": "General_Revenue-Bearing", "resourceOrder": "NF", "workloadContext": "Production", "serviceVnfs": [ { "modelInfo": { "modelName": "", "modelUuid": "123", "modelInvariantUuid": "", "modelVersion": "", "modelCustomizationUuid": "1234", "modelInstanceName": "test" }, "toscaNodeType": "", "nfFunction": "", "nfType": "", "nfRole": "", "nfNamingCode": "", "multiStageDesign": "", "resourceInput": "", "vfModules": [], "groups": [ { "modelInfo": { "modelName": "test", "modelUuid": "11", "modelInvariantUuid": "11", "modelVersion": "2" }, "vnfcs": [ { "modelInfo": { "modelName": "xfs", "modelUuid": "22", "modelInvariantUuid": "2222", "modelVersion": "22222", "modelCustomizationUuid": "2222" } } ] } ] } ], "serviceNetworks": [], "serviceAllottedResources": [] } } Issue-ID: SO-1393 Change-Id: Iee7f79337f73276f857d6d42b5b2416e4e8f4536 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-25Merge "Reorder modifiers. Reorder modifiers to complt with Java code ↵Seshu Kumar M3-33/+35
specifications Issue-ID: SO-1490"
2019-04-25Reorder modifiers.h003974753-33/+35
Reorder modifiers to complt with Java code specifications Issue-ID: SO-1490 Change-Id: I5d5e0d0520c5a5c1e90033df3d185ce95a01ca0d Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-24add resourceInput in vnfczm3301-0/+1
Issue-ID: SO-1393 Change-Id: I643f49df545bef92f0f0e931f7b7ce1a5dbc21c0 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-04-23add vnfcInstanceGroup sequencezm3302-2/+122
Issue-ID: SO-1393 Change-Id: Ife3b71dcfa543a693564779da44800f1dd8486e9 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-04-20Add existing vnf customization for servicesubhash kumar singh1-1/+15
Add existing vnf customiation for service if they are exit in db. Otherwise vnf_resource_customization_to_service will hold only last process VF while parsing. Change-Id: I52ea9dec58630e61eae88e7c9325aa37d64c00d6 Issue-ID: SO-1805 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-19Merge "Add missing lines for CCVPN"Seshu Kumar M1-2/+7
2019-04-19Add missing lines for CCVPNsubhash kumar singh1-3/+7
Add missing lines to create request input in vnfcustomization. Change-Id: If7bced1f5af1ce8a899ef33435582aa420fc6d8b Issue-ID: SO-1800 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-16Add back activity spec installElena Kuleshov1-0/+17
Add back activity spec install Change-Id: Idd7a85b902182424669946b568217483c3c76f79 Issue-ID: SO-1726 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-16Use distribution json for workflow installElena Kuleshov20-23/+694
Use distribution json for workflow install Change-Id: I2eec3700d0ba92794b6ca11bd43683d91fb480ee Issue-ID: SO-1726 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-15Merge "Remove hardcoded literals"Steve Smokowski1-18/+0
2019-04-15Merge "Deploy activities to SDC from Catalog"Steve Smokowski7-17/+790
2019-04-12vnr vrf fk issueBenjamin, Max (mb388a)3-81/+109
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>
2019-04-12Remove hardcoded literalsk.kazak1-18/+0
Remove unused hardcoded literals Fix sonar issues with potential hardcoded password literal Change-Id: I4e2cf1f731e8cc2ee9914480d6422e00db276d65 Issue-ID: SO-1788 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-12Deploy activities to SDC from CatalogElena Kuleshov7-17/+790
Deploy activities to SDC from Catalog Change-Id: I1c91b79a060889f14cf0b653b3ed1a60e934c8bf Issue-ID: SO-1725 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-11Merge "Fix vFW Distrobution"Byung-Woo Jun12-60/+864