so.git
5 years agoMerge "Added groupInstanceId and groupInstanceName column"
Rob Daugherty [Thu, 15 Nov 2018 00:36:58 +0000 (00:36 +0000)]
Merge "Added groupInstanceId and groupInstanceName column"

5 years agoMerge "separate error status from progression status"
Rob Daugherty [Thu, 15 Nov 2018 00:36:50 +0000 (00:36 +0000)]
Merge "separate error status from progression status"

5 years agoMerge "add logger messages to pnf flow"
Rob Daugherty [Thu, 15 Nov 2018 00:35:06 +0000 (00:35 +0000)]
Merge "add logger messages to pnf flow"

5 years agoMerge "Add junit tests for CreateAAIVfModule"
Rob Daugherty [Thu, 15 Nov 2018 00:32:53 +0000 (00:32 +0000)]
Merge "Add junit tests for CreateAAIVfModule"

5 years agoAdded groupInstanceId and groupInstanceName column 77/72377/2
Benjamin, Max (mb388a) [Sat, 10 Nov 2018 17:29:48 +0000 (12:29 -0500)]
Added groupInstanceId and groupInstanceName column

Updated schema.sql to include new columns
Added groupInstanceId and groupInstanceName columns

Change-Id: I6dab9acea9bb4954c8b113034d70f01bbd9437db
Issue-ID: SO-1206
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoseparate error status from progression status 76/72376/2
Benjamin, Max (mb388a) [Sat, 10 Nov 2018 16:58:39 +0000 (11:58 -0500)]
separate error status from progression status

Re-ordered statuses, capitalized, and added delimiters
added retrystatusmessage to to string in infrarequests
Added retryStatusMessage to OrchestrationRequests
removed the word min from retry status message string
added retry status message to infra active requests
Began adding retryStatusMessage
Added rollback status and flow status to status message
added flow status table to separate errors from status

Change-Id: If756fa4523955e4e4b6bfd10aad730b715892b62
Issue-ID: SO-1205
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAdd junit tests for CreateAAIVfModule 14/72214/3
Lukasz Muszkieta [Thu, 8 Nov 2018 14:46:26 +0000 (15:46 +0100)]
Add junit tests for CreateAAIVfModule

Change-Id: If71c2472aefc7edd1387837bdbbb24a186c1316c
Issue-ID: SO-784
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoadd logger messages to pnf flow 47/71447/6
Lukasz Muszkieta [Fri, 26 Oct 2018 10:20:01 +0000 (12:20 +0200)]
add logger messages to pnf flow

Change-Id: I94190d650d65f769e39660d0e6ec6d03f0408d4f
Issue-ID: SO-796
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agojunits for HttpClientRedirectStrategy 85/72185/2
Tomasz Gwozdecki [Thu, 8 Nov 2018 10:17:59 +0000 (05:17 -0500)]
junits for HttpClientRedirectStrategy

-Added new test for HttpClientRedirectStrategy
-Tests for method getRedirect

Change-Id: Ifb8cd2becc515ed349ecaed99b5b2f902b253b03
Issue-ID: SO-814
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
5 years agoMerge "Replace xmlencode with xmlEscape"
Seshu Kumar M [Tue, 13 Nov 2018 10:46:02 +0000 (10:46 +0000)]
Merge "Replace xmlencode with xmlEscape"

5 years agoReplace xmlencode with xmlEscape 13/72513/1
subhash kumar singh [Tue, 13 Nov 2018 09:17:30 +0000 (14:47 +0530)]
Replace xmlencode with xmlEscape

Replace xmlencode with xmlEscape.

Change-Id: Ib84e7e4f10881abbc938ee03b66ed3358f06e2dc
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoMerge "Fix the retrival of resource recipe"
Seshu Kumar M [Tue, 13 Nov 2018 06:23:02 +0000 (06:23 +0000)]
Merge "Fix the retrival of resource recipe"

5 years agoDelete bug fix for R3 config changes 23/72423/1
Yulian Han [Mon, 12 Nov 2018 12:07:45 +0000 (20:07 +0800)]
Delete bug fix for R3 config changes

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064407
Issue-ID: SO-1184
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agoFix the retrival of resource recipe 21/72421/1
subhash kumar singh [Mon, 12 Nov 2018 12:05:37 +0000 (17:35 +0530)]
Fix the retrival of resource recipe

Fix the retrival of resource recipe.

Change-Id: Iaec1046f487ce61b995d61414dbe4229e8a51115
Issue-ID: SO-1197
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agofix installing VL resource bug 98/72298/1
Yulian Han [Fri, 9 Nov 2018 13:34:38 +0000 (21:34 +0800)]
fix installing VL resource bug

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064406
Issue-ID: SO-1184
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agomodify getting openecomp.db.endpoint config codes 73/72273/1
Yulian Han [Fri, 9 Nov 2018 07:06:37 +0000 (15:06 +0800)]
modify getting openecomp.db.endpoint config codes

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064405
Issue-ID: SO-791
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years ago11/7: merge casablanca to master 36/72136/3
Rob Daugherty [Wed, 7 Nov 2018 23:30:09 +0000 (18:30 -0500)]
11/7: merge casablanca to master

Commit: dbb53cabbff772880134699eb81dee775d7df8df
Subject: Send correct resourceModuleName
Issue: SO-1178

Commit: d3759e15184562647ea83b92cf02140fc705cb0d by ss835w
Subject: Update Regex Logic to take into account new scale out URI...
Issue: SO-117

Commit: 5dadc2c5790c961a74085d3d10b6f5aec6b7ba30
Subject: Fix msb url in homing cloudsite
Issue: SO-1180

Commit: 9a9b0fa23afe8d46171fe95f1090de5a7f701d3d
Subject: Updated Reference data for AutoScaleOut
Issue: SO-1174

Commit: 3178cad6c756140b18eb658277598e3e2d2d3dcf
Subject: ConfigurationParameter is empty for scaleout
Issue: SO-1083

Commit: 402bf528e9a796f6ce31ad36c16316c2b31acc48
Subject: Added Null check for gtConfigurationParameter
Issue: SO-1179

Commit: fb6ab40a64e74876ba1f08c4d3bdb6a040c21b94
Subject: Bug fixes November 5th
Issue: SO-1188

Commit: ce37ae979311ed4e55150426d477db262773beb0
Subject: Removed slashes and added catch block
Issue: SO-1183

Commit: 16aa0b6cc42c7287fc080c81451e301c0acc14cf
Subject: removed retry from rainy day table
Issue: SO-1185

Commit: 2073a3b4c20965252c7f3a0c1aea8e4407e876fa
Subject: Fixing scaleOut workflow looping issue
Issue: SO-1182

Commit: 5ca364a5e975877244ee51796602043a4b078a23
Subject: Make homingBB optinal and fix homing process
Issue: SO-1168

Commit: 1c554c3332ccf6be4e576e9159bbb0f901197379
Subject: bug fixing with reading dmaap message
Issue: SO-1191

