so.git
5 years agoMerge "converted test to dynamic port"
Marcus Williams [Fri, 24 Aug 2018 21:51:02 +0000 (21:51 +0000)]
Merge "converted test to dynamic port"

5 years agoMerge "Do not log stack trace when http not found occurs"
Marcus Williams [Fri, 24 Aug 2018 20:08:58 +0000 (20:08 +0000)]
Merge "Do not log stack trace when http not found occurs"

5 years agoMerge "Created Ref Data tbl for controllerSelection"
Marcus Williams [Fri, 24 Aug 2018 20:05:47 +0000 (20:05 +0000)]
Merge "Created Ref Data tbl for controllerSelection"

5 years agoconverted test to dynamic port 73/62373/1
Benjamin, Max (mb388a) [Fri, 24 Aug 2018 17:10:42 +0000 (13:10 -0400)]
converted test to dynamic port

Change-Id: Iab26b24d9178685061cde7de7f78562f17d20e78
Issue-ID: SO-905
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "retired flows no longer in use"
Rob Daugherty [Fri, 24 Aug 2018 14:11:45 +0000 (14:11 +0000)]
Merge "retired flows no longer in use"

5 years agoMerge "correct return values of asBean"
Rob Daugherty [Fri, 24 Aug 2018 14:10:20 +0000 (14:10 +0000)]
Merge "correct return values of asBean"

5 years agoDo not log stack trace when http not found occurs 39/62339/1
Benjamin, Max (mb388a) [Fri, 24 Aug 2018 13:18:07 +0000 (09:18 -0400)]
Do not log stack trace when http not found occurs

do not log stack trace when http not found occurs

Change-Id: Ia0638eba7f8d9544dae21290c836c7be1e05ac2e
Issue-ID: SO-902
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoretired flows no longer in use 37/62337/1
Benjamin, Max (mb388a) [Fri, 24 Aug 2018 13:13:17 +0000 (09:13 -0400)]
retired flows no longer in use

corrected spelling for migration sql file
delete 1802-style flow, MSO to create l3network in AAI
Revert "retire 1802-style flow, MSO to create l3network in AAI"
retire 1802-style flow, MSO to create l3network in AAI

Change-Id: I0a63d086891565c2346424a3d1b49ce974f5db24
Issue-ID: SO-901
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agocorrect return values of asBean 33/62333/1
Benjamin, Max (mb388a) [Fri, 24 Aug 2018 13:08:49 +0000 (09:08 -0400)]
correct return values of asBean

More adds of Optional<> to other ServiceInstance objects.
Change to add the Optional<> to the ServiceInstance object.

Change-Id: Ie486122412f9ad3d88ba0cf9df41ec226a4b8982
Issue-ID: SO-900
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoaairesultwrapper is now actually serializable 29/62329/1
Benjamin, Max (mb388a) [Fri, 24 Aug 2018 13:02:47 +0000 (09:02 -0400)]
aairesultwrapper is now actually serializable

added in a proper serialization and deserialization test
addressed any comments from pull
added in a serialization test for AAIResultWrapper and updated one of
the null returns
change jsonBody in AAIResultWrapper back to String

Change-Id: Iffa5661f129cc26d69dfaa966cd265c67903cf21
Issue-ID: SO-899
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRename asdc-controller docker image 95/62195/2
Rob Daugherty [Thu, 23 Aug 2018 19:38:17 +0000 (15:38 -0400)]
Rename asdc-controller docker image

OOM would like it to be called onap/so/sdc-controller.

Change-Id: Ifa37b4fa62f214a1ff56e31c4f4f4eca5b4566fc
Issue-ID: SO-897
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoCreated Ref Data tbl for controllerSelection 71/60371/4
Prema Bhatt [Fri, 10 Aug 2018 22:54:13 +0000 (15:54 -0700)]
Created Ref Data tbl for controllerSelection

RD: I rebased this and fixed the unit tests.

Issue-ID: SO-763
Change-Id: Ie5f6a708cffbc70a9481afd35db3047fe44cb088
Signed-off-by: Prema Bhatt <pb6115@att.com>
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoProd fixes August 21st 83/62183/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 18:50:49 +0000 (14:50 -0400)]
Prod fixes August 21st

changes required for unit tests to pass again
Changes sniro homing BB license demand to be a named array per sniro
defect.
boolean checks must now account for null
fixed compilation issues in code
updated tests and removed primatives from bbobjects
upgraded to A&AI dependency with Boolean

