aai/esr-server.git
4 years agoUpversion to oparent 2.0.0 68/90868/1 1.5.0
Kajur, Harish (vk250x) [Wed, 3 Jul 2019 21:03:29 +0000 (17:03 -0400)]
Upversion to oparent 2.0.0

Issue-ID: AAI-2488
Change-Id: Ifc2d92c2a774e2e4614d23bb62b89d194fbc2513
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
4 years agoUpversion in preparation of initial release 35/90135/1
Kajur, Harish (vk250x) [Wed, 19 Jun 2019 01:43:14 +0000 (21:43 -0400)]
Upversion in preparation of initial release

Issue-ID: AAI-2488
Change-Id: If05a9dabfaab114fa325ab8dd2bf432dde88e67d
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd Nfvo external system backend changes in ESR 35/82935/3 dublin 1.4.0 4.0.0-ONAP
udhaya chandran [Thu, 21 Mar 2019 13:40:06 +0000 (19:10 +0530)]
Add Nfvo external system backend changes in ESR

Change-Id: I6a2bbebf5f750c9e89bb9d88caba9e8bcfa35c25
Signed-off-by: udhaya chandran <udhayachandran.m@verizon.com>
Issue-ID: AAI-2206
Depends-on: I71601180d47fe3de71ddbc07a4c54db7b398f520

5 years agoMerge "Add missing INFO.yaml blocks"
James Forsyth [Tue, 12 Mar 2019 02:31:25 +0000 (02:31 +0000)]
Merge "Add missing INFO.yaml blocks"

5 years agofix esr does not store ssl-cacert to aai error 50/79750/2
Lvbo163 [Wed, 6 Mar 2019 03:06:24 +0000 (11:06 +0800)]
fix esr does not store ssl-cacert to aai error

Issue-ID: AAI-2041

Change-Id: If49853a56bca147726cc061c04373c1a6fad46cc
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoAdd missing INFO.yaml blocks 34/79534/1
Jessica Wagantall [Sat, 2 Mar 2019 02:24:57 +0000 (18:24 -0800)]
Add missing INFO.yaml blocks

Add missing information so that the new verify
job passes. Fix indentation.

Change-Id: Iddaff560437b43fd1a1932c8f49037e50cf936eb
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoBump pom and version 86/79086/2
Lvbo163 [Mon, 25 Feb 2019 08:44:52 +0000 (16:44 +0800)]
Bump pom and version
Issue-ID: AAI-2022

Change-Id: I1dc12f0fcfe34819d1b9ad39d380d252ae2f0060
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoAdd INFO.yaml file 84/79084/1
Lvbo163 [Mon, 25 Feb 2019 08:36:36 +0000 (16:36 +0800)]
Add INFO.yaml file

Issue-ID: AAI-2019

Change-Id: I2420379ce5d367c17000f6459cdaf38701cc9b3d
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoMerge "Updated: Hyperlink missing"
James Forsyth [Fri, 15 Feb 2019 21:41:25 +0000 (21:41 +0000)]
Merge "Updated: Hyperlink missing"

5 years agoAdd missing links to offeredapis.rst 82/77682/1
Lvbo163 [Fri, 1 Feb 2019 02:24:21 +0000 (10:24 +0800)]
Add missing links to offeredapis.rst

Issue-ID: AAI-2059

Change-Id: I36df1fa935abe17479edb371d00c2f9c0c09ec46
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoUpdated: Hyperlink missing 36/77636/1
Manish Kumar [Thu, 31 Jan 2019 10:50:44 +0000 (16:20 +0530)]
Updated: Hyperlink missing

Issue-ID: AAI-2131

Change-Id: I39e6ed89b8ad04b72ff025a112e9b269be392e84
Signed-off-by: Manish Kumar <manishjpiet@gmail.com>
5 years agoFix esr security vulnerabilites 21/71521/1
Lvbo163 [Wed, 31 Oct 2018 04:56:47 +0000 (12:56 +0800)]
Fix esr security vulnerabilites

Update ant to 1.10.5