Change-Id: Id747bc05b791787f304316396bc5fcd20d350b6f
Issue-ID: SO-1190
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "bug fixing with reading dmaap message" into casablanca
Seshu Kumar M [Wed, 7 Nov 2018 18:31:31 +0000 (18:31 +0000)]
Merge "bug fixing with reading dmaap message" into casablanca

5 years agoMerge "Make homingBB optinal and fix homing process" into casablanca
Marcus Williams [Wed, 7 Nov 2018 18:19:25 +0000 (18:19 +0000)]
Merge "Make homingBB optinal and fix homing process" into casablanca

5 years agobug fixing with reading dmaap message 97/72097/1
Lukasz Muszkieta [Wed, 7 Nov 2018 16:46:59 +0000 (17:46 +0100)]
bug fixing with reading dmaap message

Change-Id: I259337e866d1b401b574ba427219157dfc4987af
Issue-ID: SO-1191
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoMake homingBB optinal and fix homing process 73/72073/1
Alexis de Talhouët [Fri, 26 Oct 2018 13:54:46 +0000 (09:54 -0400)]
Make homingBB optinal and fix homing process

Properly defined whether or not to call homing at AssignVnfBB where by
default homing doesn't get called, but if a homing solution is provided,
then we resolve the solutions.
The goal is to change the BPMN definition to use serviceTask rather
than a scriptTask, allowing to use the Srping component to inject
logic.
Also we create a new HomingV2 component that is agnostic of the homing
implementation, which goal is to route the homing request to the proper
bbackend implementation; e.g. oof vs homing.
Finally, we remove the un-needed variables set in the execution context.

Change-Id: Ic9fb2a599c6375617c92a6d3462b62921ee47a6f
Issue-ID: SO-1168
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agoFixing scaleOut workflow looping issue 14/72014/1
Prema Bhatt [Tue, 6 Nov 2018 21:10:30 +0000 (13:10 -0800)]
Fixing scaleOut workflow looping issue

Updated both GenericVnfHealthCheck and ConfigurationScaleOut BB with
appropriate Exception catch block and added Exception unit test.

Issue-ID: SO-1182
Change-Id: Ia29741a4a7d8e1bb759ace4fd888864141d224d6
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoremoved retry from rainy day table 86/71986/1
bb3476 [Tue, 6 Nov 2018 18:13:55 +0000 (13:13 -0500)]
removed retry from rainy day table

Issue-ID: SO-1185
Change-Id: I6b972828d1a5b57cbfe532d0b8a79a3a10711b3b
Signed-off-by: bb3476 <bb3476@att.com>
5 years agoMerge "Removed slashes and added catch block" into casablanca
Rob Daugherty [Tue, 6 Nov 2018 15:49:11 +0000 (15:49 +0000)]
Merge "Removed slashes and added catch block" into casablanca

5 years agoMerge "Bug fixes November 5th" into casablanca
Rob Daugherty [Tue, 6 Nov 2018 15:15:35 +0000 (15:15 +0000)]
Merge "Bug fixes November 5th" into casablanca

5 years agoMerge "Fix msb url in homing cloudsite" into casablanca
Rob Daugherty [Tue, 6 Nov 2018 15:14:33 +0000 (15:14 +0000)]
Merge "Fix msb url in homing cloudsite" into casablanca

5 years agoRemoved slashes and added catch block 53/71953/1
Brittany Plummer (bp896r) [Tue, 6 Nov 2018 14:51:10 +0000 (09:51 -0500)]
Removed slashes and added catch block

Issue-ID: SO-1183
Change-Id: Ib8581393d782f078fc844cf96cbf7a0228133581
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
5 years agoBug fixes November 5th 05/71905/1
Benjamin, Max (mb388a) [Tue, 6 Nov 2018 00:12:02 +0000 (19:12 -0500)]
Bug fixes November 5th

building block validator test now passes
added buildingblockvalidator process instance test
Retrieve actual error from WorkflowExceptionErrorMessage when the error
message is empty, not only when null.
Propagate orchestrationStatusValidationResult values from BB to BB.
corrected use of constructor for AaiUtil
use AaiUtil method to create path for get call
modified how allotted resource urls are constructed
- Removed the findExistingVnfcInstanceGroup method.  It is not required
to check this because the vnfResourceCustomization is always a new
object at this location.
Enable multiStage VF Module Create processing only when aLaCarte flag
is on.

Change-Id: If8cf397a84abc290e67e287d5b2264dd226398bc
Issue-ID: SO-1188
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoCatchup commits for Dublin 99/71899/1
Benjamin, Max (mb388a) [Mon, 5 Nov 2018 16:00:36 +0000 (11:00 -0500)]
Catchup commits for Dublin