Change-Id: I5f3e69c0ad24d2c3e4591568467bad861abd0261
Issue-ID: SO-896
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "write update status of BBs progress"
Rob Daugherty [Thu, 23 Aug 2018 16:17:18 +0000 (16:17 +0000)]
Merge "write update status of BBs progress"

5 years agoMerge "Do not serialize AAIResultWrapper"
Rob Daugherty [Thu, 23 Aug 2018 14:18:55 +0000 (14:18 +0000)]
Merge "Do not serialize AAIResultWrapper"

5 years agoMerge "removed classes no longer in use"
Rob Daugherty [Thu, 23 Aug 2018 14:18:41 +0000 (14:18 +0000)]
Merge "removed classes no longer in use"

5 years agoMerge "Changed RequestFactory for Catalog DB client"
Rob Daugherty [Thu, 23 Aug 2018 14:18:28 +0000 (14:18 +0000)]
Merge "Changed RequestFactory for Catalog DB client"

5 years agoMerge "created generic HttpLookupUri class"
Rob Daugherty [Thu, 23 Aug 2018 14:07:13 +0000 (14:07 +0000)]
Merge "created generic HttpLookupUri class"

5 years agoMerge "Renamed migration from version 4.2 to 4.3"
Rob Daugherty [Thu, 23 Aug 2018 14:06:21 +0000 (14:06 +0000)]
Merge "Renamed migration from version 4.2 to 4.3"

5 years agoMerge "Prod fixes August 18th"
Rob Daugherty [Thu, 23 Aug 2018 13:51:56 +0000 (13:51 +0000)]
Merge "Prod fixes August 18th"

5 years agoMerge "get service type and customer id from uri keys"
Rob Daugherty [Thu, 23 Aug 2018 13:51:05 +0000 (13:51 +0000)]
Merge "get service type and customer id from uri keys"

5 years agoMerge "fixed filter of configuration flow calls"
Rob Daugherty [Thu, 23 Aug 2018 13:31:09 +0000 (13:31 +0000)]
Merge "fixed filter of configuration flow calls"

5 years agoMerge "update field in service decomp object"
Rob Daugherty [Thu, 23 Aug 2018 13:30:04 +0000 (13:30 +0000)]
Merge "update field in service decomp object"

5 years agoremoved classes no longer in use 21/62121/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 13:07:59 +0000 (09:07 -0400)]
removed classes no longer in use

Change create configuration to use yang service instance and removed
AAIServiceInstance pojo.

Change-Id: I2420503f1a00c2dc64b6021aad8e42aa2080eb98
Issue-ID: SO-895
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoDo not serialize AAIResultWrapper 19/62119/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 13:06:09 +0000 (09:06 -0400)]
Do not serialize AAIResultWrapper

fixed a broken building block bpmn test
removed serialization of result wrapper

Change-Id: I24a9b325e5543cb11b0dee4ae3a1e6957469e87a
Issue-ID: SO-894
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoChanged RequestFactory for Catalog DB client 15/62115/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 12:55:54 +0000 (08:55 -0400)]
Changed RequestFactory for Catalog DB client

- Missed some files, the repository isn't required now that we
dont fetch the identity service directly
- Fixing review comments and removing the unused import
- Fixing the build :) Now that cloudSite has a 1-1 relationship with
cloudidentity, there shouldn't be a need to query the identity on its
own unless the site is missing Refactored some code to use site to
fetch identity as a composition
- Changing the catalogDb client to use
HttpComponentsClientHttpRequestFactory instead of
SimpleClientHttpRequestFactory, the later would lead to a IOException
(FileNotFoundException specifically) whenever a 40X type of a response
code is returned from the spring rest endpoint. Adding some tests for
the catalogDbClient which earlier got missed in handover. Also fixing
another issue with cloudSite repository which was not fetching data
correctly. Fixed a repository which was added initially but later the
same went missing (Not sure how)

Change-Id: I72506865c4c5f7fd07a6031c146a4aba1a96c2c8
Issue-ID: SO-892
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRenamed migration from version 4.2 to 4.3 11/62111/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 12:52:04 +0000 (08:52 -0400)]
Renamed migration from version 4.2 to 4.3

renamed migration from 4.2 to 4.3 to avoid collision

