summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-04-25Merge "Add SO update config file -application.yaml file"Steve Smokowski1-0/+1
2019-04-21Status message for create vf module event auditBenjamin, Max (mb388a)2-4/+70
Added appc to application-test due to new dependency in openstack Updated exception class to inject mock into class for junits. Added error handling support for when create audit fails. Added error handling for when create audit fails and added test Updated test schema file to create table and added field. Updated pom file to relfect typo in change made. Updated locaton of pojos for audit code Updated test schema file to create table and added field. Updated pom file to relfect typo in change made. Comitting files that i forgot to stage from previous commit Updated locaton of pojos for audit code Additional fixes including vnfcname and null check Fixed bug in delete audit failure check and reverted gateway change. Change-Id: I993ce377dd6407960a65b4940d83d8162b24633c Issue-ID: SO-1792 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-20Moved base client to new locationBenjamin, Max (mb388a)1-0/+1
Change-Id: I0d8ab71393935ca791d37bb23340f96b921f5505 Issue-ID: SO-1791 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-16License agreement changesSunilB8-0/+160
License agreement changes Issue-ID: SO-1481 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I475d25bb040907a0c48b579f6d3091c41ccfec25
2019-04-11Merge "Fix request input parsing if default value null"Seshu Kumar M1-7/+52
2019-04-11Merge "Support for SO to ExtAPI"Seshu Kumar M1-0/+1
2019-04-10Fix request input parsing if default value nullsubhash kumar singh1-7/+52
Fix request input parsing if default value null. Change-Id: I5d3e2e55d630271f93773eb7c634f50af4197fb0 Issue-ID: SO-1744 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)82-9117/+8720
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-05Merge "Fixed Sonar blocker issues"Steve Smokowski1-6/+30
2019-04-05Merge "Fix runtime bugs in bpmn groovy"Steve Smokowski1-7/+28
2019-04-05Fixed Sonar blocker issuesr.bogacki1-6/+30
Fixed blockers according to Sonar analysis. Added tests for fixed issues. Change-Id: I8e259147082d722961048454fae9484cc0d8b0a8 Issue-ID: SO-1734 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-04-04PNF WF post instantiation configurationeeginux1-20/+34
Add PNF ipv4/v6 address for config Deploy Add Integration test for CreateVcpeResCustService_simplified.bpmn Modify the PnfEventReadyDmaapClient to avoid one more running thread Refactor the so-bpmn-infrastructure-flows test resources Modify the CreateVcpeResCustService_simplified.bpmn Add ConfigurePnfResource.bpmn Add Delegates Issue-ID: SO-1506 Change-Id: Iffb69d1441ef0b485ee8cd3fb5da5f1a35279a95 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-03Fix runtime bugs in bpmn groovyk.kazak1-7/+28
DoDeleteVfModuleV2: non-existing variable uri (was renamed to resourceUri) DoUpdateNetworkInstance: queryIdResponse type is expected to be L3Network UpdateVfModuleVolumeInfraV1: non-existing variable cloudOwner Include tests for those fixes to build Change-Id: Icaea91260fbf6603f134df893a64ec1ca5ac40ab Issue-ID: SO-1649 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-02fix catalogdb cvfnc customizationBenjamin, Max (mb388a)3-10/+11
Hibernate entities were all wrong and needed a complete rewrite. The scope kept growing and ended up touching a lot more of the code than originally planned. These changes make the db interactions much easier and more straightforward from java. The flyway script order had to change to make this migration possible. Change-Id: I6ce363a385661300eddb11923ac6a80538edaddc Issue-ID: SO-1710 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)20-491/+481
trying to get the tests that can be threaded to pass started to remove fixed port references Change-Id: I7bfe067a8f36c908039700646571681321e9a6f5 Issue-ID: SO-1676 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-01Merge "Fix serialize DelegateExecutionImpl object bug"Steve Smokowski1-99/+109
2019-03-29Refactored SDNCAdapterUtils (groovy)Witold Ficio Kopel1-6/+1
Standardized usage of MsoUtils class in all methods of SDNCAdapterUtils. Removed AbstractServiceTaskProcessor from constructor parameter. Change-Id: I45263aefc980163a927d8a6dce886e299691e025 Issue-ID: SO-1700 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-26Fix serialize DelegateExecutionImpl object bugAndrei Barcovschi1-99/+109
Change-Id: I140796717f9e8a365650355d92df60b85bc7a8e2 Issue-ID: SO-1690 Signed-off-by: Andrei Barcovschi <andrei.barcovschi@ericsson.com>
2019-03-25Merge "JUnit tests for BBInputSetup"Steve Smokowski1-0/+22
2019-03-22JUnit tests for BBInputSetupr.bogacki1-0/+22
Increase junit tests coverage according to Sonar analyses. Fix imports. Change-Id: Ia6c3f4a3178f5293ee6750f7581cd7107c8ced84 Issue-ID: SO-1692 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-22Merge "Config Assign"Steve Smokowski9-0/+489
2019-03-21Merge "removed extra argument from extractByKey method"Steve Smokowski2-26/+25
2019-03-21Merge "Removed MsoUtils.log() calls from CatalogDbUtils"Steve Smokowski1-3/+3
2019-03-21Merge "removed unused test classes and methods"Steve Smokowski15-1698/+0
2019-03-21removed extra argument from extractByKey methodBenjamin, Max (mb388a)2-26/+25
removed extra argument from extractByKey method Change-Id: I9835672eef5d6ab0c7b0c2b21e5a84be8aa305a7 Issue-ID: SO-1678 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-21Removed MsoUtils.log() calls from CatalogDbUtilsWitold Ficio Kopel1-3/+3
Refactored calls to MsoUtils.log() to use logger object already present in the CatalogDbUtils class. In addition the CatalogDbUtils class has been accepting MsoUtils object as parameter to constructor - which is not necessary and not aligned with style in rest of the groovy code. Change-Id: Ib80593294ead5b2779f667d8e58f128e958538f0 Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-20removed unused test classes and methodsBenjamin, Max (mb388a)15-1698/+0
removed unused test classes and methods Change-Id: I9ae5f6f49e416f208e8879ed202aa8865bc9ef83 Issue-ID: SO-1687 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20Support for SO to ExtAPIVodafone1-0/+1
Change-Id: I5789ceb1fd4bd22d3b5ca706e55efe1bf4a3f51a Issue-ID: SO-1421 Co-authored-by: gopal.sabhadiya@vodafone.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-03-20Config AssignSunilB9-0/+489
Generic Bulding block for assign shall trigger controller for config assign action Change-Id: I2da91cccdbff9eacbb225b7f3a7bdbb253be607a Issue-ID: SO-1481 Change-Id: I2da91cccdbff9eacbb225b7f3a7bdbb253be607a Signed-off-by: sunilb <sb00577584@techmahindra.com>
2019-03-19Add cloudOwner to VNF adapter callEric Multanen1-0/+1
The BPMN layer has the CloudRegion which includes the CloudOwner attribute, but this is not passed to the VNF adapter layer. Calls to the Multicloud infrastructure workload need the CloudOwner as well. This patch adds CloudOwner to the VNF adapter API. While the intended usage is primarily for the multicloud adapter, it touches a log of other files - though those do not make use of it at this point. Change-Id: I88028096fbd84fc3fe5d53786c70b3c8806bb711 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-03-14Added vnfc support to BB layerBenjamin, Max (mb388a)1-6/+12
added vnfc to gbb for execute bb and bb layer enhance workflow action layer to handle vnfcs Change-Id: I0d39c3aefe66180ed6f2b75a0c946e07ca603261 Issue-ID: SO-1658 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-12add instance group support to SOBenjamin, Max (mb388a)8-11/+674
add create support add delete support added naming service support Change-Id: Iaf4f2bdae8ea55aca71d6e9b818a76e90db0b012 Issue-ID: SO-1616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-06improvements to audit inventory featureBenjamin, Max (mb388a)6-4/+49
Adjust test data to add tenant mapping Remove unused unit test already renamed Update logic, to pass hostname not pservername remove unused file that has been refactored Add project to ignore, remove class Address issues in comments on pull request Remove logging that is not needed, used UPdate BPMN to use Boolean Value, change timings Adjust BPMN to not hit deadlock scenario put error message in execution before checking rollback - removed extra code for vnf resource processing found in onap environment. Fix improper use of inclusive gateway causing deadlock Fix flakey unit tests from ONAP Remove qualifier on bean, as it breaks callbacks Adjust pom version of external camunda client Fix polling timers to be more reasonable Updated Junit test for delete vf module in onap. Changed auditInventoryNeeded variable to a boolean to prevent bpmn from erroring out in the event this variable is not found on the execution. Update logic to support writing of self link Change-Id: I2f784a0a58a09f303775282c9be6019031668570 Issue-ID: SO-1597 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-04Merge "flow validators can be skipped via an annotation"Steve Smokowski1-0/+44
2019-03-04Remove restriction on mapping String values onlyBenjamin, Max (mb388a)5-25/+171
Correct the JUnits to address userParams non-String values Remove restriction on mapping of String values only for userParams in BB RequestContext. Change-Id: I8a0d30e61618c275301d62bf04c064bea56c1b4d Issue-ID: SO-1593 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-04flow validators can be skipped via an annotationBenjamin, Max (mb388a)1-0/+44
flow validators can now be skipped via an annotation Change-Id: I7796d5829aacee466419d558dfc95a761125577a Issue-ID: SO-1589 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01vnf spin up gr api vnf s base module failsBenjamin, Max (mb388a)1-1/+1
map object representations of json back to json strings marshal all objects to json strings before sending all input params converted to Map<String, Object> Updated userParams map from HashMap<String, String> to Map<String, Object> as HashMap<String, String> userParams was causing VNF spin up to fail. Input json in Userparams was not accepted as a valid json format. Updated other files that were affected by this change. Change-Id: I0c00fc00c4c11b54ace4df7be8d5bfc80d41d130 Issue-ID: SO-1582 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-27Removed MsoLogger from 'MSOCommonBPMN'r.bogacki9-126/+130
Removed MsoLogger from adapters ('MSOCommonBPMN') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I5e1ed5e438c19be9a9cfd2decae06c706fd1a92a Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-22remove payload logging from metric/audit sideBenjamin, Max (mb388a)1-1/+1
fixed unit test after changing how entities are read remove payload logging from metric/audit side Change-Id: Ibfe7cf96c76920926e9ae9ce5041389324d09b46 Issue-ID: SO-1564 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-22Merge "assignvfmodulebb must send use-preload"Steve Smokowski2-0/+59
2019-02-21Merge "Updated as per review comments"Steve Smokowski2-16/+37
2019-02-20Updated as per review commentsPrema Bhatt2-16/+37
This git review replaces https://gerrit.onap.org/r/#/c/78430/. As I had some issues updating the existing git review, I'm creating a new one. Issue-ID: SO-1391 Change-Id: Ida3f94ad7e2249a30a99d67a071930323ba743b5 Signed-off-by: Prema Bhatt <pb6115@att.com>
2019-02-20assignvfmodulebb must send use-preloadBenjamin, Max (mb388a)2-0/+59
Corrections to JUnit data to account for usePreload usage. Resurrect usage of usePreload value and pass fromPreload to SDNC. Change-Id: I6fb52f6abf09ec501e90335a01e37db1c10ae2b3 Issue-ID: SO-1539 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-19flowvaldiator will allow more flexible filteringBenjamin, Max (mb388a)6-12/+12
fixed unit tests that reference forItems() forItems is now shouldRunFor allowing more flexibility Change-Id: I497f3a2899ae4df555e781c7c85a238e657fcba8 Issue-ID: SO-1533 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-13Merge "Fixed possible NPE in ResourceRequestBuilder"Steve Smokowski1-1/+29
2019-02-13Merge "use encrypted auth for dmaap"Steve Smokowski2-3/+22
2019-02-13Fixed possible NPE in ResourceRequestBuilderr.bogacki1-1/+29
According to Sonar current implementation could cause NullPointerException. Added JUnit test. Change-Id: I840c018bed346d85e2042c7308bdd27197f50b46 Issue-ID: SO-1498 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-11Merge "made max retries configurable via mso config"Steve Smokowski1-0/+1
2019-02-11made max retries configurable via mso configBenjamin, Max (mb388a)1-0/+1
fixed an error with the wrong variable being printed made max retries configurable via mso config Change-Id: Iec6d209ec2868200ec5956e269b6a048d7619307 Issue-ID: SO-1495 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-11restructured a&ai clientBenjamin, Max (mb388a)3-10/+10
made generics a bit safer and updated groovy tests Change-Id: I6d7a2567cd9bf795e0cfa4914a7674a4ed5f50c4 Issue-ID: SO-1493 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>