added property for retry timer multiplier for testing
Infra APIH table, fixed test assertNull condition.
Infra APIH table, added tests for request-url = null.
Infra APIH should write request_url to infra_active_requests.
Return SelfLink URL on ServiceInstantiation SyncResponse.
Added JUNITS. Added helper method to get AAI ResourceUri to faciliate
unit test. Fixed code to correctly extract related generic vnf or vce
id.
updated unit test coverage for update network
Handle REST NotFoundException for serviceInstance nodes query. Process
should continue for new order request and throw exception only for SUPP
request.
Added disconnect functionality to the gw vnf test tool.
Added conversion of vnf management option to dhv change speed
sync subnet status with network update
updated macroData vol assigned delete continue script
Correct the name of DeleteVfModuleBB subprocess.
fix the custom resolver to not convert int in string to int
Write the returned value from Homing to gBBInput
Use explicit conversion to JSON to read cloudConfiguration settings.
added property for retry timer multiplier for testing
avoid storing AAI yang models in execution
added handlingCode to rollback test in workflowactionbb
passed in alacarte flag to execute layer for rainy day
added test cases for RollbackToAssigned rainy day hand
added rollback to assign in catalog db rainy day hand
Updated vnf adapter delete stubs to be a post for test.
Added a javadoc to basic auth override method
Added a check to not add blank headers to the headerMap in httpClient.
Added check for if entity exist before calling readEntity.
Fixed failing junits and updated way the body is obtained
Added missing import statement for http client.
Fixed mistakes and made updates caught during review.
Removed post and httpPost methods from RESTClient and refactored
references
Refactored multiple http post references to use httpClient instead.
Removed close connection method and randomized port in unit test
Added http client unit test, coverage is currently at 90 percent
Resolve conflict in sdnc adapter reste v1 method
Began removing http delete and delete methods from RESTClient and
aaiUtil.
Removed http put method and executeput method, refactored references.
fixed broken tests in the branch in jenkins build
Fix Springboot 2.0 start up issues, and other issues
added in implementation to generate self link if there isnt one
removed dbcp2 from poms that still had them
added rollbackstatusmessage to stub in testprocess
added rollback_status_message to the schema sql file
Added variable for rollbackStatusMessage
Added rollbackStatusMessage to get response
added rollback status message to archived infra request
set rollback status message to successful on boolean
added logic to split rollback and regular error message
added rollback status message to infra active requests
pushing the cloud config changes as well
Added media type and fixed cast plural issue.
Made various updated and fixes to code that was changed.
Removed all no longer used RESTClient imports from classes
Removed and refactored references for aaiUtil methods and all remaining
RESTClient methods, removed RESTClient project and updated poms.
Return canonical stack id on multicloud create
Fix OOF Config Ingestion
Fix variable to retrieve sdnc endpoint
Prepare resources for service uuid req
Fix swapped parameters for multicloud DELETE
Update msb-java-sdk to resolve license issues
cloud owner support for SDNC interface
correlationId is now read from userParams
Fix up request body of multicloud adapter body
removed LinkedHashMap<?,?> from java classes
Cut over logging project to release not snapshot
Update unit tests, revert test code, fix comments
Fix remaining number of Unit Tests, on avpn flow
Fix JUNITS add callback url, fix BPMN issues
Update SDNC interaction to support a-sync
updated bpm assert import and corrected tests
updated test case to be mockito 2 compliant
additional changes to import statements and tests
Change the place where the data for multistage gets set
Update treatment of PENDING_ACTIVATION VF_MODULE CREATE entries to
SILENT_SUCCESS to support first stage of multistage.
Implement second stage of multistage design VF Module Creation
removed LinkedHashMap<?,?> from java classes
Removed SNAPSHOT from dependency
Cut over logging project to release not snapshot
Fixed failing BBInputSetup tests
Update unit tests, revert test code, fix comments
Updated apih tests to use networkInstanceGroup
Updated ModelType enum and fixed compilation issues
Fix remaining number of Unit Tests, on avpn flow
Fix JUNITS add callback url, fix BPMN issues
Implementation of the first stage of multistage design for VF Module
creation.
Update SDNC interaction to support a-sync
no longer leave modified files after test runs
Remove generated CSAR, that occurs during JUNIT
Update Camunda Pods to use Flyway Migration in 1902
Updated hashcode method and removed comment.
Added aggregate routes to the sdnw request and updated pom sdnw
dependency.
Began to set aggreagate route information for vrf configuration.
modified remaining files with att-aic references
Correct rollbackData setting and protect against potential null objects.
correct AAIObjectPlurals enum value name
Update POJO to use type URL for selfLink.
Optional<URL> - construct SelfLink Url format.
Construct SelfLink Url format from full Url.
added missing properties to application-test.yaml
fixed compliation error after merge of unit test
restored files which should not have been deleted
Fix SO vulnerabilities with cxf
Fixing bpmn infra endpoint in so-monitoring yaml
removed att-aic from codebase
default cloud owner now configurable
Set homingService in WorkflowAction
Fix Java Ex in Homing
Version should be 1.3.1 to release new dockers
Pnf Spring Environment correction
test property now has dynamic wiremock port
removed test specific wiremock rule that was causing problems
re-enabled and corrected integration tests for so-bpmn-tasks
Test to get sniro homing v2 test working by splitting test suites for
each spring application
Reverted changes to old migration scripts..
Fixed spring context issue with test HomingV2.
Removed unused import to fix compilation errors
Fixed onap changes to homing, migrated homingV2 to homingBB, fixed
broken junits again.
- Updated isUseHttpsWithDmaapTest to check assertTrue rather than
assertFalse.
- Upgraded code to make the isUseHttpsWithDmaap configurable.  It will
default to true if no value is found in the config file.
moved workflowaction test class to the test section
added status message update for retry and rollback
beefed up error message debug logging and req db msg
added debug lines to workflowactionbbtasks reqdbcall

Issue-ID: SO-1187
Change-Id: Iec1aff4ed30a43c0e0b2cdb06c28d8db8a99a830
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoSpringboot 2.0 upgrade 60/71260/4
Benjamin, Max (mb388a) [Sat, 29 Sep 2018 14:41:54 +0000 (10:41 -0400)]
Springboot 2.0 upgrade