Change-Id: Ie7ecb089555c5150d3e66d9e6de62f8228d1d373
Issue-ID: SO-891
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agowrite update status of BBs progress 91/62091/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 12:48:58 +0000 (08:48 -0400)]
write update status of BBs progress

added in the missing bpmn file change
add implementation to update status of BBs progress

Change-Id: If913b4e4da2a548e7b5660be947721cb17c60d3f
Issue-ID: SO-890
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoget service type and customer id from uri keys 87/62087/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 12:44:41 +0000 (08:44 -0400)]
get service type and customer id from uri keys

Added logic to get service type and customer id from uri keys for sdnc request.

Change-Id: I3b0c4b88737e2ad6fc573d335addff221d06e885
Issue-ID: SO-889
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofixed filter of configuration flow calls 85/62085/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 12:41:08 +0000 (08:41 -0400)]
fixed filter of configuration flow calls

fix filtering of configuration flow calls

Change-Id: I80f25d1b78b7268f92cb78b70f350ede100fe35e
Issue-ID: SO-888
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoupdate field in service decomp object 81/62081/1
Benjamin, Max (mb388a) [Thu, 23 Aug 2018 12:31:42 +0000 (08:31 -0400)]
update field in service decomp object

removed duplicate json test file and updated existing
update ServiceDecompoition serviceNetworks field

Change-Id: Iea3dc7efe4edb8ba32e45772fd9d77d9e7fc0ef6
Issue-ID: SO-887
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofix sonar critcal issues in R_CloudConfigMigration 69/62069/1
Sandeep J [Thu, 23 Aug 2018 11:43:42 +0000 (17:13 +0530)]
fix sonar critcal issues in R_CloudConfigMigration

added specific excpetions instead of generic ones

Issue-ID: SO-886
Change-Id: Ib0f2e655a6e58b8dc142233679a53c15b373f117
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issue in CatalogQueryExceptionCommon 41/62041/1
Sandeep J [Thu, 23 Aug 2018 10:05:21 +0000 (15:35 +0530)]
fixed sonar issue in CatalogQueryExceptionCommon

fixed sonar issue: removed unused import

Issue-ID: SO-883
Change-Id: Ie9117601c7d64974067b5ab81ccb8a58d4a2fdc5
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoMerge "fixed sonar issues in MsoNetworkAdapterAsyncImpl"
Byung-Woo Jun [Thu, 23 Aug 2018 03:09:53 +0000 (03:09 +0000)]
Merge "fixed sonar issues in MsoNetworkAdapterAsyncImpl"

5 years agoMerge "resolved sonar issue in QueryServiceMacroHolder"
Byung-Woo Jun [Thu, 23 Aug 2018 03:09:48 +0000 (03:09 +0000)]
Merge "resolved sonar issue in QueryServiceMacroHolder"

5 years agofixed sonar issues in MsoNetworkAdapterAsyncImpl 25/61925/1
Sandeep J [Wed, 22 Aug 2018 22:42:20 +0000 (04:12 +0530)]
fixed sonar issues in MsoNetworkAdapterAsyncImpl

removed useless assignment of local variable "sMap" at lines
646,664,684. And, also removed keyset with entryset at line 650

Issue-ID: SO-882
Change-Id: I31a1a0c2c7aa4d65466125bda6948765326994eb
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoresolved sonar issue in QueryServiceMacroHolder 21/61921/1
Sandeep J [Wed, 22 Aug 2018 22:19:10 +0000 (03:49 +0530)]
resolved sonar issue in QueryServiceMacroHolder

removed the commented lines of code as per issue raised by SONAR

Issue-ID: SO-881
Change-Id: Ic25a7418df06c7b7da2c60bec9dc4adbc97d902b
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoadded unit test for class 57/61657/2
Benjamin, Max (mb388a) [Tue, 21 Aug 2018 18:43:36 +0000 (14:43 -0400)]
added unit test for class

Adding unit tests for the infraactiverepositorycustomcontroller
and fixing an issue found while adding the test

Change-Id: Ic177f75c995ee789902dc9ad1b7df0e997b998c9
Issue-ID: SO-876
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "removed problematic swagger dependency"
Marcus Williams [Wed, 22 Aug 2018 16:48:28 +0000 (16:48 +0000)]
Merge "removed problematic swagger dependency"

5 years agoMerge "updated ServiceInstance POJO"
Marcus Williams [Wed, 22 Aug 2018 16:46:17 +0000 (16:46 +0000)]
Merge "updated ServiceInstance POJO"

