summaryrefslogtreecommitdiffstats
path: root/asdc-controller/src
AgeCommit message (Collapse)AuthorFilesLines
2019-10-14Merge "General sonar fixes"Lukasz Muszkieta1-1/+1
2019-10-14remove license issuesseshukm1-0/+0
Issue-ID: SO-2446 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I00d93bf488f813d6bae1f254411960746dff0a34
2019-10-08Fix Blocking distribution of K8S ServiceEric Multanen3-1/+5
Restore code removed in https://gerrit.onap.org/r/c/so/+/95685 to prevent SO from failing to handle distribution of k8s service. which contains cloud technology artifact. Change-Id: Ic4182daf3a6cf698b2122e43c65bbb94425588f6 Issue-ID: SO-2357 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-10-07SO Distribution Error on Allotted Resourcesarada prasad sahoo10-1/+1254
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-10-03General sonar fixesArindam Mondal1-1/+1
Issue-ID: SO-2381 Change-Id: I58c41ec7295838465a8af28721842625ee828a17 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-24- Added serviceDeployed variable forMerkel, Jeff2-0/+20
- 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)3-8/+17
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-17Merge "getentity csar logging"Steve Smokowski2-239/+318
2019-09-13- Removed the cloud_technology artifact type.Merkel, Jeff3-4/+1
- Removed the cloud_technology artifact type. Issue-ID: SO-2333 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I17f0bf10d0bdf16acce9bab0af43f7f46dd7546e
2019-09-11Merge "Fix the ingestion of mixed resource"Seshu Kumar M1-12/+11
2019-09-11getentity csar loggingMerkel, Jeff2-239/+318
- Updated to use the getEntity API for csar logging. - Formatted the logging file to pass the build. Issue-ID: SO-2306 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I98a7aacc6dc69e8e7f787c39fbc0bd6b7a16338a
2019-09-10Integrate Logging LibraryPlummer, Brittany1-3/+4
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-09-10Merge "updated all sql files including in tests to use"Steve Smokowski1-2/+2
2019-09-10Merge "Distribution fails when no user input required in design"Seshu Kumar M1-1/+3
2019-09-09updated all sql files including in tests to useChan, Mercy1-2/+2
updated all sql files including in tests to use the correct column name. Updated hibernate mapping to use the correct column name as well. Issue-ID: SO-2297 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4a2d3e82a7b182ea1d67d297c0a0d3a35c856255
2019-09-09Add SO Update Check if SDC activities deployment end point for custom ↵Bonkur, Venkat (vb8416)3-1/+61
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-09Distribution fails when no user input required in designsarada prasad sahoo1-1/+3
When we distribute a design from SDC and design does not have any user input in properties, then distribution fails with error ArrayIndexOutOfBoundException Issue-ID: SO-2279 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: I47bd724e25d81befc09ec452aa63d8519c927520
2019-09-06Merge "- Convert NetworkCollection to use GetEntity API."Steve Smokowski1-76/+71
2019-09-05- Convert to use the GetEntity APIMerkel, Jeff3-59/+103
- 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-05- Convert NetworkCollection to use GetEntity API.Merkel, Jeff1-76/+71
- Convert NetworkCollection to use GetEntity API. - Updated to correctly format the code.. - Fix setting of parsing of the quantity field. Issue-ID: SO-2283 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1948a5bae2f9b1df5367bf3dd5a35357d196bdaf
2019-09-04fix public NS distribution issuesarada prasad sahoo15-3/+1679
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-30Merge "- Make association from the cvnfc to the fabric"Steve Smokowski1-15/+24
2019-08-29- Make association from the cvnfc to the fabricMerkel, Jeff1-15/+24
- Make association from the cvnfc to the fabric config. Issue-ID: SO-2262 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8d9c1e5b738ec36fb3c6d9bae4acfef155b0e058
2019-08-29Fixing ccvpn parsing issuesubhash kumar singh5-77/+70
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 singh6-19/+335
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-22- Updated VNF and VfModules to use the getEntityMerkel, Jeff1-171/+161
- Updated VNF and VfModules to use the getEntity API. - Added the processFlexware step back in. Issue-ID: SO-2244 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1274ccb9b2c2e600f3c24f8ac86dd1ff673c66da
2019-08-22Fix the ingestion of mixed resourceeeginux1-12/+11
Identify the non-VNF resource per resource artifact Handle all the resoure artifact Issue-ID: SO-1872 Change-Id: Ie29acfb138ca214a400040daaf780aa27e80ff0e Signed-off-by: eeginux <henry.xie@est.tech>
2019-08-19Merge "Solve the vnfc_instance_group_customization_id insertion failure problem"Seshu Kumar M1-0/+1
2019-08-19Close input streams via try-with-resourcesk.kazak1-5/+3
DefaultDmaapPropertiesImpl: close FileInputStream after loading ServicePluginFactory: close HttpClient if processing fails close application.properties InputStream after loading remove redundant catch block if behavior is the same add logging of exception in finally block BpmnInstaller: close csarFile if processing fails Change-Id: Ic6f942c401277c5150c5cc1297aba27ccd40694c Coverity-scan: CID-203903, CID-211476, CID-211615, CID-219308 Issue-ID: SO-2211 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-08-16Merge "Initial commit of validation framework to APIH"Steve Smokowski1-0/+1
2019-08-16Solve the vnfc_instance_group_customization_id insertion failure problemzm3301-0/+1
Change-Id: Iac9eea25895d9f048b00218b67db5d7bfb3efb58 Issue-ID: SO-2164 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-08-15Initial commit of validation framework to APIHSmokowski, Steven1-0/+1
Move ListenerRunner to common location Adjust request params name, update junit tests Update validations to work properly Properly escape period for the string split Issue-ID: SO-2232 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia468cf7062cccf30e28afeb7a5cddc37ceb2e002
2019-08-15asdc controller treat distributionid as requestidBhatt, Prema2-0/+37
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, Jeff2-77/+135
- 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-08-13Merge "Change variable name-comply with regex"Seshu Kumar M1-2/+2
2019-08-12Change variable name-comply with regexsindhu36721-3/+3
Change variable name-comply with regex asdc controller and bpmn classes Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: Ib1e16b2df9c620f2f225424e003226996fbe99e1
2019-08-12Change variable name-comply with regexsindhu36721-2/+2
Change variable name-comply with regex asdc-controller & mso-api-handlers classes Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I709cbcacc32e57a8b9cf89a963321bfde3b08301
2019-08-09Merge if stmts for code readabilitysindhu36721-4/+2
Merge if stmts for code readability asdc controller DeployActivitySpecs class Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: If27dc7b6e28e4058c4132e7d8178b773cb9f065b
2019-08-08Replace collections.size with isEmpty for better performancesindhu36723-7/+7
Replace collections.size with isEmpty for better performance asdc-controller Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: Ie8adc3a149a583fe66c771ee70ae95055a229f83
2019-08-06- Updated cvnfc's to use the getEntity API.Merkel, Jeff1-63/+72
- Updated cvnfc's to use the getEntity API. Issue-ID: SO-2202 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id367e82d655a838100d8f81f8b4f76303600b182
2019-07-30Merge "repair vfcInstanceGroup order"Seshu Kumar M2-16/+102
2019-07-29Merge "Upgrade springboot.version from 2.0.5 to 2.1.5."Steve Smokowski1-0/+2
2019-07-29repair vfcInstanceGroup orderzm3302-16/+102
Issue-ID: SO-2164 Change-Id: I827342692dc4e4241b22c6eb8dd455b2b9385fa8 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-07-26Upgrade springboot.version from 2.0.5 to 2.1.5.Sangalang, Felix1-0/+2
Upgrade springboot.version from 2.0.5 to 2.1.5. Fixed APIHandler junit test cases with expected DB error messages. Issue-ID: SO-2157 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I77ce873018b88268b9221226b95c9c106f93a8d0
2019-07-26Merge "Fix the License issue inside the sample csar"subhash kumar singh1-0/+0
2019-07-23- Converted NetworkResource to use the parserMerkel, Jeff2-40/+78
- 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-07-19Fix the License issue inside the sample csarseshukm1-0/+0
Issue-ID: SO-2138 Change-Id: I0dd532abf983a248b60f91aea4a6fbd05e33daab Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2019-07-18Removing application-local.yaml filesRoy, Amresh1-95/+0
Removing the application-local.yaml files because they're no longer maintained or working. Issue-ID: SO-2121 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I191c8775de931671a4657be8940e6aec64023359
2019-07-12Fixing ASDCRestInterface for CSIT to simulate SDC reqwaqas.ikram5-62/+102
Change-Id: I6331d08441b9bf1f621f56ec1b7d911851010e62 Issue-ID: SO-1948 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-07-09Major Sonar fixesr.bogacki1-2/+4
Major Sonar fixes in different classes: -Removed unnecessary code. -Removed unused variables. -Removed unnecessary imports. -Simplified diamond operators. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I098e3dcd93b804e58220bb41ea15325e820e3a59