Issue-ID: AAI-1749
Change-Id: I2a56e197e8a894fd2dc7ec249aa9a2b2da59f4d3
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoFix esr security vulnerabilites 77/71377/3
Lvbo163 [Mon, 29 Oct 2018 07:51:24 +0000 (15:51 +0800)]
Fix esr security vulnerabilites

Remove unused hibernate reference from pom

Issue-ID: AAI-1749

Change-Id: Ica21196359d3b618610f46cfe8933880ab5ace58
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoUpversion ESR GUI repo 78/71278/1
Kajur, Harish (vk250x) [Thu, 25 Oct 2018 22:22:34 +0000 (18:22 -0400)]
Upversion ESR GUI repo

Issue-ID: AAI-1768
Change-Id: I43248f444572d8b4677371849b5912e03892ed96
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoUpdate aai-esr-server repo version 20/71220/3 1.2.1 3.0.0-ONAP
Lvbo163 [Thu, 25 Oct 2018 07:37:23 +0000 (15:37 +0800)]
Update aai-esr-server repo version

Issue-ID: AAI-1767

Change-Id: I5b06941e6cb70c1113ccb4b831b7c6db3af36433
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
5 years agoMerge "Refactor cloud region registration logic"
James Forsyth [Wed, 24 Oct 2018 20:37:51 +0000 (20:37 +0000)]
Merge "Refactor cloud region registration logic"

5 years agoRefactor cloud region registration logic 07/64307/1
Bin Yang [Tue, 4 Sep 2018 02:20:41 +0000 (02:20 +0000)]
Refactor cloud region registration logic

Invoke the upgraded MultiCloud API for registration