corrected typo in CloudConfiguration class
removed files which should not have been merged
updated gr api test cases with dynamic cloud owner
updated groovy files to allow for dynamic cloud owner values
moved VFModularity folder to mso-infrastructure bpmn
updated GR API layer to include cloud owner
added enum for default cloud owner
- fixing junit test cases for using catalogDb client r2
- fixing junit test cases for using catalogDb client
- Internal review comments incorporated for merging mocking into
BaseTest
- Internal review comments incorporated for removing direct repo calls
- CLONE - Key Management Hardcoded encryption key | fixing junits
- CLONE - Key Management Hardcoded encryption key
Updated builder to use String.format
Added exception specifically for issues interacting with
requestdbadapter
Updated exception message and added junit test case
removed useless error handling test case from workflow
changed method name and added junit coverage to errors
added max retry and success status after completed bb
Added case to handle when homing is not called during assign vnf.
Fixing fortify issues | Implementing review comments
- Key Management Hardcoded encryption key - fixing prop files
- Key Management Hardcoded encryption key
include network ID for completion handler
Added exception handling for saving to requestdb
- Adding a check on the predicate availability on the repository before
firing the query with default conditions. This ensures that the api
returns data only when there is an input against which it was able to
form some conditions
Modify UT to show that the API does not behave
- adding negative test case for checkInstanceNameDuplicate
added assertion that global count var was reset to 0
updated rollback to reset current sequence count var
workflowaction calls rollback is complete before error
workflowaction will set failure on successful rollback
added check for isrollback to know which complete to call
removed file which should not have been added
add fabric check before running vf module a la carte
Enhance UCPEMigrateService junits and add them to Jenkins build..
Added back removed test case for ManualTasks
Added test case for response error
Added rainy day test cases for ManualTasks
revert the other change and fix the rollback logic instead
fixed current sequence and updated rollback code
added network cloud heat template parameters to mapper
Generate a unique subRequestId for each request to APP-C.
reverted conditional logic for determining fabric
Fix Bean scanning so it picks up the resttemplate
removed unnecessary RestTemplate Bean configurations
removed file which should not have been added
workflowaction calls rollback is complete before error
workflowaction will set failure on successful rollback
added check for isrollback to know which complete to call
add fabric check before running vf module a la carte
added assertion that global count var was reset to 0
updated rollback to reset current sequence count var
include network ID for completion handler
Revert Application.yaml change accidentally checked in
Added exception handling for saving to requestdb
Added case to handle when homing is not called during assign vnf.
removed useless error handling test case from workflow
changed method name and added junit coverage to errors
...
add cloud owner variable to camunda in mapping
Revert "Pass cloudOwner to subflow DoCreateVfModuleVolumeV2. Added
juint test to verify variables are set in the execution. Set default
cloudOwner in main module CreateVfModuleVolumeInfraV2"
updated cloud configuration pojo to inlcude defaults
Revert "Test to verify ServiceInstance object mapping"
Test to verify ServiceInstance object mapping
Pass cloudOwner to subflow DoCreateVfModuleVolumeV2. Added juint test
to verify variables are set in the execution. Set default cloudOwner in
main module CreateVfModuleVolumeInfraV2
Pass cloudOwner to subflow DoCreateVfModuleVolumeV2. Set default
cloudOwner 'att-aic' if null per old requirements.
removed references to att-aic from BBInputSetup
Changes done in encryption decryption logic | used
DelegateExecutionFake in Tests
Changes done in encryption decryption logic | used
DelegateExecutionFake in Tests
Changes done in encryption decryption logic
Changes done in encryption decryption logic | removed Default Auth
Constant as per the comments
Changes done in encryption decryption logic | Fixed UT
Changes done in encryption decryption logic | Added XmlComparator
assertion for verifying XML
Changes done in encryption decryption logic | Reverted as per the
review comment
Changes done in encryption decryption logic | Fixed UTs
Changes done in encryption decryption logic | Fixed UTs
Changes done in encryption decryption logic | modified related
encrypted properties in test yaml files
Changes done in encryption decryption logic for fortify issue
resolution | Fixed UTs
Changes done in encryption decryption logic | modified related
encrypted properties in yaml files
Changes done in encryption decryption logic for fortify issue
resolution.
Fixed Property fetching issue in required file
Added TasksBeansTest using openpojo
Removed renamed test file from tasksbeans
Updated imports on TasksBeansTest
Added openpojo test to replace the individual tests
Removed tests that provided no coverage
script clean up -Update reference data to support distinct recreate and
replace requests with their own sequences
Update reference data to support distinct recreate and replace requests
with their own sequences- Fix  seq number
Update reference data to support distinct recreate and replace requests
with their own sequences
added null check to mdc and interceptors to sdnc cxf
validations can now match against multiple BBs
reverted changes to BBInputSetup class
added support for pre and post validation for BBs
initial commit of generic building block validator
converted test to no longer be a springboot test
Remove cosmetic changes from BPMN files to be consistent.
Remove minor changes that are not related to functionality.
Rework to implement the functionality as part of Validator
Combine the verification methods into one based on the flow's name;
change the logging.
Add verification of status of other VF Modules in the VNF for the
delete/deactivate/unassign.
added network-technology validation for CreateNetworkBB
Sonar Issue Fix | Changes done in encryption decryption logic |
Refactoring
Changes done in encryption decryption logic| Used AES/GCM/NoPadding
algorithm | fixed sonar issues
added network-type and network-technology to mapper
Continue the fight to make JUNITS work properly
Update ASDC ATT to be springboot 2.0 compliant
Continue to fix Unit tests for springboot 2.0 port
removed autowired from workflowactionbbtaskstest
fixed workflowactiontest and reduced size by 500 lines
Update last of UT for mockito upgrade to 2.0
Fix more JUNITS due to mockito 2.0 upgrade
Unit Test fixes to use proper mockito not spring
Update Base Test to import proper packages for compile
Additional Springboot 2.0 changes, for tests
Additional springboot 2.0 fixes and upgrades
Update Migration to be Flyway 5 Compliant
Fix MSOBPMN Infrastructure common tests
Fix Groovy Unit Tests in CommonBPMN Project
Update MSO common BPMN to Springboot 2.0
Upgrade ASDC controller to SpringBoot 2.0
Port Openstack adapters to springboot 2.0
Fix VFC Adapter to be springboot 2 compatible
Port CatalogDB adapter code to springboot 2
Port SDNC Adapter to Springboot 2.0
...
added update scripts to macro data instead of v12 sql
added secondarypolicy to rainy day handling table
confirm subnet map is not null in adapter response
shallow copy subnet before AAI udpate
update AAIObjectType to use uriTemplate
extract subnet data from adapter response
update correct AAIObjectType for subnet query
update subnet(s) in AAI on network create completion
confirm subnet map is not null in adapter response
shallow copy subnet before AAI udpate
update AAIObjectType to use uriTemplate
extract subnet data from adapter response
update correct AAIObjectType for subnet query
update subnet(s) in AAI on network create completion
fixed test http entity unit test to remove testing appid and
transaction id
added unit test for querySubsystemHealth method.  also added
resttemplate mock to implement healthcheck endpoint
fixed unit test to use mock instead of actually goes out to health
check endpoint
added code to extend globalhealthcheck to include pinging other
components and consolidate the responses
converted test to no longer be a springboot test
Remove cosmetic changes from BPMN files to be consistent.
Remove minor changes that are not related to functionality.
added update scripts to macro data instead of v12 sql
Rework to implement the functionality as part of Validator
added secondarypolicy to rainy day handling table
added network-type and network-technology to mapper
Combine the verification methods into one based on the flow's name;
change the logging.
Add verification of status of other VF Modules in the VNF for the
delete/deactivate/unassign.
updated how request db is set to failure in workflowA
corrected code to match existing unit tests
corrected tests after springboot 2 upgrade
Added Required UTs in UpdateConfigurationStateTest and also fixed some
UTs.
added in missing parenthesis on method call
added back execution variable for allotted uri
addressed comments on pull request
refactor AAI Rest calls from groovy files - Changes as per review
comments
checkin to refactor AAI rest | Fixing AAIResourceClient.update call
refactor AAI Rest calls from groovy files - UpdateConfiguration
refactor AAI Rest calls from groovy file - DeleteConfiguration
refactor AAI Rest calls from groovy file - UpdateConfiguration
refactor AAI Rest calls from groovy file - CreateConfiguration &
ConfigurationUtils
refactor AAI Rest calls from groovy files - Fix getARByID issue
checkin to refactor AAI rest | Adding Junits
checkin to refactor AAI rest | Adding few more classes
checkin to refactor AAI rest of DoCreateVfModuleVolumeV2
checkin to refactor AAI rest | Update junit
checkin to refactor AAI rest of DoCreateVfModuleVolumeV2 | Adding junits
checkin to refactor AAI rest of DoCreateVfModuleVolumeV2 | Adding junits
checkin to refactor AAI rest of DoCreateVfModuleVolumeV2.groovy
...
updated in and out mapping to be generalBuildingBlock
change source out mapping to generalBuildingBlock

Change-Id: I122f1ebe3e15b77da0a55af201d89d47e326bf83
Issue-ID: SO-1098
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Send correct resourceModuleName" into casablanca
Rob Daugherty [Sat, 3 Nov 2018 15:16:37 +0000 (15:16 +0000)]
Merge "Send correct resourceModuleName" into casablanca

5 years agoAdded Null check for gtConfigurationParameter 74/71774/1
Prema Bhatt [Fri, 2 Nov 2018 20:55:10 +0000 (13:55 -0700)]
Added Null check for gtConfigurationParameter

Change-Id: Icd21f579eebfe40b70344456420701fbc2408722
Issue-ID: SO-1179
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoConfigurationParameter is empty for scaleout 62/71762/1
Prema Bhatt [Fri, 2 Nov 2018 19:57:28 +0000 (12:57 -0700)]
ConfigurationParameter is empty for scaleout