5 years agoProd fixes August 18th 75/61875/1
Benjamin, Max (mb388a) [Wed, 22 Aug 2018 16:10:23 +0000 (12:10 -0400)]
Prod fixes August 18th

fixed compilation issues and all unit tests now pass
fix condition that checks for vnf in list to set homing flags
fix resource name variable being null
Skip volume group search for alacarte VF Module creation, since that group is expected to be specified on the input
Remove temporary change to JUnit for creation of volume group.
Add mapping of isBaseVfModule setting to AAIObjectMapper for vfModule.
adding a unit test for hte issue which was fixed
Explicitly return heatStackId variable from VnfAdapter subprocess
Fixing an issue with the workflow processor/asynresource which may lead to
apihandler leaving the active_Request table record in_progress while the bpmn quits the processing due to the error.

Change-Id: I7587193fcb5251f50370d72a1e4c10d112a1c72f
Issue-ID: SO-879
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoremoved problematic swagger dependency 45/61845/1
Benjamin, Max (mb388a) [Wed, 22 Aug 2018 13:33:08 +0000 (09:33 -0400)]
removed problematic swagger dependency

removed swagger dependency which was causing issues

Change-Id: I1e840f7ea9a45547c2562ce628c38f7c7e065e65
Issue-ID: SO-880
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "update install and configure document"
Chuanyu Chen [Wed, 22 Aug 2018 09:39:57 +0000 (09:39 +0000)]
Merge "update install and configure document"

5 years agoupdate install and configure document 93/61793/1
seshukm [Wed, 22 Aug 2018 07:49:51 +0000 (15:49 +0800)]
update install and configure document

Issue-ID: SO-675

Change-Id: I157d04c2bebf3771df22792d9c7856ffa99d8393
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "sonar try-with-resources"
Seshu Kumar M [Wed, 22 Aug 2018 05:39:33 +0000 (05:39 +0000)]
Merge "sonar try-with-resources"

5 years agoMerge "openstack_adapter container fails to start"
Marcus Williams [Tue, 21 Aug 2018 23:32:59 +0000 (23:32 +0000)]
Merge "openstack_adapter container fails to start"

5 years agoopenstack_adapter container fails to start 89/61689/1
Rob Daugherty [Tue, 21 Aug 2018 22:42:55 +0000 (18:42 -0400)]
openstack_adapter container fails to start

The reported problem occurs because the openstack-adapters app
is attempting to do a migration on top of a migration already
performed by the catalog-db app.

I'm adding these options to flyway in openstack-adapters:
  baseline-on-migrate: true
  validate-on-migrate: false

Another issue is that the java-based CloudConfig migration class
was looking for CloudConfig data only in the application.yaml
file in the classpath.  It was not looking for CloudConfig data
in the override file.  I've changed this logic to look in the
override file first and then in application.yaml.  Ideally, these
sources would be merged, but I don't see a reasonable way to do it.

Change-Id: I7ba07c1f8f00b4c628e825393ee31502950fe592
Issue-ID: SO-868
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoupdated ServiceInstance POJO 63/61663/1
Benjamin, Max (mb388a) [Tue, 21 Aug 2018 18:54:06 +0000 (14:54 -0400)]
updated ServiceInstance POJO

added new fields to pojo for groovy compatibility

Change-Id: If88a9b51d506d6937bbd431c641410cc4ba07c9e
Issue-ID: SO-878
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agocreated generic HttpLookupUri class 61/61661/1
Benjamin, Max (mb388a) [Tue, 21 Aug 2018 18:48:46 +0000 (14:48 -0400)]
created generic HttpLookupUri class

created generic HttpLookupUri abstract class

Change-Id: Ie45d620af77fb58c0a7b469aba4a10f274b0de59
Issue-ID: SO-877
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoprod bug fixes august 12th 55/61655/1
Benjamin, Max (mb388a) [Tue, 21 Aug 2018 18:30:07 +0000 (14:30 -0400)]
prod bug fixes august 12th

Set generalBuildingBlock variable on execution to
pass heatStackId updates to the calling process.

Pass CloudParams to SDNC on Create request

Pass cloudParams to VNF Adapter on VF Module
creation too.

