aai/esr-server.git
6 years agoUpgrade the version of oparent. 99/38499/2
LiZi [Mon, 26 Mar 2018 11:24:11 +0000 (07:24 -0400)]
Upgrade the version of oparent.

Change-Id: Idc553f92d78c586878a2ffd0e8e7ca5b97252c27
Issue-ID: AAI-941
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoChange the port config about MSB to 443 21/36421/1
LiZi [Mon, 19 Mar 2018 06:36:23 +0000 (02:36 -0400)]
Change the port config about MSB to 443

Change-Id: I526a6c484ed19db0c72e1596100d5cb2419cb0f1
Issue-ID: AAI-892
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoChange the http REST API to https. 41/35141/3
LiZi [Mon, 12 Mar 2018 08:40:46 +0000 (04:40 -0400)]
Change the http REST API to https.

Change-Id: I25365752a881bdda65130ddaabec6305ee31705d
Issue-ID: AAI-851
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoRemove the INFO.yaml 83/34183/1
LiZi [Tue, 6 Mar 2018 02:35:37 +0000 (21:35 -0500)]
Remove the INFO.yaml

There are some miss merged message. AAI/esr is a subproject of AAI and the subproject leader is Zi Li, the company should be ZTE. And the committers for ESR are Zi Li and Qi Sun.

Change-Id: Ida1e6ad2dd83f5d864d462da7b17bddcb248b885
Issue-ID: CIMAN-134
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Fix the bug about nullpointer when update VIM"
Li Zi [Fri, 2 Mar 2018 09:16:17 +0000 (09:16 +0000)]
Merge "Fix the bug about nullpointer when update VIM"

6 years agoFix the bug about nullpointer when update VIM 69/33769/1
LiZi [Fri, 2 Mar 2018 09:12:25 +0000 (04:12 -0500)]
Fix the bug about nullpointer when update VIM

Change-Id: I25d81a88a7fec20a6f1ebca26b727cee64be1d96
Issue-ID: AAI-832
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Add unit test for the newly entity classes."
Li Zi [Fri, 2 Mar 2018 08:24:17 +0000 (08:24 +0000)]
Merge "Add unit test for the newly entity classes."

6 years agoAdd unit test for the newly entity classes. 61/33761/1
LiZi [Fri, 2 Mar 2018 08:15:20 +0000 (03:15 -0500)]
Add unit test for the newly entity classes.

Change-Id: Ie87f678cdaab10322211b546d5defa1e17a8b3c8
Issue-ID: AAI-831
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Add unit test for the newly API."
Li Zi [Fri, 2 Mar 2018 06:30:47 +0000 (06:30 +0000)]
Merge "Add unit test for the newly API."

6 years agoAdd unit test for the newly API. 37/33737/1
LiZi [Fri, 2 Mar 2018 06:14:49 +0000 (01:14 -0500)]
Add unit test for the newly API.

Add unit test for the API of query complexes and create relationship between cloud region and complex

Change-Id: I1a5b4b53346e820f66946482ce27f4273d842e88
Issue-ID: AAI-830
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Get complex name and put it to cloud region"
Li Zi [Fri, 2 Mar 2018 02:20:00 +0000 (02:20 +0000)]
Merge "Get complex name and put it to cloud region"

6 years agoGet complex name and put it to cloud region 03/33703/1
LiZi [Fri, 2 Mar 2018 02:08:47 +0000 (21:08 -0500)]
Get complex name and put it to cloud region

Get complex name by query complex object and put it to cloud region when register VIM.

Change-Id: I1c5a2537b70de5ec8d3630dec6c8b79981445290
Issue-ID: AAI-829
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Create relationship while register VIM."
Li Zi [Fri, 2 Mar 2018 01:05:28 +0000 (01:05 +0000)]
Merge "Create relationship while register VIM."