Mapping for ConfigurationParameter List was missing in
BBInputSetupMapperLayer class. Added mapping and updated Unit tests and
test data

Change-Id: Ice8c7c30c97a5b8a8444a2243ddbea4d5fb036af
Issue-ID: SO-1083
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoUpdated Reference data for AutoScaleOut 06/71706/1
Prema Bhatt [Fri, 2 Nov 2018 00:32:21 +0000 (17:32 -0700)]
Updated Reference data for AutoScaleOut

Updated building_block_detail Reference data and added entries into
orchestration_status_state_transition_directive table for AutoScaleOut

Change-Id: I19a2ea7e217c751be16be5784a8161aab4436285
Issue-ID: SO-1174
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoFix msb url in homing cloudsite 94/71694/1
Marcus G K Williams [Thu, 1 Nov 2018 21:35:21 +0000 (14:35 -0700)]
Fix msb url in homing cloudsite

This change adds a getMsbHost method
to homingUtils to enable correct configuration
of the msburl used in identity_services for
multicloud.

Issue-ID: SO-1180
Change-Id: Ib7adecda98b1d5f5770e2d17a2e76c970619ab46
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoMerge "Update Logic" into casablanca
Rob Daugherty [Thu, 1 Nov 2018 16:52:27 +0000 (16:52 +0000)]
Merge "Update Logic" into casablanca

5 years agoUpdate Logic 43/71643/2
Smokowski, Steve (ss835w) [Thu, 1 Nov 2018 15:23:04 +0000 (11:23 -0400)]
Update Logic

Update Regex Logic to take into account new scale out URI and generate
the UUID, Fix whitespace

Issue-ID: SO-117
Change-Id: I1a3c3b31e18701fce3d622d501dd68efc7ab6969

Change-Id: I1a3c3b31e18701fce3d622d501dd68efc7ab6969
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoSend correct resourceModuleName 86/71586/1
Marcus G K Williams [Wed, 31 Oct 2018 21:35:05 +0000 (14:35 -0700)]
Send correct resourceModuleName

Issue-ID: SO-1178
Change-Id: I593ec7db0bac3e0b343bd0eb960977d0110fd9b8
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years ago10/31: merge casablanca to master 47/71547/2
Rob Daugherty [Wed, 31 Oct 2018 14:21:22 +0000 (10:21 -0400)]
10/31: merge casablanca to master

Commit: 649c4e85cc991ffe9c13fd3fab4cc3a303faa656
Subject: Fix Error, Check that vimID is present
Issue: SO-1156
https://gerrit.onap.org/r/#/c/71247/

Commit: 959493d3274d2f2749586248cf31ee12b730e2af
Subject: Bug fixes October 26th
Issue: SO-1169
https://gerrit.onap.org/r/#/c/71343/

Commit: 373c057bfa82583f615ea46814ad3cdf9ea8d669
Subject: Resolve vf_module_id setting bug
Issue: SO-1165
https://gerrit.onap.org/r/#/c/71270/

Commit: 6c2c8a66fade016f74b51bdfea3ba04494530b97
Issue: SO-1102
Subject: Pnf Spring Environment correction
https://gerrit.onap.org/r/#/c/71137/

Change-Id: I22b4566050f627e1f1428aacdb52ec4d4fe75733
Issue-ID: SO-1173
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "remove unused code"
Rob Daugherty [Wed, 31 Oct 2018 13:54:08 +0000 (13:54 +0000)]
Merge "remove unused code"

5 years agoMerge "Updated: Spelling Mistake Issue-ID: SO-1135"
maopeng zhang [Tue, 30 Oct 2018 09:07:55 +0000 (09:07 +0000)]
Merge "Updated: Spelling Mistake Issue-ID: SO-1135"

5 years agoMerge "Fix Error, Check that vimID is present" into casablanca
Rob Daugherty [Mon, 29 Oct 2018 21:19:59 +0000 (21:19 +0000)]
Merge "Fix Error, Check that vimID is present" into casablanca

5 years agoFix Error, Check that vimID is present 47/71247/3
Marcus G K Williams [Thu, 25 Oct 2018 14:49:31 +0000 (07:49 -0700)]
Fix Error, Check that vimID is present

Issue-ID: SO-1156
Change-Id: I14445f0e6dbed00b37a189f3a7c05923c6d4e5ab
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoMerge "junits for HttpClientRedirectStrategy"
Rob Daugherty [Mon, 29 Oct 2018 14:36:10 +0000 (14:36 +0000)]
Merge "junits for HttpClientRedirectStrategy"

5 years agoMerge "Simplify Aai connection result"
Rob Daugherty [Mon, 29 Oct 2018 13:40:43 +0000 (13:40 +0000)]
Merge "Simplify Aai connection result"

5 years agojunits for HttpClientRedirectStrategy 42/70142/2
Tomasz Gwozdecki [Wed, 10 Oct 2018 07:12:54 +0000 (03:12 -0400)]
junits for HttpClientRedirectStrategy

-Added new test for HttpClientRedirectStrategy
-Tests for method getRedirect

Change-Id: Id3adf920c1e3e53d93aa3658f147d571cb631f94
Issue-ID: SO-814
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
5 years agoremove unused code 92/71392/1
Lukasz Muszkieta [Thu, 25 Oct 2018 10:19:03 +0000 (12:19 +0200)]
remove unused code

Change-Id: I919011962274943dbbc53905c70726c251fa8e14
Issue-ID: SO-729
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoAdd junit tests for CreateAAIVfModule 58/71058/3
Lukasz Muszkieta [Tue, 23 Oct 2018 13:24:39 +0000 (15:24 +0200)]
Add junit tests for CreateAAIVfModule

Change-Id: Ib879988d06f1956b1ce6801c62c5d5ce8712704a
Issue-ID: SO-784
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoBug fixes October 26th 43/71343/1
Benjamin, Max (mb388a) [Fri, 26 Oct 2018 19:05:42 +0000 (15:05 -0400)]
Bug fixes October 26th

Set non-custom health diagnostic check code to a default value.
created custom java serialization for SimpleUri
changed property value for cloud-owner in unit test
converted aai call to use the AAI Client
Correct a JUnit data file to include userParams values that are
expected to be set.
Set userParams on requestContext to parameters that need to be passed
to downstream systems.

Change-Id: I3974691875ef967f90a15f076ae27bc0cd76ee8e
Issue-ID: SO-1169
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoResolve vf_module_id setting bug 70/71270/2
Marcus G K Williams [Thu, 25 Oct 2018 18:56:43 +0000 (11:56 -0700)]
Resolve vf_module_id setting bug

Do not remove vf_module_id and vnf_id
from parameters in HeatUtils.

Issue-ID: SO-1165
Change-Id: I6f00350a6f7dc419a8be9b90b28188228949cb43
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoMerge "8/23: merge casablanca to master"
Marcus Williams [Wed, 24 Oct 2018 14:10:15 +0000 (14:10 +0000)]
Merge "8/23: merge casablanca to master"