Change-Id: I523cde0edb1412fc12e1d7a13c91c77869b505fd
Issue-ID: SO-875
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofixed sonar issue in WebSecurityConfigImpl.java 27/61627/1
Sandeep J [Tue, 21 Aug 2018 15:04:34 +0000 (20:34 +0530)]
fixed sonar issue in WebSecurityConfigImpl.java

fixed the sonar issue in the file at line 39

Issue-ID: SO-874
Change-Id: Ic187fa42e81a503e99ff71ab9ab971c21aa82cd3
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoMerge "Fix the structure in the doc for bpmn"
Byung-Woo Jun [Tue, 21 Aug 2018 13:34:17 +0000 (13:34 +0000)]
Merge "Fix the structure in the doc for bpmn"

5 years agoFix the structure in the doc for bpmn 83/61583/1
seshukm [Tue, 21 Aug 2018 12:49:19 +0000 (20:49 +0800)]
Fix the structure in the doc for bpmn

Issue-ID: SO-675

Change-Id: I2dc7bc2f77b191a60206678a6fe25bd2ef81f83c
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "Update the structure of the documentation"
Byung-Woo Jun [Tue, 21 Aug 2018 12:17:18 +0000 (12:17 +0000)]
Merge "Update the structure of the documentation"

5 years agoUpdate the structure of the documentation 37/61537/1
seshukm [Tue, 21 Aug 2018 10:48:29 +0000 (18:48 +0800)]
Update the structure of the documentation

Issue-ID: SO-675

Change-Id: I1e17beb266beab4dd8f509762a6f9e7fdb18c1d4
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoAdd device resource bpmn process for ccvpn uc 03/61203/5
Yulian Han [Mon, 20 Aug 2018 03:05:37 +0000 (11:05 +0800)]
Add device resource bpmn process for ccvpn uc

Bug fix for ccvpn uc

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa70000013
Issue-ID: SO-683
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agosonar try-with-resources 53/61453/1
Arindam Mondal [Tue, 21 Aug 2018 05:15:29 +0000 (14:15 +0900)]
sonar try-with-resources

Issue-ID: SO-871
Change-Id: I151ea890755c0a9dd9e7f5df1ed807a660fb0c2f
Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
5 years agoDocker naming convention 41/61341/1
Rob Daugherty [Mon, 20 Aug 2018 17:00:56 +0000 (13:00 -0400)]
Docker naming convention

SO is not following the naming convention.  Docker image names
should have an "onap" prefix.  The image names are changed as
follows:

so/catalog-db-adapter --> onap/so/catalog-db-adapter
so/request-db-adapter --> onap/so/request-db-adapter
so/sdnc-adapter --> onap/so/sdnc-adapter
so/openstack-adapter --> onap/so/openstack-adapter
so/vfc-adapter --> onap/so/vfc-adapter
so/asdc-controller --> onap/so/asdc-controller
so/bpmn-infra --> onap/so/bpmn-infra
so/api-handler-infra --> onap/so/api-handler-infra

A corresponding change is needed in INT's docker-manifest.csv.

Change-Id: I024e42607d5fc57a712ad67709f241ee8720a670
Issue-ID: SO-870
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "Site service process with location"
Seshu Kumar M [Mon, 20 Aug 2018 14:09:57 +0000 (14:09 +0000)]
Merge "Site service process with location"

5 years agoFix VfModuleCustomizationToVduMapperTest 93/61093/2
Michal Kabaj [Fri, 17 Aug 2018 12:21:23 +0000 (14:21 +0200)]
Fix VfModuleCustomizationToVduMapperTest

- Moved VfModuleCustomizationToVduMapperTest to mso-openstack-adapters
module, where the tested implementation actually is.
- Fixed and reimplemented tests

Change-Id: If5b4a29be22b7cbb59642eff78e471f294a512a7
Issue-ID: SO-865
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
5 years agoSite service process with location 73/59973/5
Elaine_Han [Fri, 10 Aug 2018 07:43:04 +0000 (15:43 +0800)]
Site service process with location

Delete real existing resources

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa70000006
Issue-ID: SO-683
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agoMerge "Cloud Config Updates"
Rob Daugherty [Wed, 15 Aug 2018 18:15:24 +0000 (18:15 +0000)]
Merge "Cloud Config Updates"

5 years agoCloud Config Updates 53/60753/2
Smokowski, Steve (ss835w) [Tue, 14 Aug 2018 20:30:49 +0000 (16:30 -0400)]
Cloud Config Updates

