aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
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 sahoo1-1/+3
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/+1
- 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)1-6/+7
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 "Distribution fails when no user input required in design"Seshu Kumar M1-1/+3
2019-09-09Add SO Update Check if SDC activities deployment end point for custom ↵Bonkur, Venkat (vb8416)1-0/+26
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, Jeff2-58/+98
- 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 sahoo1-3/+11
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 singh1-43/+42
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-17/+34
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-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-15asdc controller treat distributionid as requestidBhatt, Prema1-0/+6
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-74/+128
- 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-29repair vfcInstanceGroup orderzm3301-16/+23
Issue-ID: SO-2164 Change-Id: I827342692dc4e4241b22c6eb8dd455b2b9385fa8 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-07-23- Converted NetworkResource to use the parserMerkel, Jeff1-40/+75
- 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-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
2019-06-27handle multiple cvnfc configsMerkel, Jeff1-15/+23
- Handle multiple cvnfc configs with the same model uuid. - Update CvnfcConfigurationCustomization to a List from a Set Change-Id: I8c026510d813ebb6294a9cedd39d4d4b8f4b9dcf Issue-ID: SO-2056 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-25Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)2-14/+36
Change-Id: I2b91332563d9c7b0f469c9e45a35cc1376465c5e Issue-ID: SO-2058 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-24Process workflow artifacts lastElena Kuleshov2-11/+28
Workflow artifacts need to be processed last, check for existence of VNF resource Issue-ID: SO-2045 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ia46a6ecaef905287ce837c04b389ab2a13d3f24e
2019-06-18Merge "Changes related to eviction of connections"Steve Smokowski2-10/+20
2019-06-18Fix sonar issue in asdc-controllerParshad Patel2-10/+7
Fix Either log or rethrow this exception Issue-ID: SO-1841 Change-Id: I2a333d94b040b7bf4ac646fc6f729874eb0fe054 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-06-17Changes related to eviction of connectionsBenjamin, Max (mb388a)2-10/+20
These are changes related to ASDC controller for evicting database connection pool when ip address changes Included other appllications such as requestDB, CatalogDB, API Handler, BPMN, OpenstackAdapter etc Change-Id: I9a96ea12fb0c10643a204a58d55360bebba326fe Issue-ID: SO-2018 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10Beans fixes to workflow record creationElena Kuleshov1-3/+8
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-10replaced String.repeat with static final stringsBenjamin, Max9-68/+62
replaced String.repeat with static final strings Change-Id: Ife14fde70e8f648881a03e9343ae8faf9cb87e2e Issue-ID: SO-1999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-08Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)1-2/+7
Change-Id: Ib8eaae7ee4a404bde568803afaf6c4e183cbbd53 Issue-ID: SO-2004 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-07Merge "Check if configuration resource already exists."Steve Smokowski1-13/+25
2019-06-06Check if configuration resource already exists.Merkel, Jeff1-13/+25
Check if configuration resource already exists. Change-Id: I359aaa96ef66b37880cf369c3f5bd7bfd828aab1 Issue-ID: SO-1978 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert1-2/+8
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 Smokowski7-28/+67
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>