summaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-10/+198
2019-12-13Merge "Sonar fix logger"Lukasz Muszkieta1-17/+16
2019-12-13Sonar fix loggerArindam Mondal1-17/+16
Issue-ID: SO-2381 Change-Id: I11fb05f86bb4ff4c507a3a627753464cd0a2da17 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-12-04SO CDS Metadata ingestioneeginux2-5/+21
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-22improve error log scoresPlummer, Brittany3-6/+6
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
2019-11-21Added AAF Integration related changesRamesh Parthasarathy5-10/+198
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-11-14Merge "removed unsused ports"Steve Smokowski1-3/+0
2019-11-14Merge "remove delcarartion"Lukasz Muszkieta1-1/+1
2019-11-07removed unsused portsmanisha071-3/+0
Issue-ID: SO-2512 Change-Id: I45c26e8ef38accb1e09237fa1f7e3805f11bf47e Signed-off-by: manisha07 <cmanis10@in.ibm.com>
2019-11-07remove delcarartionmanisha071-1/+1
Issue-ID: SO-2512 Change-Id: I0100e8d17b5c88332033057459d07dccd3b3f9c8 Signed-off-by: manisha07 <cmanis10@in.ibm.com>
2019-11-05- Updated to include getEntity extractMerkel, Jeff1-42/+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, Jeff2-59/+69
- 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- Update ResourceInput column length and checkMerkel, Jeff1-27/+36
- Update ResourceInput column length and check for existing vnfc's. Issue-ID: SO-2462 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0b0168453d3c20bb6d88a33ec82788f449bf3593
2019-10-16Merge "update scheduled tasks to have mdc setup"Steve Smokowski1-1/+13
2019-10-14Merge "General sonar fixes"Lukasz Muszkieta1-1/+1
2019-10-14update scheduled tasks to have mdc setupPlummer, Brittany1-1/+13
Added MDCSetup for Scheduled Tasks Added tests for ScheduledTasksMDCSetup Added required fields for audit log and markers Issue-ID: SO-2444 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I05e8032ed934abd76d898559c51230761d36b78c
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-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, 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