Update Cloud Config to be writable over REST API.  This allows easier
environment setup, so sql scripts are not required

Issue-ID: SO-862
Change-Id: I70931f09ff2600a15094199f46fc8d9ac36403f4

Change-Id: I70931f09ff2600a15094199f46fc8d9ac36403f4
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoMerge "Added vfModule scale out endpoint and validation"
Rob Daugherty [Wed, 15 Aug 2018 14:03:21 +0000 (14:03 +0000)]
Merge "Added vfModule scale out endpoint and validation"

5 years agoMerge "Fix Dependency"
Marcus Williams [Tue, 14 Aug 2018 21:42:46 +0000 (21:42 +0000)]
Merge "Fix Dependency"

5 years agoAdded vfModule scale out endpoint and validation 17/60617/1
Brittany Plummer (bp896r) [Tue, 14 Aug 2018 20:32:28 +0000 (16:32 -0400)]
Added vfModule scale out endpoint and validation

Issue-ID: SO-764
Change-Id: I6fc983ed6bc9d9c410406db1f2355c27e201b4f4
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
5 years agoFix Dependency 15/60615/1
Smokowski, Steve (ss835w) [Tue, 14 Aug 2018 20:30:49 +0000 (16:30 -0400)]
Fix Dependency

Fix missing dependency in bpmn infra

Issue-ID: SO-862

Change-Id: I72ceb0050e38610262192df980330341bc91e89a
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoMerge "Fix for NullPointerException in Pnf"
Marcus Williams [Mon, 13 Aug 2018 22:32:14 +0000 (22:32 +0000)]
Merge "Fix for NullPointerException in Pnf"

5 years agoMerge "ParameterizedTypeReference now passed in"
Marcus Williams [Mon, 13 Aug 2018 22:28:44 +0000 (22:28 +0000)]
Merge "ParameterizedTypeReference now passed in"

5 years agoMerge "Update CatalogDB Logging"
Marcus Williams [Mon, 13 Aug 2018 22:15:53 +0000 (22:15 +0000)]
Merge "Update CatalogDB Logging"

5 years agoMerge "Sonar issue Major"
Marcus Williams [Mon, 13 Aug 2018 19:43:10 +0000 (19:43 +0000)]
Merge "Sonar issue Major"

5 years agoUpdate CatalogDB Logging 55/60355/2
Smokowski, Steve (ss835w) [Mon, 13 Aug 2018 13:05:45 +0000 (09:05 -0400)]
Update CatalogDB Logging

Update CatalogDB Logging to remove MSO Logger, remove useless log lines,
clean up minor sonar issues while working in the file

Issue-ID: SO-847

Change-Id: Icab5d8cf2885d2193bb55f495b3230dde0f5af54

Change-Id: I2d2b2fa919074c439b6c9039aa7ed5e45a792781
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoCloud config database table support 17/60317/1
Benjamin, Max (mb388a) [Mon, 13 Aug 2018 13:48:57 +0000 (09:48 -0400)]
Cloud config database table support

added cloud config database entities
added cloud config repository
converted existing cloud config class
converted all code interacting with previous cloud config object
created migration to automatically load cloud config properties from
application.yaml

Issue-ID: SO-854
Change-Id: Icf408e5d0fcabd1b7e97298963c555fae6964930
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "made required pom changes for cxf"
Rob Daugherty [Mon, 13 Aug 2018 12:00:49 +0000 (12:00 +0000)]
Merge "made required pom changes for cxf"

5 years agoMerge "Casablana bugfixes"
Rob Daugherty [Mon, 13 Aug 2018 11:58:37 +0000 (11:58 +0000)]
Merge "Casablana bugfixes"

5 years agoFix for NullPointerException in Pnf 83/60283/1
Michal Kabaj [Mon, 13 Aug 2018 10:21:07 +0000 (12:21 +0200)]
Fix for NullPointerException in Pnf

- Fix: Since lambda expressions are evaluated lazily,
Camunda flow results in an NPE being thrown if RuntimeService
is not acquired as part of invoking thread.
- Modified integration test CreateAndActivatePnfResourceTest
to verify the fix.

Change-Id: I683a8400c81b2edd9d55f2a1d4121a4fdbdf820c
Issue-ID: SO-722
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
5 years agoSonar issue Major 89/60189/1
Arindam Mondal [Mon, 13 Aug 2018 05:25:12 +0000 (14:25 +0900)]
Sonar issue Major