5 years agoPnf Spring Environment correction 37/71137/1
Lukasz Muszkieta [Thu, 4 Oct 2018 14:15:13 +0000 (16:15 +0200)]
Pnf Spring Environment correction

Change-Id: Ic9d83e2919bd1f947fdca07d8982bd5e794c9dbe
Issue-ID: SO-1102
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoFix SO vulnerabilities with cxf 06/71106/1
Gary Wu [Wed, 24 Oct 2018 00:24:40 +0000 (17:24 -0700)]
Fix SO vulnerabilities with cxf

Change-Id: I2b96af009ae97da3888a4e71af03714c6c9feff2
Issue-ID: SO-1163
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years ago8/23: merge casablanca to master 96/71096/1
Rob Daugherty [Tue, 23 Oct 2018 18:08:57 +0000 (14:08 -0400)]
8/23: merge casablanca to master

Change-Id: I0a73fbedf8c6f22e0a37cd8f0505ddcf83250341
Issue-ID: SO-1160
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "Bug fixes October 23rd" into casablanca
Rob Daugherty [Tue, 23 Oct 2018 18:08:00 +0000 (18:08 +0000)]
Merge "Bug fixes October 23rd" into casablanca

5 years agoBug fixes October 23rd 84/71084/2
Benjamin, Max (mb388a) [Tue, 23 Oct 2018 16:02:27 +0000 (12:02 -0400)]
Bug fixes October 23rd

fixed the db status not being updated on delete SI
added a default sequence flow to isAsync_Gateway
Removed @Before and organized imports
Added check to prevent db query with only requestStatus
correct AAIObjectPlurals enum value name
Correct rollbackData setting and protect against null

Change-Id: Ic7c47dc968a29987c3d576da9aa50c7ddc8f28ee
Issue-ID: SO-1162
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFixing bpmn infra endpoint in so-monitoring yaml 80/71080/2
Waqas Ikram [Tue, 23 Oct 2018 16:51:32 +0000 (17:51 +0100)]
Fixing bpmn infra endpoint in so-monitoring yaml

Change-Id: I5db304c59176808f05138bc4c8a1cb6ce043eb66
Issue-ID: SO-1155
Signed-off-by: Waqas Ikram <waqas.ikram@ericsson.com>
5 years agoremoved att-aic from codebase 69/71069/2
Benjamin, Max (mb388a) [Tue, 23 Oct 2018 15:15:59 +0000 (11:15 -0400)]
removed att-aic from codebase

remove att-aic cloud owner from ONAP files

Change-Id: Ifba8ef6f53194ddca12d11973817f6d85e2fa7e3
Issue-ID: SO-1161
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agodefault cloud owner now configurable 61/71061/2
Benjamin, Max (mb388a) [Tue, 23 Oct 2018 13:43:26 +0000 (09:43 -0400)]
default cloud owner now configurable

default cloud owner can now be set via a property

Change-Id: I9b900cb2a5c7176a78e889ad2ce31a4ed9d38585
Issue-ID: SO-1158
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoSimplify Aai connection result 25/70925/4
biniek [Fri, 19 Oct 2018 08:45:54 +0000 (10:45 +0200)]
Simplify Aai connection result

Change-Id: Ibbe0f1b9c8fff3b2557161ac2386d21e417ec491
Issue-ID: SO-1148
Signed-off-by: biniek <lukasz.biniek@nokia.com>
5 years agoUpdated: Spelling Mistake 36/71036/1
ankatare [Tue, 23 Oct 2018 08:51:12 +0000 (14:21 +0530)]
Updated: Spelling Mistake
Issue-ID: SO-1135

Change-Id: I19c63c00daaaa9e5ab20936edfa5a6c442ed7a02
Signed-off-by: ankatare <ankatare@hotmail.com>
5 years agoMerge "Fix Java Ex in Homing" into casablanca 1.3.1
Seshu Kumar M [Tue, 23 Oct 2018 04:58:46 +0000 (04:58 +0000)]
Merge "Fix Java Ex in Homing" into casablanca

5 years agoSet homingService in WorkflowAction 72/70972/1
Marcus G K Williams [Mon, 22 Oct 2018 18:48:47 +0000 (11:48 -0700)]
Set homingService in WorkflowAction

Issue-ID: SO-1153
Change-Id: I40ef5deb8699f7f0c602cb57e273c1a3dc814004
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoFix Java Ex in Homing 70/70970/1
Marcus G K Williams [Mon, 22 Oct 2018 18:42:57 +0000 (11:42 -0700)]
Fix Java Ex in Homing

Issue-ID: SO-1145
Change-Id: I35b28f9e4cd67536a7807f9e083b0c1c4fa9a03c
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoVersion should be 1.3.1 to release new dockers 57/70957/1
Rob Daugherty [Mon, 22 Oct 2018 15:57:29 +0000 (11:57 -0400)]
Version should be 1.3.1 to release new dockers

THIS IS FOR CASABLANCA ONLY

Change-Id: Ib261104ab7300ec10906386b9397301a653c992c
Issue-ID: SO-1157
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoPnf Spring Environment correction 09/69909/12
Lukasz Muszkieta [Thu, 4 Oct 2018 14:15:13 +0000 (16:15 +0200)]
Pnf Spring Environment correction

Change-Id: Ifd33f4ba0f62b15605ea21eb3d9256c3e70a1d2f
Issue-ID: SO-1102
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agobug fixes october 19th 17/70817/4
Benjamin, Max (mb388a) [Fri, 19 Oct 2018 13:32:18 +0000 (09:32 -0400)]
bug fixes october 19th

Fixed issue with resource version being added twice.
added silent success to orch validation when unassign is not found
Removed SNAPSHOT from dependency
Fixed failing BBInputSetup tests
Updated apih tests to use networkInstanceGroup
Updated ModelType enum and fixed compilation issues
Change the place where the data for multistage gets set
Update treatment of PENDING_ACTIVATION VF_MODULE CREATE entries to
SILENT_SUCCESS to support first stage of multistage.
Implement second stage of multistage design VF Module Creation
Implementation of the first stage of multistage design for VF Module
creation.

Change-Id: I6d76282d1f37c081355cee72797d8e13da4e3cb0
Issue-ID: SO-1149
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoUpdate version to 1.4.0-SNAPSHOT for Dublin 43/70843/1
Rob Daugherty [Fri, 19 Oct 2018 19:13:38 +0000 (15:13 -0400)]
Update version to 1.4.0-SNAPSHOT for Dublin

Henceforth, the master branch will be for Dublin work.

Change-Id: I269fd8f227e37afdab9c633f45488c643e5e765e
Issue-ID: SO-1151
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agologging-slf4j:1.2.2-SNAPSHOT does not exist 27/70827/1
Rob Daugherty [Fri, 19 Oct 2018 15:37:05 +0000 (11:37 -0400)]
logging-slf4j:1.2.2-SNAPSHOT does not exist

