aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller
AgeCommit message (Collapse)AuthorFilesLines
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
2019-06-27Merge "handle multiple cvnfc configs"Steve Smokowski1-15/+23
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-27add rollback ext system error sourcePlummer, Brittany1-1/+4
Added rollbackExtSystemErrorSource column and updated GET orchestrationRequests response Added missing columns from requestDb to schema.sql Change-Id: I2380f08b9bb1c86922e8faea70454df722c0873a Issue-ID: SO-2054 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27Changed dependency back to 1.3.0Benjamin, Max (mb388a)1-1/+1
sdc-distribution-client changed back to 1.3.0 Change-Id: I53fd206c16bdb9c22976b6b671784841923b5295 Issue-ID: SO-2078 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-26Merge "Merge remote-tracking branch 'origin/dublin' into 'origin/master'"Steve Smokowski4-45/+88
2019-06-25Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)4-45/+88
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-21Security updates for maven dependenciesSangalang, Felix1-1/+1
Update commons-collections version to 3.2.2. Updated distribution client version to 1.4.0. Update commons-fileupload to version 1.4. Update commons-codec to version 1.12. Change-Id: I4ab794e3aef7300c30088e5197092fd30231c4af Issue-ID: SO-2043 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18Merge "Changes related to eviction of connections"Steve Smokowski3-23/+35
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)3-23/+35
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 Kuleshov3-34/+60
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)2-2/+60
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, 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-04Handle 201 and 422 status codesElena Kuleshov2-2/+59
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-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