6 years agoCreate relationship while register VIM. 77/33577/2
LiZi [Thu, 1 Mar 2018 09:06:52 +0000 (04:06 -0500)]
Create relationship while register VIM.

Create relationship between cloud region and complex object while register VIM.

Change-Id: I8bd121ad653cb27fb8a571d4544c10464e2a1fc4
Issue-ID: AAI-827
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Realize the API to get complex object ID."
Li Zi [Thu, 1 Mar 2018 07:41:24 +0000 (07:41 +0000)]
Merge "Realize the API to get complex object ID."

6 years agoRealize the API to get complex object ID. 45/33545/1
LiZi [Thu, 1 Mar 2018 07:11:56 +0000 (02:11 -0500)]
Realize the API to get complex object ID.

Change-Id: Ie70a1352fbdd490b0b4e6ac05ea14fbfa38b9678
Issue-ID: AAI-826
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoMerge "Add complex API definition."
Li Zi [Thu, 1 Mar 2018 03:16:09 +0000 (03:16 +0000)]
Merge "Add complex API definition."

6 years agoAdd complex API definition. 19/33519/2
LiZi [Thu, 1 Mar 2018 02:59:30 +0000 (21:59 -0500)]
Add complex API definition.

Change-Id: I7d1626b9f032901d491be3828db658b01b6d3947
Issue-ID: AAI-823
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoAdd INFO.yaml file 97/32997/1
Jessica Wagantall [Tue, 27 Feb 2018 01:03:11 +0000 (17:03 -0800)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I238c5abab91fc2a67e621e5e3a925f26684e5fff
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoFix the security issue of esr server. 53/32753/1
LiZi [Sat, 24 Feb 2018 09:25:32 +0000 (04:25 -0500)]
Fix the security issue of esr server.

Fix the security issue CVE-2016-3720 and CVE-2017-17485

Change-Id: I3f7d0c4fb841d72e2b463091a5c4b5e5e81f0611
Issue-ID: AAI-592
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoFix the bug about register MSB. 61/30561/1
Lizi [Wed, 7 Feb 2018 01:24:05 +0000 (01:24 +0000)]
Fix the bug about register MSB.

When register service to MSB, esr-server still will register to MSB automaticly

Change-Id: I69769906e87e6b8c9658b05de60af45ed2b47e82
Issue-ID: AAI-738
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoDisplay ESR API with swagger 45/30445/1
Lizi [Tue, 6 Feb 2018 11:49:01 +0000 (11:49 +0000)]
Display ESR API with swagger

When ESR registered to MSB. The API of esr-server can be visited from MSB portal through swagger

Change-Id: I142b79c00920697839f55eac95b50a6072d19ca4
Issue-ID: AAI-735
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoRemove the unused variable in vnfmManagerUtil 97/30397/1
Lizi [Tue, 6 Feb 2018 07:35:32 +0000 (07:35 +0000)]
Remove the unused variable in vnfmManagerUtil

Fix the sonar issue: https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR

Change-Id: I2e6a6ff49f91053020eed7ba1daf98c401887170
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoRemove the unused variable 91/30391/1
Lizi [Tue, 6 Feb 2018 07:26:40 +0000 (07:26 +0000)]
Remove the unused variable

Fix sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=MAJOR|resolved=false

Change-Id: I07cb02bfad47e245e0a76030524a1db15948eb2a
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd a constructive funtion, fix sonar issue. 89/30389/2
Lizi [Tue, 6 Feb 2018 06:49:43 +0000 (06:49 +0000)]
Add a constructive funtion, fix sonar issue.

Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR

Change-Id: I172a75efd156c29faa5b146d73ee1d9d09b5e40a
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoRename variable,fix sonar issue. 87/30387/1
Lizi [Tue, 6 Feb 2018 06:37:29 +0000 (06:37 +0000)]
Rename variable,fix sonar issue.

Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR

Change-Id: I18298cfa2366e95a0bdd254498a4d9c8940dd181
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoFix the sonar issue. 83/30383/1
Lizi [Tue, 6 Feb 2018 06:21:00 +0000 (06:21 +0000)]
Fix the sonar issue.

Change-Id: I6894d0773ef37acea819897cd80a4aa0d2b785af
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoSonar Minor 09/30109/1
PrasadNaidu [Fri, 2 Feb 2018 06:18:25 +0000 (11:48 +0530)]
Sonar Minor

Rename this field to match the regular expression
AaiCommon.java:L24
link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MINOR|rules=squid%3AS3008
Location: src/main/java/org/onap/aai/esr/externalservice/aai/AaiCommon.java
Change-Id: Id6b6db3ac750c1dadc851822ad59e9d3c97fbddf
Issue-ID: AAI-697
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
6 years agoMerge "Add a private constructor"
Li Zi [Thu, 1 Feb 2018 07:27:41 +0000 (07:27 +0000)]
Merge "Add a private constructor"

6 years agoMerge "Fix the sonar issue."
Li Zi [Thu, 1 Feb 2018 07:17:00 +0000 (07:17 +0000)]
Merge "Fix the sonar issue."

6 years agoFix the sonar issue. 49/29949/1
Lizi [Thu, 1 Feb 2018 06:58:59 +0000 (06:58 +0000)]
Fix the sonar issue.

Change-Id: I9f75b3e54ca634c268a8d3f14c29db03d6e263b7
Issue-ID: AAI-723
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoMerge "sonar critical for Design"
Li Zi [Thu, 1 Feb 2018 06:31:53 +0000 (06:31 +0000)]
Merge "sonar critical for Design"

6 years agosonar critical for Design 35/29935/1
Dushyant Singh Thakur [Thu, 1 Feb 2018 05:29:54 +0000 (10:59 +0530)]
sonar critical for Design

Added a private constructor to hide the implicit public one
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=CRITICAL%2CMAJOR|resolved=false|assignees=dthakur
Location:
src/main/java/org/onap/aai/esr/externalservice/aai/AaiCommon.java
Line No-18

Change-Id: I3f47b6de765f6b14871d58c3c9b0d8d0360a76be
Issue-ID: AAI-718
Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
6 years agoAdd a private constructor 27/29927/1
PrasadNaidu [Thu, 1 Feb 2018 04:15:55 +0000 (09:45 +0530)]
Add a private constructor

Add a private constructor to hide the implicit public one
MsbConfig.java

Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR|assignees=PrasadNaidu
Location: src/main/java/org/onap/aai/esr/common/MsbConfig.java

Change-Id: I1a71ffa16a9b57d75a98138492155133e07bf4dc
Issue-ID: AAI-713
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
6 years agoMerge "Fix the security issue about hibernate and ant."
Li Zi [Wed, 31 Jan 2018 00:41:55 +0000 (00:41 +0000)]
Merge "Fix the security issue about hibernate and ant."

6 years agoMerge "Sonar Minor: Remove the thrown runtime exception."
Li Zi [Wed, 31 Jan 2018 00:40:57 +0000 (00:40 +0000)]
Merge "Sonar Minor: Remove the thrown runtime exception."

6 years agoFix the security issue about hibernate and ant. 41/29641/1
Lizi [Tue, 30 Jan 2018 12:13:18 +0000 (12:13 +0000)]
Fix the security issue about hibernate and ant.

Change-Id: Ie2ca3b5e369d709a9d57e514313fe6419f75018a
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd license definition. 83/29583/1
Lizi [Tue, 30 Jan 2018 06:40:21 +0000 (06:40 +0000)]
Add license definition.

Change-Id: I243cd21cd5d2d56f7c9b93c754fb4d48876c07b4
Issue-ID: AAI-703
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoMerge "Remove this unused import java.util.ArrayList"
Li Zi [Tue, 30 Jan 2018 01:15:21 +0000 (01:15 +0000)]
Merge "Remove this unused import java.util.ArrayList"

6 years agoMerge "Move string literal to left side of comparison"
Li Zi [Tue, 30 Jan 2018 01:14:48 +0000 (01:14 +0000)]
Merge "Move string literal to left side of comparison"

6 years agoAdd a private constructor to hide implicit public 63/29463/1
Swapnali Pode [Mon, 29 Jan 2018 07:14:05 +0000 (12:44 +0530)]
Add a private constructor to hide implicit public

Add a private constructor to hide the implicit public one
Config.java:L22

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=MAJOR|resolved=false

Location:
src/main/java/org/onap/aai/esr/common/Config.java

Change-Id: I6247597bebe48365a7fa34ab539b2fddf8d15da7
Issue-ID: AAI-694
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
6 years agoFix an unit error. 79/29279/1
Lizi [Fri, 26 Jan 2018 08:40:37 +0000 (08:40 +0000)]
Fix an unit error.

Change-Id: I0da4787b793245ca2a9d73ea3ba81fb5a464221e
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd the unit test for Vim manage function. 67/29267/1
Lizi [Fri, 26 Jan 2018 07:46:04 +0000 (07:46 +0000)]
Add the unit test for Vim manage function.

Change-Id: Ibe4ed95512af0b67674f2ee14e20924050c1875f
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoChange the unit test of SDNC with mock. 63/29263/1
Lizi [Fri, 26 Jan 2018 06:44:46 +0000 (06:44 +0000)]
Change the unit test of SDNC with mock.

Change-Id: Ic0ae520c481fcf3b154e1cc83c0847094acf4ee2
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoChange the unit test about EMS with mock. 49/29249/1
Lizi [Fri, 26 Jan 2018 03:30:24 +0000 (03:30 +0000)]
Change the unit test about EMS with mock.

Change-Id: Ic78104662666203e3b631d2879a70c94189e01d2
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoChange the unit test about VNFM with mock. 51/29151/1
Lizi [Thu, 25 Jan 2018 12:06:39 +0000 (12:06 +0000)]
Change the unit test about VNFM with mock.

Change-Id: Idd711b1d7772ea0817549fc47ca1d1abd1ddf199
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoChange the static method to unstatic. 49/29149/1
Lizi [Thu, 25 Jan 2018 11:57:36 +0000 (11:57 +0000)]
Change the static method to unstatic.

Change-Id: I47926c5de4d89f203866de663e74f3cec026959d
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoFix the security issue. 25/29125/1
Lizi [Thu, 25 Jan 2018 07:46:54 +0000 (07:46 +0000)]
Fix the security issue.

Change-Id: Id63ea99cf3308406cb2a2ec205f0c1a2d12384e4
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoFix the security issue. 21/29021/1
Lizi [Wed, 24 Jan 2018 09:39:17 +0000 (09:39 +0000)]
Fix the security issue.

Change-Id: I3405ec0460cd7eb24d244d5c94b23d898fbd86a0
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoMove string literal to left side of comparison 89/28989/1
Swapnali Pode [Wed, 24 Jan 2018 06:53:22 +0000 (12:23 +0530)]
Move string literal to left side of comparison

Move true string literal on the left side of this string comparison
ExtsysApp.java:L56

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|assignees=swapnalipode
Location:
src/main/java/org/onap/aai/esr/ExtsysApp.java

Change-Id: I82e43ca7a68322c6d409ecc113932e289721c374
Issue-ID: AAI-691
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
6 years agoRemove this unused import java.util.ArrayList 71/28871/1
Swapnali Pode [Tue, 23 Jan 2018 07:28:01 +0000 (12:58 +0530)]
Remove this unused import java.util.ArrayList

Remove this unused import java.util.ArrayList
VimRegisterInfo.java:L18

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#assigned=false|resolved=false|severities=MINOR

Location:
src\main\java\org\onap\aai\esr\entity\rest\VimRegisterInfo.java

Change-Id: I55354dfaad886dade9310776a5fa1af798ac33df
Issue-ID: AAI-688
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
6 years agoFix the sonar issue. 81/28781/1
Lizi [Mon, 22 Jan 2018 12:02:50 +0000 (12:02 +0000)]
Fix the sonar issue.

Change-Id: Ie704a164dc9ed5d2be247708a24779d97d6b5c15
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoDeal the sonar issue. 51/28751/1
Lizi [Mon, 22 Jan 2018 02:58:34 +0000 (02:58 +0000)]
Deal the sonar issue.

Change-Id: Ic02f862a4652e9daddb78b54b9373275145e252f
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoFix the security issue casused by java-sdk. 31/28631/1
Lizi [Fri, 19 Jan 2018 09:00:47 +0000 (09:00 +0000)]
Fix the security issue casused by java-sdk.

Change-Id: Id7ddf46944a96a2e3724f4d41247bcf1b82e0a8f
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoRaise the version of dropwizard. 71/28371/1
Lizi [Wed, 17 Jan 2018 07:35:16 +0000 (07:35 +0000)]
Raise the version of dropwizard.

Change-Id: I780a348a3b94d0ea583f865d7c62613e0eb5f781
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoFix the sonar issue. 17/28017/1
Lizi [Fri, 12 Jan 2018 06:57:31 +0000 (06:57 +0000)]
Fix the sonar issue.

Change-Id: I477338e083b98f6cc2a80d068229d7c00181b0fc
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd unit test for ems management. 93/27993/1
Lizi [Fri, 12 Jan 2018 02:20:56 +0000 (02:20 +0000)]
Add unit test for ems management.

Change-Id: I21baa89e1517e0f5f208e2ed64d86c4b9c47c6b8
Issue-ID: AAI-637
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoSonar Minor: Remove the thrown runtime exception. 35/27935/1
aishkashyap [Thu, 11 Jan 2018 07:59:11 +0000 (13:29 +0530)]
Sonar Minor: Remove the thrown runtime exception.

Remove the declaration of thrown runtime exception.

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server-parent#resolved=false|severities=MINOR

Location:
src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java

Line No:53

Issue-ID: AAI-624
Change-Id: Ief9b736eebcb1e55bbc61e3a4d223368f97ee19a
Signed-off-by: aishkashyap <as00476394@techmahindra.com>
6 years agoFix the java code style issue. 17/27917/1
Lizi [Thu, 11 Jan 2018 03:29:08 +0000 (03:29 +0000)]
Fix the java code style issue.

Change-Id: Ic4e307ff6bfede6e505b2d758b7f174532b2335b
Issue-ID: AAI-622
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd the unit test for thirdpartySDNC management. 01/27901/1
Lizi [Thu, 11 Jan 2018 01:21:26 +0000 (01:21 +0000)]
Add the unit test for thirdpartySDNC management.

Change-Id: I208af4dbc5e693a7647a9ebf1912826ca849fe89
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoFix the nonstandard coding. 21/27821/3
Lizi [Wed, 10 Jan 2018 10:43:29 +0000 (10:43 +0000)]
Fix the nonstandard coding.

Fix the ArrayList usage, Remove the redundancy newly object.

Change-Id: I0311297d4e1387f89196eab978ed58a86f54cddb
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd unit test for vnfm manage API. 73/27773/1
Lizi [Wed, 10 Jan 2018 02:58:01 +0000 (02:58 +0000)]
Add unit test for vnfm manage API.

Change-Id: I51af8e01b8408acb6e7b0213c2db25c7e49102cd
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd unit test for query vnfm by ID. 19/27719/1
Lizi [Tue, 9 Jan 2018 12:43:30 +0000 (12:43 +0000)]
Add unit test for query vnfm by ID.

Change-Id: I9ad13cf69cff5764173e3c78ed97f4e44df9dcc2
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoadd unit test for vnfmregister. 11/27711/1
Lizi [Tue, 9 Jan 2018 11:37:38 +0000 (11:37 +0000)]
add unit test for vnfmregister.

Change-Id: I90e690efd0f35fff7151650f078e2b77e134b440
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
6 years agoAdd unit tests to increase sonar coverage 39/26339/1
aditya [Thu, 14 Dec 2017 17:51:17 +0000 (11:51 -0600)]
Add unit tests to increase sonar coverage

Add units to common, exception and externalservice packages

Issue-ID: AAI-500

Change-Id: Ie14a8d88c3ec99d362ac49ac30ee92c653409ae8
Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
6 years agoBump minor version 39/23939/2
Jessica Wagantall [Thu, 16 Nov 2017 23:01:57 +0000 (15:01 -0800)]
Bump minor version

Bump minor version in preparation for Amsterdam
branching.

Change-Id: Ic8a6988557b50fa027e24c793b89c1b92b1dd8ef
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
7 years agoFix the issue call multicloud failed. 85/19285/1 1.0.0-Amsterdam v1.0.0
lizi [Tue, 17 Oct 2017 13:19:57 +0000 (21:19 +0800)]
Fix the issue call multicloud failed.

Change-Id: I37b94993967f67f71a29c5b8deaefea7be0db547
Issue-ID: AAI-436
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoInput Tenant to A&AI while register VIM. 43/18743/1
lizi [Fri, 13 Oct 2017 09:37:48 +0000 (17:37 +0800)]
Input Tenant to A&AI while register VIM.

Change-Id: I62498d12592e1b96fbd1b00465bde6248fca747e
Issue-ID: AAI-435
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoFix the issue when call the Multicloud API. 31/18731/2
lizi [Fri, 13 Oct 2017 09:06:10 +0000 (17:06 +0800)]
Fix the issue when call the Multicloud API.

Change-Id: Ia8d6f3f0f8a7989b227fe4fea3fd9c23228a06a6
Issue-ID: AAI-436
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoChange the esr installation guide. 19/18719/1
lizi [Fri, 13 Oct 2017 07:16:04 +0000 (15:16 +0800)]
Change the esr installation guide.

Change-Id: Ib72ad299f5ef8f2acefa8fb7548a4deffba9187c
Issue-ID: AAI-434
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd staging version. 83/18683/1
lizi [Fri, 13 Oct 2017 04:52:13 +0000 (12:52 +0800)]
Add staging version.

Change-Id: I0e600737789de31e4d7743cad2577f6a757a0ca3
Issue-ID: AAI-432
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd the staging docker version. 17/18517/1
lizi [Thu, 12 Oct 2017 11:44:38 +0000 (19:44 +0800)]
Add the staging docker version.

Change-Id: I0870f59827508a519f79624638c38b469729fd16
Issue-ID: AAI-432
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd the release notes doc. 97/18497/1
lizi [Thu, 12 Oct 2017 10:33:57 +0000 (18:33 +0800)]
Add the release notes doc.

Change-Id: I2a2bacd9ec6e5e9d662d9dc963b2fa0111ad7be1
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoRemove the unused doc. 97/18397/3
lizi [Thu, 12 Oct 2017 01:47:18 +0000 (09:47 +0800)]
Remove the unused doc.

Change-Id: Id41fba68c0b575f307a732163ce7d556b90413f4
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoChange the api link from wiki to swagger.json 61/18261/1
lizi [Wed, 11 Oct 2017 10:38:46 +0000 (18:38 +0800)]
Change the api link from wiki to swagger.json

Change-Id: Icd1b9fc292015a0e6ca058bd80a6235b008c33c9
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd swagger.json to main/resources. 57/18257/1
lizi [Wed, 11 Oct 2017 10:34:42 +0000 (18:34 +0800)]
Add swagger.json to main/resources.

Change-Id: Idbe8b45d713017a0dd487037e504238f7a58efcc
Issue-ID: AAI-430
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd consumed api details in doc. 33/18233/1
lizi [Wed, 11 Oct 2017 09:38:40 +0000 (17:38 +0800)]
Add consumed api details in doc.

Change-Id: If05bd6d25aa34b23499d945f33aa63ce0dc6f56e
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd ESR architecture detail. 17/18217/1
lizi [Wed, 11 Oct 2017 08:54:32 +0000 (16:54 +0800)]
Add ESR architecture detail.

Change-Id: I3ffac8c813ee9f251b63bfd17a21edb03ff86d97
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd the installation detail of esr. 83/18183/1
lizi [Wed, 11 Oct 2017 07:28:54 +0000 (15:28 +0800)]
Add the installation detail of esr.

Change-Id: Ib1533a6faf77f2dd56f33ea62f2fd71811f09346
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd doc framwork for esr. 29/18129/1
lizi [Wed, 11 Oct 2017 03:41:41 +0000 (11:41 +0800)]
Add doc framwork for esr.

Change-Id: Iefca392d8367e1a7acbde2ddc5647ad6829ec0ce
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoRemove the snapshot dependency of java-sdk. 95/18095/1
lizi [Wed, 11 Oct 2017 02:14:16 +0000 (10:14 +0800)]
Remove the snapshot dependency of java-sdk.

Change-Id: I50532592da763756cdc657e0c5f960c997689ec8
Issue-ID: AAI-428
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoRemove the oparent snapshot version dependency. 49/17949/1
lizi [Tue, 10 Oct 2017 12:08:15 +0000 (20:08 +0800)]
Remove the oparent snapshot version dependency.

Change-Id: I503ed24490c46e1365052719094571d77ae28f9e
Issue-ID: AAI-428
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd installation guide and api link for doc. 45/17945/1
lizi [Tue, 10 Oct 2017 11:57:08 +0000 (19:57 +0800)]
Add installation guide and api link for doc.

Change-Id: I842c9d2795df1e6f6236caf1bd5c6a5fb629e8d1
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoFix the artifact of esr-server. 79/17879/1
lizi [Tue, 10 Oct 2017 08:26:26 +0000 (16:26 +0800)]
Fix the artifact of esr-server.

Change-Id: I9346c599437530f34471a4381c7271c2ffcbde91
Issue-ID: AAI-426
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoFix the extsys.yml config. 37/17637/1
lizi [Mon, 9 Oct 2017 11:01:31 +0000 (19:01 +0800)]
Fix the extsys.yml config.

Change-Id: Ie6835e9c3c1abb1a05e6996f8c3c82f92b7a5a13
Issue-ID: AAI-420
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd a way to get MSB address in esr-server. 21/17621/1
lizi [Mon, 9 Oct 2017 08:26:04 +0000 (16:26 +0800)]
Add a way to get MSB address in esr-server.

Change-Id: Ib4eaa9e976554a004955c16c85a67dd17ef0cbed
Issue-ID: AAI-420
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoRegister ServiceTest to microservice. 99/16199/1
lizi [Thu, 28 Sep 2017 03:16:06 +0000 (11:16 +0800)]
Register ServiceTest to microservice.

Change-Id: I1072eeff36a848eba35b99511e79906a340c4b53
Issue-ID: AAI-400
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoFix the bug about query VIM. 63/16163/1
lizi [Thu, 28 Sep 2017 01:59:31 +0000 (09:59 +0800)]
Fix the bug about query VIM.

Fix the bug "If a cloud-region didn't contain a external system info, there will be an null pointer error".

Change-Id: I2cdd45bfc9836ce8369feb4d5af6bc6bcee84201
Issue-ID: AAI-398
Signed-off-by: lizi <li.zi30@zte.com.cn>
7 years agoAdd the document file for esr-server. 91/14991/1
lizi00164331 [Mon, 25 Sep 2017 09:09:53 +0000 (17:09 +0800)]
Add the document file for esr-server.

Change-Id: Id2b8f1d87e08fc793459da01ed358a84e59430d9
Issue-ID: AAI-379
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoChange the Exception deal ways for VNFM manager. 37/14937/1
lizi00164331 [Mon, 25 Sep 2017 03:49:16 +0000 (11:49 +0800)]
Change the Exception deal ways for VNFM manager.

Change-Id: I84ef1fbd989b1ba4cc01e0747df021c123d309ef
Issue-ID: AAI-282
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoChange the Exception deal ways for sdnc manager. 33/14933/1
lizi00164331 [Mon, 25 Sep 2017 03:41:51 +0000 (11:41 +0800)]
Change the Exception deal ways for sdnc manager.

Change-Id: I6cd6da374d87d973e1ae9d546a824e573ec0ddf9
Issue-ID: AAI-282
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoFix the exception deal way of Ems manager. 31/14931/1
lizi00164331 [Mon, 25 Sep 2017 03:29:49 +0000 (11:29 +0800)]
Fix the exception deal way of Ems manager.

Change-Id: I9908b88a8fbc969e7029e5a4d3aed54783bfd352
Issue-ID: AAI-282
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoChange the usage of Exception in external system. 21/14921/1
lizi00164331 [Mon, 25 Sep 2017 02:57:52 +0000 (10:57 +0800)]
Change the usage of Exception in external system.

Do not use Exception directly according to sonar.

Change-Id: I580ce22a7cde5eebfa18f4813a9754b066866031
Issue-ID: AAI-282
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoAdd unit test case for VNFM register util. 21/14821/1
lizi00164331 [Sat, 23 Sep 2017 07:11:36 +0000 (15:11 +0800)]
Add unit test case for VNFM register util.

Change-Id: I1324d641812330732a5634c5d7cd74d9aed206c2
Issue-ID: AAI-376
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoAdd unit test case for VIM register utils. 99/14799/1
lizi00164331 [Sat, 23 Sep 2017 06:31:17 +0000 (14:31 +0800)]
Add unit test case for VIM register utils.

Add unit test case for VIM register utils.
Clean the unused code.

Change-Id: I2b097d566f2f7ddebe8f107bf51e78aad194b5a3
Issue-ID: AAI-375
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoChange the exception throw way for VIM register. 85/14585/2
lizi00164331 [Fri, 22 Sep 2017 11:32:35 +0000 (19:32 +0800)]
Change the exception throw way for VIM register.

Change-Id: I8d67a08793a8d19bb12d0bd2cdbcc1300495abbe
Issue-ID: AAI-371
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoChange the static method in VIM. 67/14567/1
lizi00164331 [Fri, 22 Sep 2017 10:54:01 +0000 (18:54 +0800)]
Change the static method in VIM.

Change-Id: Ia6f88207fbdf13c11ed730faac1c76485e54d11c
Issue-ID: AAI-370
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoAdd unit test for sdnc register util. 39/14539/1
lizi00164331 [Fri, 22 Sep 2017 09:17:51 +0000 (17:17 +0800)]
Add unit test for sdnc register util.

Change-Id: Iad95dbb87082991f5bb1f0ab0dd9e00cf9ba115d
Issue-ID: AAI-368
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoFix the vnfm register issue. 33/14533/1
lizi00164331 [Fri, 22 Sep 2017 09:11:48 +0000 (17:11 +0800)]
Fix the vnfm register issue.

Change-Id: Ia5c877454cddcd67a32753f06917b67fbdcca5fc
Issue-ID: AAI-369
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
7 years agoAdd unit test for EmsManagerUtil. 97/14497/1
lizi00164331 [Fri, 22 Sep 2017 07:41:29 +0000 (15:41 +0800)]
Add unit test for EmsManagerUtil.

Change-Id: Id7e733aa1c7bf8f34c75ecb7fdbf33de0e48e7de
Issue-ID: AAI-367
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>