Change the dependency to the 1.2.2 release version.
Remove the exclusion for EELF, because 1.2.2 doesn't use it.

Change-Id: I0ccca79df59282d5d9d71eec4b3faa845d31814f
Issue-ID: SO-1152
Signed-off-by: Rob Daugherty <rd472p@att.com>
(cherry picked from commit 50fcd6f94104234212d907f8fb968d506d4d6e33)

5 years agologging-slf4j:1.2.2-SNAPSHOT does not exist 26/70826/1
Rob Daugherty [Fri, 19 Oct 2018 15:37:05 +0000 (11:37 -0400)]
logging-slf4j:1.2.2-SNAPSHOT does not exist

Change the dependency to the 1.2.2 release version.
Remove the exclusion for EELF, because 1.2.2 doesn't use it.

Change-Id: I0ccca79df59282d5d9d71eec4b3faa845d31814f
Issue-ID: SO-1152
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "remove unused code"
Seshu Kumar M [Fri, 19 Oct 2018 03:02:46 +0000 (03:02 +0000)]
Merge "remove unused code"

5 years agoMerge "Bug fixes October 16"
Rob Daugherty [Thu, 18 Oct 2018 12:43:33 +0000 (12:43 +0000)]
Merge "Bug fixes October 16"

5 years agoMerge "Fixing SO-Monitoring UI tests"
Marcus Williams [Wed, 17 Oct 2018 21:28:42 +0000 (21:28 +0000)]
Merge "Fixing SO-Monitoring UI tests"

5 years agoremove unused code 46/70646/2
Lukasz Muszkieta [Wed, 10 Oct 2018 14:08:53 +0000 (16:08 +0200)]
remove unused code

UUID parameter in AAIRestClientI interface is redundant - part 1

Issue-ID: SO-729

Change-Id: I7db331098911e6e183d921175f3109f62b7aedbd
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoBug fixes October 16 58/70658/1
Benjamin, Max (mb388a) [Tue, 16 Oct 2018 20:46:17 +0000 (16:46 -0400)]
Bug fixes October 16

Treat the VfModule returned from PrepareUpdateAAIVfModule call as an
AAI object
collection create, connect instanceGroup to cloudRegion
Fix a typo in the name of the method for getting a variable
testing mapping of instance group role
test NetworkInstanceGroup role to be SUB-INTERFACE
use enum value with hyphen for subtype
Some updates based on feedback to java codes
updated client to use optional instead of passing null
added case where client sends null due to mapping issue
added generic response object and pinc returns response
build relationship now correctly removes wrapper
Ensure that no null object gets referenced while checking if VNF is
empty.

Change-Id: I6177877518475c1f2e8e4e9dbd2ad1e2f3e10d18
Issue-ID: SO-1144
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "correlationId is now read from userParams"
Rob Daugherty [Wed, 17 Oct 2018 13:14:04 +0000 (13:14 +0000)]
Merge "correlationId is now read from userParams"

5 years agoMerge "Bug fixes for casablanca"
Rob Daugherty [Wed, 17 Oct 2018 13:11:41 +0000 (13:11 +0000)]
Merge "Bug fixes for casablanca"

5 years agoMerge "Fix OOF Config Ingestion"
maopeng zhang [Wed, 17 Oct 2018 05:03:54 +0000 (05:03 +0000)]
Merge "Fix OOF Config Ingestion"

5 years agoMerge "Fix variable to retrieve sdnc endpoint"
maopeng zhang [Wed, 17 Oct 2018 01:57:10 +0000 (01:57 +0000)]
Merge "Fix variable to retrieve sdnc endpoint"

5 years agoMerge "Prepare resources for service uuid req"
maopeng zhang [Wed, 17 Oct 2018 01:57:01 +0000 (01:57 +0000)]
Merge "Prepare resources for service uuid req"

5 years agoMerge "Return canonical stack id on multicloud create"
Marcus Williams [Wed, 17 Oct 2018 00:27:10 +0000 (00:27 +0000)]
Merge "Return canonical stack id on multicloud create"

5 years agoReturn canonical stack id on multicloud create 09/70609/1
Eric Multanen [Wed, 17 Oct 2018 06:36:20 +0000 (23:36 -0700)]
Return canonical stack id on multicloud create

When creating vfmodule via multicloud adapter, return
the canonical name of the stack <stackname>/<stack id>

Code was returning <stack id>/<stack id>

Change-Id: Iaa2a105ab779acc9638fe515c7bc4e5c23d7233e
Issue-ID: SO-1142
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoMerge "cloud owner support for SDNC interface"
Marcus Williams [Tue, 16 Oct 2018 21:54:12 +0000 (21:54 +0000)]
Merge "cloud owner support for SDNC interface"

5 years agoFix OOF Config Ingestion 04/70604/1
Marcus G K Williams [Tue, 16 Oct 2018 21:46:51 +0000 (14:46 -0700)]
Fix OOF Config Ingestion

Update Homing OOF Config Path

Issue-ID: SO-1127
Change-Id: I10ba6dcf23d474ba5e9832a6f4f35e52ead020b5
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoBug fixes for casablanca 87/70387/2
Benjamin, Max (mb388a) [Fri, 12 Oct 2018 18:03:02 +0000 (14:03 -0400)]
Bug fixes for casablanca

Updated builder to use String.format
Added exception specifically for issues interacting with
requestdbadapter
Updated exception message and added junit test case
Added case to handle when homing is not called during assign vnf.
include network ID for completion handler
Added exception handling for saving to requestdb
added null check to mdc and interceptors to sdnc cxf
confirm subnet map is not null in adapter response
shallow copy subnet before AAI udpate
update AAIObjectType to use uriTemplate
extract subnet data from adapter response
update correct AAIObjectType for subnet query
update subnet(s) in AAI on network create completion
updated how request db is set to failure in workflowA
updated in and out mapping to be generalBuildingBlock
change source out mapping to generalBuildingBlock
Use explicit conversion to JSON to read cloudConfiguration settings.
Use explicit conversion to JSON to read cloudConfiguration settings.
Correct the name of DeleteVfModuleBB subprocess.
Write the returned value from Homing to gBBInput
updated unit test coverage for update network
sync subnet status with network update
Added WorkflowException to out mapping which will trigger an exception
to be thrown when populated.
Correct the payload for HealthCheck APP-C Action to remove escaping and
change parameter name.
Added WorkflowException to out mapping which will trigger an exception
to be thrown when populated.
Commit a change that was not staged in previous commit
updated arguments to getConstructor method
forgot to extract throwable from Optional object
added throwable constructor to createException
fixed broken unit test and added a new test and method
set the network technology in the network request
remove namespace from added networkId payload element
- Updated SDWan test case to check the database to make sure the
VNFCustomization object exist.
- Updated code to only loop in iNotif.getResources() for VF resources,
all others are unnecessary and were causing issues with the Service
object.
- Removed modifiedHeatTemplate variable since this isn't needed in the
ONAP code base.
Make sure vnfResponseCode variable is set to 200 when VNF is correctly
retrieved from A&AI.
VRR VRRCreateVfModule - send availability_zone to SDNC Infra Assign
request
Safeguard the retrieval of Boolean setting for isRollbackEnabled.
Set isRollbackEnabled to opposite of suppressRollback early on in the
execution.
Reverse suppressRollback value to pass as backout parameter to VNF
Adapter
Add the exceptions to the calls to aai client queries
Correct retrieval of the object from Optional for A&AI queries.