Issue-ID: SO-852
Change-Id: Ia0d58c52884abdd1f752dc6671d315b8516812e6
Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
5 years agoMerge "added edge label support to A&AI client"
Seshu Kumar M [Sat, 11 Aug 2018 11:20:02 +0000 (11:20 +0000)]
Merge "added edge label support to A&AI client"

5 years agomade required pom changes for cxf 97/60097/1
Benjamin, Max (mb388a) [Sat, 11 Aug 2018 04:17:59 +0000 (00:17 -0400)]
made required pom changes for cxf

cxf 3.2.5 also requires us to move to javax.ws.rs-api 2.1
javax.ws.rs-api 2.1 is fully backwards compatible with 2.0
it will not be a problem with our other dependencies

Issue-ID: SO-850
Change-Id: I2a6d9c5d6fb9025de8e5b4a00788275d7cc496a1
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoHandle special aai case better 85/60085/1
Benjamin, Max (mb388a) [Fri, 10 Aug 2018 21:39:33 +0000 (17:39 -0400)]
Handle special aai case better

corrected error handling in aai client for service instances
updated the exception logic for si's that are not found
adhere to mapNotFoundToEmpty in special case

Issue-ID: SO-851
Change-Id: I3843733553143dae046c1ae944a3bfd71ac5170c
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadded edge label support to A&AI client 81/60081/1
Benjamin, Max (mb388a) [Fri, 10 Aug 2018 21:32:29 +0000 (17:32 -0400)]
added edge label support to A&AI client

you can now specify an edge label when connecting two objects

Issue-ID: SO-849
Change-Id: I851d523c271823911cdc344ac8c28beec993cb09
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoCasablana bugfixes 79/60079/1
Benjamin, Max (mb388a) [Fri, 10 Aug 2018 21:19:31 +0000 (17:19 -0400)]
Casablana bugfixes

updated mock in unassignnetworkbbtest instead of base
added mock to extract pojos method in unassignnetwork
Return gBuildingBlockExecution from calls to VnfAdapter subprocess
Correct JUnit data to expect modelInfoVfModule
Enable Spring Security for logging of unauthorized/bad credentials
errors
Fix handling of a case of no VF Modules in a VNF resource.
fix populating lookupKeyMap with resource ids
removed unnecessary test resources

Issue-ID: SO-848
Change-Id: Id89f075dcac4042bf8fb1e207e66d289d079171f
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Fix Error Scenario"
Rob Daugherty [Fri, 10 Aug 2018 17:42:27 +0000 (17:42 +0000)]
Merge "Fix Error Scenario"

5 years agoParameterizedTypeReference now passed in 51/59851/2
Benjamin, Max (mb388a) [Thu, 9 Aug 2018 12:58:47 +0000 (08:58 -0400)]
ParameterizedTypeReference now passed in

An argument must be added other wise we cannot return anything other
than a linkedhashmap because of type erasure.

https://stackoverflow.com/questions/21987295/using-spring-resttemplate-in-generic-method-with-generic-parameter

Issue-ID: SO-820
Change-Id: I96b5bf9db8389beacfcd79e7a80ee22b3d470a27
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Improve Logging"
Rob Daugherty [Fri, 10 Aug 2018 17:37:43 +0000 (17:37 +0000)]
Merge "Improve Logging"

5 years agoMerge "Fix Session Time"
Rob Daugherty [Fri, 10 Aug 2018 17:37:10 +0000 (17:37 +0000)]
Merge "Fix Session Time"

5 years agoMerge "GR-API flow, VF Module, SDNC GR API Fixes"
Rob Daugherty [Fri, 10 Aug 2018 17:35:54 +0000 (17:35 +0000)]
Merge "GR-API flow, VF Module, SDNC GR API Fixes"

5 years agoFix Error Scenario 39/60039/1
Smokowski, Steve (ss835w) [Fri, 10 Aug 2018 16:09:06 +0000 (12:09 -0400)]
Fix Error Scenario

If Camunda returns a non-auth error, or invalid JSON. APIH was not
logging the error or properly updating the request database record

Issue-ID: SO-818
Change-Id: I8b164002132ca6c25f95e1fa2b194e6cb4c3be03

Change-Id: If6e06de0fb8a01a00ef06ade915dd7c13623047b
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoImprove Logging 17/60017/1
Smokowski, Steve (ss835w) [Fri, 10 Aug 2018 13:34:12 +0000 (09:34 -0400)]
Improve Logging

