summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service
AgeCommit message (Collapse)AuthorFilesLines
2018-08-17fixing major Sonar IssueThamlurRaju1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpfDZ-08if2a6pmCM&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java Line No- 78 Change-Id: Ia7abcafbf1b7576178378b98099a1f0155280d32 Issue-ID: VFC-1033 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major Sonar IssueThamlurRaju1-1/+0
Remove this unused This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV81F2WC-08if2a6qGus&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/VnfAaiDaoImpl.java Line No- 151 Change-Id: I99b9855c1bc500c784af9d9241f96cbb3d4c0290 Issue-ID: VFC-1032 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major IssueThamlurRaju1-7/+0
Remove this unused This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java Line No- 88 90 93 Change-Id: Ifebd451288143d067fe35dbdce467f5323f01e35 Issue-ID: VFC-1029 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-16fixing major IssueThamlurRaju1-2/+0
Remove this unused TYPE_DELETE private field Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java Line No- 52 Change-Id: I1afa837c1ad339b89c2b31f6a5a417a0373ac7a1 Issue-ID: VFC-1028 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-07-26Merge "Update VimID in grant interface as optional"Yan Yang1-2/+10
2018-07-20FIX USING TRY WITH RESOURCESKrishnajinka1-29/+4
ISSUE RAISED BY SONAR ABOUT CLOSING RESOURCES OPENED EFFICIENTLY USING TRY WITH RES CONSTRUCT Issue-ID: VFC-966 Change-Id: I11d0bf12300fe6b47dd8ac63d03d32864de41808 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-05-30Fix API change from accessinfo to accessInfov1.1.02.0.0-ONAPbeijing2.0.0-ONAPDenes Nemeth1-3/+3
Change-Id: If3720aaa67ca46edadc9558cf9cf7967b76353f9 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-927
2018-05-03Update VimID in grant interface as optionalVictor Gao1-2/+10
it should be optional from VNFM and Resouce Manager could provide the specific vim by specific rules (e.g. storage first or performance first). but for now,we dont have the interface/capability to pass the "rules"to resource Manager. resource Manager could integrate OOF which may provide this capabilities or interface. Change-Id: I91faba8d573680beecf81dc88a252e34150b3b0b Issue-ID: VFC-604 Signed-off-by: victor.gao <victor.gao@huawei.com>
2018-04-04Update spring-web versionluxin1-1/+1
Change-Id: I8db4aecff68958cb3bd7fe46871975ced6ddd728 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-04-03Fix spring-web nexus-iq issueluxin1-1/+1
Change-Id: I23c38d19446a70ecc7e525b80f4f8f52e49be60a Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-23Update jackson-jaxrs version to latestluxin2-5/+12
Change-Id: Ic37447f0c2b6e6cb9f7b848c4ccc3e424d8d4713 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-15Update resmanage log pathluxin1-2/+3
Change-Id: I13907bf673dc5d032a5acc1428af9327afec0837 Issue-ID: VFC-816 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-14Specify the output path of logluxin1-1/+6
Change-Id: Icfae31f3626a781d14d88f37343dda6056416dfc Issue-ID: VFC-816 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-05Update jackson versionluxin1-43/+51
Change-Id: I9c909349044874560b3d0d0b14351d7a8d7b1941 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-02Merge "Replace mysql connector with MariaDB connector"Gao Weitao2-2/+9
2018-03-02Replace mysql connector with MariaDB connectorluxin2-2/+9
Change-Id: I11e7b976328ef914da41d4546f505def3f06527e Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-26Improve coverage of res mgr hwKanagaraj Manickam k003651062-6/+28
Issue-ID: VFC-764 Change-Id: I26052d87054fb447fa5c0da0d22dd90e1b69cbf5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-22Improve realiabilty by using sleep instead of waitKanagaraj Manickam k003651061-6/+1
Issue-ID: VFC-764 Change-Id: I6b91a1c3d5655eb0bdae9549f4d630094c55df8e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-20Sonar fix for improving maintainabilityKanagaraj Manickam k003651062-4/+6
Issue-ID: VFC-764 Change-Id: I73e952241d07c543a3e3d02e6de9cbecf724a9b7 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-16Improve code reliabilityKanagaraj Manickam k003651063-20/+31
Issue-ID: VFC-764 Change-Id: Ie2319959be8ebb28025f1c99abdd231fba96f0a3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-16Make sure the streams are closed properlyKanagaraj Manickam k003651061-19/+9
Issue-ID: VFC-764 Change-Id: Ic7544a690a5bd64582344946fd8c419ad7b89ca6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-11UT case increase for grant resourceluxin3-0/+178
Change-Id: Ia077192aa8cc4b781fc1b107debcdad158ac6f13 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-11Add UT case for grant resourceluxin1-0/+90
Change-Id: I4989145288ecd3b971d64f5565308aabbb485ba0 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-11Increase test for GrantResServiceImplluxin1-0/+48
Change-Id: Iaa1ddba7bb79f9fd620186d8ed4b380687a29089 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Add UT for NsEntityluxin1-1/+15
Change-Id: Ie1cdb7487b8fcc3b772c85644ffb17e31b26a2c4 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Add nsEntity test caseluxin1-0/+49
Change-Id: Ieeda965a313ea4edf7a0d42b3ed2e0af0e317a8e Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Add test case for resmgrluxin1-0/+51
Change-Id: I2818886baaa5d9b6a0be6324b8f991dc12700e0c Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Remove unused UT for resmgrluxin2-97/+28
Change-Id: I9b8fa5a83d49972795d30ecc47cc861da7a75001 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-03description Replaced by constantluxin2-4/+7
Change-Id: Ieeee362199b2d3b9b74f3cf6d75d26b58ad7f6dc Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-30Fix the failed UT caseluxin1-2/+1
Change-Id: I35aea98170b1fd9cd7fac486dd161af5f52486fd Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-30Handle the contextluxin1-4/+4
Change-Id: I0a9b7c3cf4d11151c2184a52704fc8783537b1d5 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-30Remove printStackTrace of exceptionluxin1-10/+0
Change-Id: Icc2749ba0d5de8875102b78846064326a3d6d281 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-29Log the exceptionluxin1-0/+10
Change-Id: Ie5e8fa43f583d20ba6290377be719febea0b85de Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-27Define constant instead of literalluxin1-33/+45
Change-Id: Ied92dbab134e37b3be949e420c9f7579ef18f304 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-25vimId Replaced by PARAM_VIMIDluxin1-4/+4
Change-Id: Idcde7837f0734e5980caaa7641310b2c01b3d798 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-24vnfInstanceId Replaced by constantluxin2-5/+8
Change-Id: I059ea8917d46bb7eed009f5ccb01419857c6c0e1 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-24Remove todo commentluxin1-3/+2
Change-Id: I925f281143c3b625be7028a2ddfa834f72118888 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-22Modify log infomationluxin1-1/+1
Change-Id: I06b67a44021f2478887c7bb96a877e8b4506a2ad Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-22Add ResponseContent into log infoluxin1-1/+2
Change-Id: Ib796ba62de16905028825793b5868d6b31ec998d Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2017-12-08Update vfc-resmgr versionluxin2-15/+2
Change-Id: I83fef261e53daacdcd3fb80d29d65d75d86a5e71 Issue-ID: VFC-614 Signed-off-by: luxin <luxin7@huawei.com>
2017-11-06Fix services.xml for resmgrv1.0.01.0.0-ONAP1.0.0-Amsterdamluxin1-3/+3
Change-Id: Ic5211977957582bcc85de4750aaff12fbd7783e3 Issue-Id:VFC-552 Signed-off-by: luxin <luxin7@huawei.com>
2017-10-26Add LOGGER and javadoc for queryVimluxin1-1/+10
Change-Id: Icd8e6009397171970a9cba3a4f5a95a545204fe7 Issue-Id:VFC-552 Signed-off-by: luxin <luxin7@huawei.com>
2017-10-26Fix ESR interface bugluxin2-27/+55
Change-Id: I9678ff291f1a914fbedaa338c139b73bb8981d88 Issue-Id:VFC-552 Signed-off-by: luxin <luxin7@huawei.com>
2017-10-20Fix vim info from esrluxin2-6/+73
Change-Id: Ic08ddf57fa8b908ea71865715146729f6e5dc6a6 Issue-Id:VFC-542 Signed-off-by: luxin <luxin7@huawei.com>
2017-10-19Remove property from bean definationsubhash kumar singh1-1/+0
Remove property from bean defination as property is not available in class. Change-Id: Ib064769c34861374594af499eb414fc60fe9465a Issue-ID: VFC-545 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-19Implement to store network service to AAIsubhash kumar singh9-462/+634
Implement to store network service to AAI Change-Id: I09adfc19d64bfffbfcdb62a1b0353b446a5c5cf5 Issue-ID: VFC-462 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-19Integrate VM related operation with AAIsubhash kumar singh11-42/+363
Integrate VM related operation with AAI. Change-Id: Iac4eb1a8bc8cf2bcd614ef12c124f6164dd1343c Issue-ID: VFC-462 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-19Add config file to store cloud-region and tenantsubhash kumar singh3-0/+79
Add config file to store cloud region and tanant which is required for vserver related operation. Issue-ID : VFC-462 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: I2d261ce8b0ac3e8b31451befbded9e9076f8ee0d Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-19Relationship implementation for generic-vnfsubhash kumar singh4-33/+259
Add relationship between generic-vnf, service-instance and esr-vnfm to store vnfm related info. Issue-ID: VFC-462 Change-Id: I917d1f22065f46a663cb58f1c5be289bb4275648 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-18Fix grant resource interfaceluxin2-36/+81
Change-Id: I2536f353a57dbf119cd9c95c07d192c519112ba1 Issue-Id:VFC-541 Signed-off-by: luxin <luxin7@huawei.com>