aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils
AgeCommit message (Collapse)AuthorFilesLines
2021-03-12Merge "version upgrades plus cleanup"Max Benjamin1-4/+0
2021-03-11correct string comparison operatorBENJAMIN, MAX1-6/+6
correct string comparison operator Issue-ID: SO-3583 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I2c5754e4ca8ba7e303385c4eaf88dee2f0498d1a
2021-03-09version upgrades plus cleanupBOSLET, CORY1-4/+0
Removed over 125 dependencies and added to dependency management Added in a few dependencies and removed some Change the swagger version to so pom Removed version property reference in the pom Added in missing dependency for bpmn blocks Added in missing dependecy for common bpmn Updated the camunda-bpm-assert to use a version that is compatible with assertj-core 3.11. The camunda-bpm-assert namespace group also changed. This fixes the no method found error. Updated unit test to account for class name change Updated the unit test to account for lib change Fixed unit test for software upgrade stuff Exclude older versions of javassist to fix null pointer caused by incompatible javassist version with hibernate and bowman Added in missing dependency for task test Added missing dependency and fixed formatting Remove files that got added back in by merge conflict Use the new namespace for the swagger annotations Need to exclude swagger annoatations from the old namespace Updated to fix compilation error due to use of legacy swagger and cxf swagger Use the swagger v3 plugin for gen resources Use the openapi v3 swagger in all bpmn packages Fix null pointer to create the OpenApiFeature in cxf Issue-ID: SO-3578 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I7093376b2d8271e9c5b911b901133e01b957da84
2021-02-17Merge "update camunda and spring to latest versions"Steve Smokowski5-8/+6
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)5-8/+6
Updated camunda to 7.14 and updated spring boot camunda to 3.4 Started to clean up duplicate maven dependencies Issue-ID: SO-3521 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic65b04772b91dd989e41d6b6b93872978bc4e4e2
2021-02-15update the version for the H releaseseshukm1-1/+1
Issue-ID: SO-2765 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I563295123f7f8de7164495a7db3bc58872863098
2021-01-05Merge "Use the timeout from the heat templates for"Steve Smokowski2-6/+122
2021-01-05Use the timeout from the heat templates forBoslet, Cory2-6/+122
Use the timeout from the heat templates for polling Removed unused imports and code from base Added to get timeout from the rest client Fixed unit test for polling to account for changes Issue-ID: SO-3397 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If633f4f49d88eb797020b7d72c6edd0fbee0926c
2020-12-30Added new column to the identity service.Benjamin, Max (mb388a)1-1/+1
Added new column to the identity service. Issue-ID: SO-3448 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5151016d1b4874cb77eecddc17169c04f59dc9a5
2020-12-16blocker sonar fixLukasz Muszkieta1-28/+16
- autowired fields are redundant, they cover the fields from superclass - logger should be final Issue-ID: SO-3428 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Idb29369118befb0eda9719e88d53c3885814dfc0 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-12-11Address openstack adapter requestdb update exceptionRamesh Parthasarathy4-15/+34
When openstack adapter updates requestdb it fails with an exception. It is being addressed here. Issue-ID: SO-3400 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com> Change-Id: I803b8a80459f04cc2c1375e12d927e404cb241cb
2020-10-08Exclude problematic dependency from cxfBenjamin, Max (mb388a)1-3/+0
jboss rmi dependency excluded from all cxf dependencies Done at the root pom to prevent from happening again Issue-ID: SO-3292 Change-Id: I022b8ecf58d76d090b16079324df2047fecc1a61 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2020-10-01use timeout interval in minutes for poll durationMnushkin, Dmitry2-13/+28
use timeout interval in minutes for poll duration do not ignore retry test with 1 min delay rename variable and debug info for clarity Issue-ID: SO-3264 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia3c6d789b0e93df909476e92764ccbb32d7472e7
2020-09-16Heat bridge cron 2.0, changes due to cloud andBoslet, Cory1-0/+27
Heat bridge cron 2.0, changes due to cloud and tenant privs Removed unness repeat calls to token and loop. Issue-ID: SO-3245 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If8fbc2be2f227b236c8b934a6cfc665a2600348f
2020-09-09Removed authentication methodsBoslet, Cory3-60/+11
Keystone token authentication methods no longer needed for ONAP use case Issue-ID: SO-3226 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I17867f05fdc47070292c59f955188568ea5b9367
2020-08-31deleted all cloudify support from soBenjamin, Max22-2530/+5
deleted all cloudify support from so unmaintained client causing dependency issues Issue-ID: SO-3209 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6e15ac0b9d031e13a13e0053bbe61855d725c773
2020-08-25updates for keystone V3 authBoslet, Cory4-1/+54
Added additional support, refactored, fixed issues. Issue-ID: SO-3200 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7961453598fabd5f68516ad90e20ff848b1a49ba
2020-08-06bump the master to 1.7.1seshukm1-1/+1
Issue-ID: SO-2940 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I888677f7d32ff35619be0f5bb2b677f56215f2e0
2020-06-24Set default cachePlummer, Brittany1-0/+2
Set as default cache in case there are multiple options Issue-ID: SO-3006 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9d448eee56dec61be4146108dec246633b7cede2
2020-06-18Prepare for java 11Benjamin, Max1-6/+0
final changes for java11 groovy compatibility removed unnecessary dependencies and cleaned up poms added missing jaxws-api dependency to pom.xml java8 profile is now active by default in parent pom update beans to have RemoteResource annotation always use the compiler plugin from parent pom Update external task timeout to longer value to hold lock update remote resource annotation to match catalog db client add remote resource annotation to bean for bowman completely remove bowman from requests db client Issue-ID: SO-2059 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If6f0df36e8077ccd703abce9f64290daed63955b
2020-05-22added assert statements in JUnitsRupinder5-0/+7
Issue-ID: SO-2804 Change-Id: Iddb9630af826b719a6e55a974005e9a520401d8e Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-20Setup cache for getNovaClientPlummer, Brittany4-28/+116
Setup cache for getNovaClient Issue-ID: SO-2946 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2031c684fee65d73c1528ec6a60c95c1c60de1d5
2020-05-14Merge "add image detail endpoint to openstack proxy"Steve Smokowski1-10/+1
2020-05-07add image detail endpoint to openstack proxySmokowski, Steven1-10/+1
Fix issue where Image had an outer wrapper Issue-ID: SO-2910 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia823cf21c6014e513f49bacf84fd2a61a2724bcb
2020-05-07added queryImage methodSmokowski, Steven1-0/+14
Add queryImage method to openstack utils Issue-ID: SO-2909 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4006dfb4a31e6cea5898f2782f4fe3f84f878212
2020-04-30Fight against the encoding in openstackSmokowski, Steven1-2/+5
Fight against the encoding in openstack Fight against the encoding in openstack Issue-ID: SO-2854 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I239093e28f835a5de480f07b480c5ec3931ccc83
2020-04-27Update encoding library usedSmokowski, Steven2-4/+14
Update encoding library used Issue-ID: SO-2830 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifc5099f10c15fc6ef8bac367211320d61c20ca43
2020-04-21Encode Name parameter passed into clientSmokowski, Steven2-3/+12
Encode Name parameter passed into client Remove un-needed test using file that does not exist Issue-ID: SO-2823 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I47cab1b9d429552b0a4cdfccf296d0c31952c320
2020-04-16move network adapter to an external client taskBoslet, Cory1-0/+22
Began impelenting new network external task. Made the vnfAdapterTask subflow an openstack subflow, refactored infra flows and BB to call it for network functions. Fixed bugs discovered through a robot dry run, added unit test, added support for rollback network request Updated junit test files for comparison due to not polling for response Removed the no longer used network adapter rest task from bpmn tasks Removed the unused network adapter async and its beans Removed network async client package from open pojo scan Issue-ID: SO-2813 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4c25892012cc86659ab122448ed1aca5cab91671
2020-04-16Merge "reduced code smells"Steve Smokowski1-1/+0
2020-04-15Allow client exception to propogateSmokowski, Steven1-14/+10
Client exception already contains all the information we need Allow it to bubble up Issue-ID: SO-2811 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2e346366dab3187bb397b386619bf681e53e2cab
2020-04-12reduced code smellsRupinder1-1/+0
Removed some unused imports Issue-ID: SO-2804 Change-Id: Ib0a7716585448ade0c9571479ed06effaf25738b Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-03-26convert openstack to external tasksBoslet, Cory3-28/+37
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-19mso to add support for creating the cloud regionSmokowski, Steven1-3/+1
mso to add support for creating the cloud region Updated tag name to msoRequest on deletes. Issue-ID: SO-2753 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I80e318ce34f5938a42896398eb1a38b5c5f6e831
2020-03-16Merge "Fix Critical & Major issues in adapters"Steve Smokowski1-45/+63
2020-03-14catch and log exceptionBoslet, Cory1-1/+6
catch and log exception in MSOHeatUtils Issue-ID: SO-2733 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ibcb7c58c280f0deb2e5144a0082f4be64aa241af
2020-03-13Fix Critical & Major issues in adaptersParshad Patel1-45/+63
The Cyclomatic Complexity of this method "createStackParam" is 16 which is greater than 10 authorized Either log or rethrow this exception Issue-ID: SO-1841 Change-Id: Ie5539a853a112ed751bbf891699f181479537e47 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2020-03-10Merge "false positive on network creates"Steve Smokowski1-9/+21
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski7-7/+7
2020-03-08false positive on network createsBoslet, Cory1-9/+21
Added a new resourceStatusMessage field to the GET orch request API added new column to infra active request table updated openstack adapter to record the resource status added support of v8 on GET orch request API. Issue-ID: SO-2718 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73b35f1562de4df477bf7e5cef01de13440ba98a
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany7-7/+7
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-03-01Add ability to build https endpoint to multicloudEric Multanen2-1/+8
Add parameter to allow https endpoint to be used for endpoint to multicloud (via msb). Change-Id: Ia3a296cab8e8676e7b39c0f56c03e18e18a0a777 Issue-ID: SO-1450 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2020-02-27Merge "enhance openstack library"Steve Smokowski1-0/+63
2020-02-26bump the versions for all the SO to 1.6.0seshukm1-1/+1
Issue-ID: SO-2519 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Id0993b244b0978375ff8476e4bf8ef79e1bb9e68
2020-02-25enhance openstack librarySmokowski, Steven1-0/+63
Add new methods to NovaClient Issue-ID: SO-2680 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I13fdfcb7052f12ece409a19fbd33abc3f101e2d9
2020-01-30Remove Valet from openstack adapterSmokowski, Steven1-20/+0
Remove Valet from openstack adapter Clean up CI, so it passes on dev branch Fixed bad merge regarding correct method name. Added try catch around createIfNotExists methods to avoid failing sim. Fix broken Fabric Tests from merge Update logging jar dependency for CI Issue-ID: SO-2623 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I572276f751b132ec78d7ab5763f1c76bfc8256c5
2020-01-30- Include stack Status Reason when rollback isMerkel, Jeff2-4/+7
- Include stack Status Reason when rollback is suppressed. - Updated to format code to pass the build. Issue-ID: SO-2620 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id9789930eaf7c47666a9401f8e3c57156c931b74
2020-01-23Add Neutron Port and Nova Server to ProxySmokowski, Steven2-0/+39
Add Neutron Port and Nova Server to Proxy Issue-ID: SO-2614 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I09e0302bbdb66dadae3dbac7bbf07a64dfc39d10
2020-01-15Use the timeout from the heat template instead ofBoslet, Cory1-5/+1
Use the timeout from the heat template instead of hardcode WIP Added custom uuid to vf adapter delete rest request Added and fixed compilations errors due to interface change added logic to check that the timeout is less than 120 Set the cust model uuid in bpmn so its avaiable to adapter. Added to use timeout from heat template for network. Updated unit test to account for new param change to method. Fixed and added missing param to deletevf in vnfadapterrestv2 Fixed failing junits due to adding model cust id to request Issue-ID: SO-2601 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6ac276f37d4b6423501fb07fe081828ea3bed235
2019-11-22improve error log scoresPlummer, Brittany2-22/+22
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c