Add Stack trace to be logged, currently only a generic error message is
logged

Issue-ID: SO-846
Change-Id: I8479247227cf08de25bece5077003ee83c08472d

Change-Id: I8479247227cf08de25bece5077003ee83c08472d
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoFix Session Time 15/60015/1
Smokowski, Steve (ss835w) [Fri, 10 Aug 2018 13:31:25 +0000 (09:31 -0400)]
Fix Session Time

Fix session times taking too long to create, which is causing fallout in
heat environments

Issue-ID: SO-845
Change-Id: I6655507bd062ed42c0f2062edd4edfb580dca194

Change-Id: I6655507bd062ed42c0f2062edd4edfb580dca194
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoDowngrade CXF 07/60007/1
Smokowski, Steve (ss835w) [Fri, 10 Aug 2018 12:13:07 +0000 (08:13 -0400)]
Downgrade CXF

The Upgrade of CXF broke the A&AI client, downgrading it for now to
unblock integration testing.  We will investigate in more detail around
the upgrade of the version.

Issue-ID: SO-823

Change-Id: I15d761737b8c62db6de74ce5e5ee9262016120e0

Change-Id: I15d761737b8c62db6de74ce5e5ee9262016120e0
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoGR-API flow, VF Module, SDNC GR API Fixes 65/59865/2
Benjamin, Max (mb388a) [Thu, 9 Aug 2018 13:32:29 +0000 (09:32 -0400)]
GR-API flow, VF Module, SDNC GR API Fixes

Fixes the new GR-API flow
Various fixes in the create VF Module area
Fixes issues parsing the SDNC GR API response
Fixes new resource type in ASDC controller
Fixes AppC mismatch in JSON marshaling

Issue-ID: SO-821
Change-Id: I4ace0d348483ab1303fcfee26c5801674be51466
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Groovy Compile"
Marcus Williams [Thu, 9 Aug 2018 19:36:12 +0000 (19:36 +0000)]
Merge "Groovy Compile"

5 years agoGroovy Compile 07/59907/2
Smokowski, Steve (ss835w) [Thu, 9 Aug 2018 18:24:13 +0000 (14:24 -0400)]
Groovy Compile

Groovy was not compiling as the maven plugin was off.  I had to move
some files around, and add some import statements to make it compile
again.  I also had to rename some packages to onap.so. A few files were
deleted that did not compile but were not in use.

Issue-ID: SO-823

Change-Id: I99d04b4f25709c86d397d72700c237d81362d8b3
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoFix Logging 89/59889/1
Smokowski, Steve (ss835w) [Thu, 9 Aug 2018 16:44:57 +0000 (12:44 -0400)]
Fix Logging

Add more logging information for Java.Lang Exceptions

Issue-ID: SO-822

Change-Id: I5eb25adc087c9fb495829af2c9d0d1be7374f4a3

Change-Id: I5eb25adc087c9fb495829af2c9d0d1be7374f4a3
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoMerge "Fix Ref Data"
Seshu Kumar M [Thu, 9 Aug 2018 12:35:52 +0000 (12:35 +0000)]
Merge "Fix Ref Data"

5 years agoMerge "Refactored references to AaiUtils"
Seshu Kumar M [Thu, 9 Aug 2018 12:07:02 +0000 (12:07 +0000)]
Merge "Refactored references to AaiUtils"

5 years agoFix Ref Data 55/59755/2
Smokowski, Steve (ss835w) [Wed, 8 Aug 2018 23:20:28 +0000 (19:20 -0400)]
Fix Ref Data

Fix recipe reference data, add initial data setup script

Issue-ID: SO-812

Change-Id: I9cbc45f7788fe7c5a74e15d45a9b82a55ddfe299
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoRemove Property 39/59839/1
Smokowski, Steve (ss835w) [Wed, 8 Aug 2018 20:24:49 +0000 (16:24 -0400)]
Remove Property

Remove BPEL properties that are no longer used

Issue-ID: SO-817
Change-Id: Ie654562dabaddfcff68de3dfddeb85eed478b0a5

Change-Id: I6a418c73608d08f4cf12833f893e671ffa77beb0
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoMerge "Fix Invalid BPMN"
Seshu Kumar M [Thu, 9 Aug 2018 09:39:45 +0000 (09:39 +0000)]
Merge "Fix Invalid BPMN"