Change-Id: I7d22e621b0316c14ce61bd51a9d5753473622697
Issue-ID: SO-1134
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix variable to retrieve sdnc endpoint 70/70170/6
subhash kumar singh [Wed, 10 Oct 2018 14:17:41 +0000 (19:47 +0530)]
Fix variable to retrieve sdnc endpoint

Fix variable to retrieve sdnc endpoint

Change-Id: Ib27049f90d545bceb34a73394f5b430c549c5e08
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoPrepare resources for service uuid req 65/70165/6
subhash kumar singh [Wed, 10 Oct 2018 06:40:17 +0000 (12:10 +0530)]
Prepare resources for service uuid req

Retrieve all the resource for queried service uuid.

Change-Id: If2beaa27570821c9897387d3b7098a939d99c895
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoMerge "Fix swapped parameters for multicloud DELETE"
maopeng zhang [Tue, 16 Oct 2018 08:42:40 +0000 (08:42 +0000)]
Merge "Fix swapped parameters for multicloud DELETE"

5 years agoFix swapped parameters for multicloud DELETE 12/70512/1
Eric Multanen [Tue, 16 Oct 2018 07:30:24 +0000 (00:30 -0700)]
Fix swapped parameters for multicloud DELETE

cloudSiteId and tenantId were swapped in call to
deleteStack().

Change-Id: I56bc326cb680dabb9d397cb7f0f918e406cb8bba
Issue-ID: SO-1139
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoUpdate msb-java-sdk to resolve license issues 18/70518/1
Gary Wu [Tue, 16 Oct 2018 01:55:10 +0000 (18:55 -0700)]
Update msb-java-sdk to resolve license issues

Upgrade or remove msb-java-sdk library version in
order to resolve possible license issues with
com.google.code.findbugs:annotations:2.0.1.

Change-Id: I8f16ec293fcd9f2e328dacb86eda9687fba3f8dc
Issue-ID: SO-1140
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agocloud owner support for SDNC interface 89/70489/1
Benjamin, Max (mb388a) [Mon, 15 Oct 2018 17:04:37 +0000 (13:04 -0400)]
cloud owner support for SDNC interface

added cloudOwner to SDNC gr api payloads

Change-Id: If8351ab9078bd0c0f503acdf21622d615eb5a5ab
Issue-ID: SO-1137
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agocorrelationId is now read from userParams 63/70063/7
biniek [Tue, 9 Oct 2018 13:05:08 +0000 (15:05 +0200)]
correlationId is now read from userParams

Change-Id: I92c6caad1370fde7daf067addbf39e45469e08aa
Issue-ID: SO-1116
Signed-off-by: biniek <lukasz.biniek@nokia.com>
5 years agoFix up request body of multicloud adapter body 33/70333/2
Eric Multanen [Fri, 12 Oct 2018 14:03:09 +0000 (07:03 -0700)]
Fix up request body of multicloud adapter body

Make some of the attributes json instead of json in a string.
Fixed up payload of request.

Change-Id: I7737fd19d44c8075bd7fef19068a72f8c0ec7e6d
Issue-ID: SO-1124
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoUpdated aai dependency to 1.3.1 70/70370/1
Benjamin, Max (mb388a) [Fri, 12 Oct 2018 17:11:44 +0000 (13:11 -0400)]
Updated aai dependency to 1.3.1

Change-Id: I1e9f9e972b65607304f7076e0a63879159b8ae94
Issue-ID: SO-1133
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Dynamic Cloud Owner Support"
Rob Daugherty [Fri, 12 Oct 2018 15:11:07 +0000 (15:11 +0000)]
Merge "Dynamic Cloud Owner Support"

5 years agoDynamic Cloud Owner Support 14/70314/4
Benjamin, Max (mb388a) [Thu, 11 Oct 2018 17:55:37 +0000 (13:55 -0400)]
Dynamic Cloud Owner Support

added in cloud configuration object to request params
Fix Bean scanning so it picks up the resttemplate
removed unnecessary RestTemplate Bean configurations
corrected typo in CloudConfiguration class
updated gr api test cases with dynamic cloud owner
updated groovy files to allow for dynamic cloud owner values
updated GR API layer to include cloud owner
added enum for default cloud owner
add cloud owner variable to camunda in mapping
removed references to att-aic from BBInputSetup
updated aai schema dependency to 1.3.1 from 1.3.0
Fixed incorrect type AAIUri and updated logging in the method.
use existing service instance id instead of generating
Pass cloudOwner to process to propagate to subprocesses.

NOTE: our aai-schema dependency is 1.3.1-SNAPSHOT to be
compatible with the cloud owner changes here.  The
releaesed 1.3.0 version is NOT compatible.

Change-Id: I43b46774b77981d1c8bfe7c7a79b9434889e62ae
Issue-ID: SO-1128
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoFixing SO-Monitoring UI tests 64/70264/2
Ronan Kenny [Thu, 11 Oct 2018 14:48:26 +0000 (15:48 +0100)]
Fixing SO-Monitoring UI tests

Change-Id: I0601c024474196dc965ec7a7f16c4bca11af80f9
Issue-ID: SO-1125
Signed-off-by: Ronan Kenny <ronan.kenny@ericsson.com>
5 years agoMerge "Fix UserInput Exception"
Rob Daugherty [Thu, 11 Oct 2018 23:24:28 +0000 (23:24 +0000)]
Merge "Fix UserInput Exception"

5 years agoFix UserInput Exception 11/70211/4
Marcus G K Williams [Wed, 10 Oct 2018 23:50:52 +0000 (16:50 -0700)]
Fix UserInput Exception

This change fixes processing of
UserInput in prepareCreateServiceInstance
which causes an exception if any user-input
is passed into createRequest.

Issue-ID: SO-1121
Change-Id: Iae8b158dfb8771d55607e09bdb18471358a2d9cd
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoaai-schema:1.3.0-SNAPSHOT is gone 73/70273/1
Rob Daugherty [Thu, 11 Oct 2018 17:08:45 +0000 (13:08 -0400)]
aai-schema:1.3.0-SNAPSHOT is gone

We must now use the newly released 1.3.0 version

Change-Id: I5b7f0f8847031b776ab49b453f237f009e71804b
Issue-ID: SO-1129
Signed-off-by: Rob Daugherty <rd472p@att.com>