summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-08-21fixing major Sonar IssueThamlurRaju1-6/+22
Add a nested comment explaining why this method is empty Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4M-08if2a6pmAJ&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java Line No- 84 90 107 113 124 130 147 153 Change-Id: I69ae7d5768b4e6faa1b8ffbd434013739f287ecd Issue-ID: VFC-1042 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-21fixing major Sonar IssueThamlurRaju1-0/+2
Add a nested comment explaining why this method is empty Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4M-08if2a6pmAI&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java Line No- 73 Change-Id: If862b880630895e3790773259142d38fdb55d4c9 Issue-ID: VFC-1040 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-21fixing major Sonar IssueThamlurRaju1-0/+2
Add a nested comment explaining why this method is empty Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4M-08if2a6pmAH&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java Line No- 67 Change-Id: Ib247e0f072d349fc04d8ce4a1fa8ed14eab91bac Issue-ID: VFC-1039 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
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=AV8lpfC2-08if2a6pmB4&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java Line No- 185 Change-Id: I0eb22107fa281b6117fceeaa87fba12a27091fcb Issue-ID: VFC-1035 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
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-08if2a6pmCN&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java Line No- 100 Change-Id: I83880e70d7c3dd91b8f344bf01b2184d83b612d0 Issue-ID: VFC-1034 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
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-03-23Update jackson-jaxrs version to latestluxin1-2/+8
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-02Merge "Replace mysql connector with MariaDB connector"Gao Weitao1-2/+2
2018-03-02Replace mysql connector with MariaDB connectorluxin1-2/+2
Change-Id: I11e7b976328ef914da41d4546f505def3f06527e Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-26Improve coverage of res mgr hwKanagaraj Manickam k003651061-4/+10
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 resourceluxin2-0/+5
Change-Id: Ia077192aa8cc4b781fc1b107debcdad158ac6f13 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-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-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 singh8-461/+633
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>
2017-09-27Create customer and ser-subscription for VFCsubhash kumar singh4-53/+136
Create customer and service-subscription for VFC to store service-instance in it. Issue-ID: VFC-462 Change-Id: I23a192dcc0e43098cb49341d07faf211bb945c90 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-26Implement adapter to store vnf in AAIsubhash kumar singh9-26/+512
Implement adapter to store vnf information in AAI. Issue-ID: VFC-462 Change-Id: Id4c876479aab0e0e710b4e0c935326d4902e6a32 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-11Fix some Sonar issues in common util directoryShashank Kumar Shankar6-29/+23
This patch fixes some Sonar issues in common/util directory. Change-Id: I76ae980a3abb1d8a16d0197654cd9d759b13d597 Issue-Id: VFC-331 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-07Change resmanagement the vfc tagluxin117-476/+474
Change NFVO 0.5 to VFC 1.0 Change-Id: Iff5502d77e887403fe0adeff6a542d4c01a43e0d Issue-Id:VFC-273 Signed-off-by: luxin <luxin7@huawei.com>
2017-09-06Remove openo dependency and fix compile problemluxin97-149/+2689
Change-Id: I2fe2180b07acadad5fa332d8c3d338578b6e3943 Issue-Id:VFC-297 Signed-off-by: luxin <luxin7@huawei.com>
2017-09-05Modify the message infoluxin1-10/+8
Change-Id: If0c2fe17470882b7d9456fd28b3098ceae31d95d Issue-Id:VFC-273 Signed-off-by: luxin <luxin7@huawei.com>