Change-Id: I1ec415b496bb6d5798db1388e4074b4bae76e278
Issue-ID: AAI-1560
Signed-off-by: Bin Yang <bin.yang@windriver.com>
5 years agoUse managed guava version 71/62471/2
Gary Wu [Fri, 24 Aug 2018 22:14:47 +0000 (15:14 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I75510db418f4d283f291a275761f1aaf71025a10
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agoFix the nullpointer error when register PNF 79/61779/1
Li Zi [Wed, 22 Aug 2018 06:31:00 +0000 (06:31 +0000)]
Fix the nullpointer error when register PNF

Issue-ID: AAI-1496

Change-Id: I2fac156cb35e0a2306abac104a11581f9e363b71
Signed-off-by: Li Zi <li.zi30@zte.com.cn>
5 years agoAdd unit test for PNF registration function. 03/61503/1
Zi Li [Tue, 21 Aug 2018 08:28:42 +0000 (08:28 +0000)]
Add unit test for PNF registration function.

Issue-ID: AAI-1500

Change-Id: I2eca9b2baf5be61009c1ad72c91a056107c72bde
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoRealize the update PNF API. 65/61465/1
Zi Li [Tue, 21 Aug 2018 06:23:46 +0000 (06:23 +0000)]
Realize the update PNF API.

Issue-ID: AAI-1522

Change-Id: I606c0b1b305b26fd51d640899596dfccf4adfb34
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoRealize the delete PNF list API. 31/61431/1
Zi Li [Tue, 21 Aug 2018 03:18:38 +0000 (03:18 +0000)]
Realize the delete PNF list API.

Issue-ID: AAI-1499

Change-Id: I443d9bb7459058b7387d2170d5e43530de1efece
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoRealize the query PNF list API. 27/61427/1
Zi Li [Tue, 21 Aug 2018 02:39:58 +0000 (02:39 +0000)]
Realize the query PNF list API.

Issue-ID: AAI-1497

Change-Id: I3765fbd3313bdb16ed75fd9ce072cc707399ad43
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoAdd the API of query PNF. 83/61283/1
Zi Li [Mon, 20 Aug 2018 12:05:39 +0000 (12:05 +0000)]
Add the API of query PNF.

Issue-ID: AAI-1498

Change-Id: Ie073f6b2643324b2038a2404886fa6e0286ab326
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoRealize the PNF registration API 37/61237/3
Zi Li [Mon, 20 Aug 2018 09:11:48 +0000 (09:11 +0000)]
Realize the PNF registration API

Issue-ID: AAI-1496

Change-Id: Iece0706db599990131fef2fa1b6b9159e8f967e4
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoDefine attributes about PNF 23/61223/1
Zi Li [Mon, 20 Aug 2018 07:27:43 +0000 (07:27 +0000)]
Define attributes about PNF

Issue-ID: AAI-1495

Change-Id: I8a6cc5320447866a4cb232623aaf9cfd432803bf
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoAdd the framework for PNF registration function 59/61059/1
Zi Li [Fri, 17 Aug 2018 09:01:21 +0000 (09:01 +0000)]
Add the framework for PNF registration function

Issue-ID: AAI-1494

Change-Id: I1e10328fbd2efeabe5f9a9f26e7d9b818db88ab1
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
5 years agoFix the security issue about jetty 87/60487/2
Li Zi [Tue, 14 Aug 2018 07:58:54 +0000 (07:58 +0000)]
Fix the security issue about jetty

Issue-ID: AAI-1475

Change-Id: Iefff5dd5e1e14ed0a40da862018e9d1285a573f6
Signed-off-by: Li Zi <li.zi30@zte.com.cn>
5 years agoFix the grammer issue in Dockerfile 71/57671/1
LiZi [Thu, 26 Jul 2018 09:07:59 +0000 (09:07 +0000)]
Fix the grammer issue in Dockerfile

Issue-ID: AAI-1423

Change-Id: I2a80807784e06158a3b3717f72907cbb6811d6de
Signed-off-by: LiZi <li.zi30@zte.com.cn>
5 years agoset the ENV in shell instead of Dockerfile 65/57665/1
LiZi [Thu, 26 Jul 2018 08:30:52 +0000 (08:30 +0000)]
set the ENV in shell instead of Dockerfile

the dpkg command did not work in Dockerfile. So move it to docker-entrypoint.sh

Issue-ID: AAI-1423

Change-Id: Ib4d289faa2847b3c27935643dae299a76fbf8bab
Signed-off-by: LiZi <li.zi30@zte.com.cn>
5 years agoMerge "Upversion the esr server to 1.2.0"
Li Zi [Wed, 25 Jul 2018 01:00:58 +0000 (01:00 +0000)]
Merge "Upversion the esr server to 1.2.0"

5 years agoMerge "Update architecture diagram"
Li Zi [Wed, 25 Jul 2018 01:00:48 +0000 (01:00 +0000)]
Merge "Update architecture diagram"

5 years agoUpversion the esr server to 1.2.0 97/56797/1
Kajur, Harish (vk250x) [Wed, 18 Jul 2018 23:17:24 +0000 (19:17 -0400)]
Upversion the esr server to 1.2.0

Issue-ID: AAI-1390
Change-Id: I02ab1fd4f3bebc6a3fab52b93652d07c7548bc87
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoMerge "Dynamically determine image architecture"
Li Zi [Fri, 29 Jun 2018 08:04:38 +0000 (08:04 +0000)]
Merge "Dynamically determine image architecture"

5 years agoMerge "Pin jnr-unixsocket for Docker plugin to 0.13"
Li Zi [Fri, 29 Jun 2018 08:02:43 +0000 (08:02 +0000)]
Merge "Pin jnr-unixsocket for Docker plugin to 0.13"

5 years agoUpdate architecture diagram 55/50755/1
Jimmy Forsyth [Wed, 6 Jun 2018 18:04:03 +0000 (14:04 -0400)]
Update architecture diagram

Issue-ID: AAI-1121
Change-Id: I4ce86181a503ab78eca7ed4d4e35004a44423755
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoFix the docker tag. 51/44551/1 2.0.0-ONAP 2.0.0-ONAP v1.1.0
LiZi [Wed, 25 Apr 2018 02:09:12 +0000 (22:09 -0400)]
Fix the docker tag.

Change-Id: Ibea68ba95a84dc491b0e3ee8d8e21b26cab1d5de
Issue-ID: AAI-1095
Signed-off-by: LiZi <li.zi30@zte.com.cn>
5 years agoSecurity: dropwizard in esr-server 45/44545/1
LiZi [Wed, 25 Apr 2018 01:13:22 +0000 (21:13 -0400)]
Security: dropwizard in esr-server

Change-Id: Id6ededdda5439ce2400fce445f9e9b0df1f2eac9
Issue-ID: AAI-977
Signed-off-by: LiZi <li.zi30@zte.com.cn>
5 years agoFix HTTP protocol used over HTTPS port 49/44049/1
Denes Nemeth [Sat, 21 Apr 2018 13:45:59 +0000 (15:45 +0200)]
Fix HTTP protocol used over HTTPS port

Change-Id: I24ebeb65e2cd1d0177dbd7f826d0275ce235dea7
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Issue-ID: MSB-195

6 years agoDynamically determine image architecture 07/43107/1
Mohammed Naser [Mon, 16 Apr 2018 17:20:18 +0000 (10:20 -0700)]
Dynamically determine image architecture

The image architecture is currently hardcoded, this patch removes
that hardcoded value to allow for ARM64 builds to go through.

Change-Id: I5ba78af8853620f03697c3a59b1288b9c25fbb49
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
6 years agoPin jnr-unixsocket for Docker plugin to 0.13 05/43105/1
Mohammed Naser [Mon, 16 Apr 2018 17:19:51 +0000 (10:19 -0700)]
Pin jnr-unixsocket for Docker plugin to 0.13

The current verison of jnr-unixsocket is 0.12 from the Docker
plugin however in order to be able the images for ARM64, it needs
the newer version which has support for it.

There is work upstream to switch the version to 0.18[0] however
it seems that this is still pending, so we can pin it for now until
that merges.

[0]: https://github.com/fabric8io/docker-maven-plugin/pull/770

Change-Id: I5340a2adad30f0d8cef22b9e67c21e1f36883c14
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
6 years agoUpdate the esr installation doc. 11/42911/1
LiZi [Mon, 16 Apr 2018 01:18:49 +0000 (21:18 -0400)]
Update the esr installation doc.

Change-Id: I44f771dc6545143c274613640b3f0eff52f8b814
Issue-ID: AAI-1029
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoFix the typos in esr-server 53/41853/2
LiZi [Tue, 10 Apr 2018 01:20:46 +0000 (21:20 -0400)]
Fix the typos in esr-server

Change-Id: I5f27f955e89ec4417b46c0042bb6843985864bfe
Issue-ID: DOC-258
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoUpdate docker tag convention 49/40849/1
Jessica Wagantall [Wed, 4 Apr 2018 00:21:40 +0000 (17:21 -0700)]
Update docker tag convention

Update docker tagging convention to use:
$VERSION-SNAPSHOT-YYYYMMDDTHHMMSSZ (for dev images)
$VERSION-STAGING-YYYYMMDDTHHMMSSZ (for staging images)

Change-Id: Ic9181f35ef4b7311b7370135990bf33f9037be58
Issue-ID: CIMAN-132
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoundone upgrade jackson-databind 41/40041/1
LiZi [Thu, 29 Mar 2018 06:02:54 +0000 (02:02 -0400)]
undone upgrade jackson-databind

According to the nexus IQ reports some other security issues caused by upgrade jackson-databind.

Change-Id: I6cfebcdd104c47304185fde024105edea473042c
Issue-ID: AAI-592
Signed-off-by: LiZi <li.zi30@zte.com.cn>
6 years agoupgrade jackson-databind 47/39947/1
LiZi [Thu, 29 Mar 2018 03:07:48 +0000 (23:07 -0400)]
upgrade jackson-databind

Change-Id: Ie1f0f67dcc3d47dbf0563eaaf4d3bce239588669
Issue-ID: AAI-592
Signed-off-by: LiZi <li.zi30@zte.com.cn>
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>