summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-08Merge "Fix resourceIndex to model"Seshu Kumar M1-0/+11
2019-05-07Fix resourceIndex to modelsubhash kumar singh1-0/+11
Fix resourceIndex to model in json mapping. Change-Id: Ia609d3eb381b14fc5654774e83f8417a4d876e91 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-07Update the format of resourceInputzm3306-12/+21
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 "Resume APIH Functionality"Steve Smokowski13-81/+781
2019-05-06Merge "Fixed NPE in ResourceRequestBuilder"Seshu Kumar M1-5/+9
2019-05-06Fixed NPE in ResourceRequestBuilderr.bogacki1-5/+9
Fixed possible NullPointerException in ResourceRequestBuilder according to the Sonar analysis. Change-Id: Ide97a1a6439342ef55fc490916c945d194d4e518 Issue-ID: SO-1498 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-05-06Merge "update the version of plugin to fix jenkins docker"Seshu Kumar M1-1/+1
2019-05-06Merge "Check variable to determine audit success"Seshu Kumar M1-114/+153
2019-05-06Merge "Invoke prepare instance resource list from bpmn"Seshu Kumar M2-75/+90
2019-05-06Invoke prepare instance resource list from bpmnsubhash kumar singh2-75/+90
Invoke prepare instance resource list from bpmn. Change-Id: I9a116eaee3800bfc061f986e0e5aea75d2f88598 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-05update the version of plugin to fix jenkins dockerKalkere Ramesh, Sharan1-1/+1
update the version of fabric8 to fix jenkins docker push Change-Id: I5b827bd56bf4d58763bf9d5eaa87d3218ba85c1c Issue-ID: SO-1848 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-05Check variable to determine audit successBoslet, Cory1-114/+153
Added gateway to check variable to determine audit success due to external task not throwing bpmn error. Change-Id: I35acbb46ea40d83f2af78e2bf99f07193401a2a6 Issue-ID: SO-1832 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-05Resume APIH FunctionalityPlummer, Brittany13-81/+781
Updated license for 2019 and added null check test Moved record creation to RequestHandlerUtils Updated uri retrieval to obtain full uri Updated verify based on actual objects Renamed tests for better description Removed use of Spring in unit tests Moved constant to other logger files Added new class to JerseyConfiguration Separated resume request work to separate file Updated value that progress is saved as in db Added new original_partner_name key for partnername retrieval Added column for progress to be saved to db Added additional columns to be saved to requestDb Added inProgress request check to resume Change-Id: I9ef1e61829be49da348b29bc255beb073b48639d Issue-ID: SO-1831 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-03Merge "Update oparent version"Marcus Williams1-1/+1
2019-05-03Merge "Merge remote-tracking branch 'origin/dublin'"Marcus Williams8-81/+283
2019-05-03Merge remote-tracking branch 'origin/dublin'Benjamin, Max (mb388a)8-81/+283
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 M3-32/+74
{key2:vf_prop_list,INDEX,key|default}"
2019-05-02Update oparent versionJessica Wagantall1-1/+1
Update oparent version to 2.0.0 which supports global-jjb maven-stage job. Change-Id: I50382154cac487247c3824cff802fb7993b5c3ae Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-05-02Merge "test suite file moving"Seshu Kumar M1-1/+1
2019-05-02Merge "replace System.out by logger"Seshu Kumar M3-8/+19
2019-05-02Merge "Modify instance resource list creation"Seshu Kumar M5-90/+322
2019-05-02test suite file movingLukasz Muszkieta1-1/+1
not all test are taken into suite, the test suite file should be moved up Change-Id: I4ee4911bee9ee583a6fe3ec4f5edd8c669f75b4d Issue-ID: SO-1843 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-05-02Modify instance resource list creationsubhash kumar singh5-90/+322
Modify instance resource list creation to avoid hard locking of model name in UUI request. e.g. VF resource and gruop resource has resource input vf { resource_input : { key1:value2, key2:[vf_prop_list,INDEX,key]|default} Derive the key ("vf_prop_list") from resource input and use this info to map UUI request. UUI req: { ... resourceInput: { vf_prop_list : /// mapped with resource input of resource { .... Change-Id: Ic40079a094b2628bcf6f5758121b7492ee3c1353 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-02Merge "Removal of unused local variables. Removal of unused local variables ↵Seshu Kumar M2-17/+16
as per guidelines. Issue-ID: SO-1490"
2019-05-02Merge "Sonar fix NullPointerException"Seshu Kumar M1-1/+3
2019-05-02replace System.out by loggerk.kazak3-8/+19
Fix sonar issues connected to using System.out instead of Logger: VnfInstantiationNotification, VnfmAdapterCreationNotification, VnfmAdapterDeletionNotification Change-Id: I7385cbbf41c68d752e76c6ad277aec004a3cca8a Issue-ID: SO-1811 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-05-02Enhanced logic for multilevel list input reading from UUIsarada prasad sahoo7-32/+533
Logic modified to support VF and VFC/group level user input reading from the list and automatically incrementing/maintaining index of list for fetching data from User input and map to service inputs. Change-Id: I9faa7e9a689324e80c1e5123e0d4c2ebedd1bf76 Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-04-30Add Model Version QuerySmokowski, Steven27-30/+1520
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 inputzm3303-32/+74
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-30Sonar fix NullPointerExceptionArindam Mondal1-1/+3
Issue-ID: SO-1829 Change-Id: I2b09733698391607989c2289b8c9f8ba5cdfabe4 Signed-off-by: arind.mondal <arind.mondal@samsung.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, Jeff2-59/+117
- 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-29Merge "VNFM simulator implementation for delete flow"Steve Smokowski7-121/+274
2019-04-29Merge "Fixed issues found in delete integration testing"Steve Smokowski8-49/+131
2019-04-29Merge "Store Cloud Request in Database"Steve Smokowski19-135/+439
2019-04-29Merge "created new custom exception"Steve Smokowski1-0/+17
2019-04-29Merge "repeat distribution transaction error" into dublinSteve Smokowski3-22/+137
2019-04-29VNFM simulator implementation for delete flowMichaelMorris7-121/+274
Issue-ID: SO-1773 Change-Id: I14c8325dbb8fbdaebff7b7ec674fd0ddbb5930c3 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-29Fixed issues found in delete integration testingMichaelMorris8-49/+131
Issue-ID: SO-1827 Change-Id: I73fdcad3d466634cea850e4df10291a66ec2aa61 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-29Merge "Do not need to retry on inventory exception" into dublinSeshu Kumar M2-2/+30
2019-04-29Removal of unused local variables.h003974752-17/+16
Removal of unused local variables as per guidelines. Issue-ID: SO-1490 Change-Id: I2513b2b2751d31c94d7a0d8ba29c55139856d3a4 Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-28Store Cloud Request in DatabaseSmokowski, Steven19-135/+439
Store Cloud Request in Database, add to request service Add query Param to Plural to include cloud data Change-Id: If906d28d0dc9c0c804e550e2074af3d75ba46d32 Issue-ID: SO-1807 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-28Merge "Sonar comments fixed Removed commented lines/ Change static string ↵Seshu Kumar M1-2/+1
litrals name according to the guidelines. Issue-ID: SO-1490"
2019-04-28Merge "Sonar comments fixed Removed commented lines/ Change static string ↵Seshu Kumar M3-32/+34
litrals name according to the guidelines. Issue-ID: SO-1490"
2019-04-28Add parsing for support of new CCVPN modelsubhash kumar singh2-0/+171
Update the resource_list logic to create the resource as per new CCVPN model. e.g. new model UUI request to create the service with this input // [ // { VFB1 : [GrpA1, GrA2, GrB1]}, // { VFB2 : [GrpA1, GrB1]}, // { VFA1 : [GrpC1]} // ] should be converted to // [ // { VFA1 : [GrpA1, GrA2, GrB1]}, // { VFA2 : [GrpA1, GrB1]}, // { VFB1 : [GrpC1]} // ] as per resource ordering. Change-Id: I79a30d5080d2551eb7e1944cc4f25d5332d22d4f Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.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-27Enhance resource sequence to add groupsubhash kumar singh3-2/+30
Enhance resource sequence to add group. Change-Id: I9f7ad2a437cd66ba3b8382f3937b0b04752a184a Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-27Enhanced Service decomposition to handle gruopsubhash kumar singh7-4/+166
Enhanced Service decomposition to handle gruop and vnfcs Issue-ID: SO-1393 Change-Id: If28416e4776f2ff645abdd0d1059d28c9ca6e52f Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-27Sonar comments fixedSubhosree Pan1-2/+1
Removed commented lines/ Change static string litrals name according to the guidelines. Issue-ID: SO-1490 Change-Id: I77a0b2a5067d71ede2de8e090ed4d0b1fb61e219 Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>