summaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-05-31Merge "Corrected enum formatting by plugin"Steve Smokowski2-6/+18
2019-05-31Merge "JUnit tests for RestfulUtil"Steve Smokowski2-2/+159
2019-05-31Corrected enum formatting by pluginBenjamin, Max (mb388a)2-6/+18
enums are now single item per line Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7 Issue-ID: SO-1970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31fix keypair conflict issue in openstack adapterSmokowski, Steven23-805/+1005
Fix wiremock stubs to return proper data and url Fix copyright header issue on unit test file Fix keypair issue, clean up unit tests and logging Fix issues found in unit testing, update data Fix broken Unit tests that used invalid data Continue Refactor to support keypair failure scenario Update logic for when to auto delete a stuck keypair Change-Id: Ice5256cf0381a3b46d1c442907c0f321a1c0d006 Issue-ID: SO-1897 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-29JUnit tests for RestfulUtilr.bogacki2-2/+159
Increased junit tests coverage according to Sonar analyses. Added missing tests for RestfulUtil. Issue-ID: SO-1692 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I8744960c0ad3a36ca4c36e23867168bfda5cbd1d
2019-05-27Fix sonar for MapEntryk.kazak5-11/+53
MapEntry bug: make entry private and provide accessors MapEntry codesmell: move comment 'Required by JAXB' into empty constructor MapElements codesmell: move explanatory comment inside empty constructor MapElements codesmell: log error stacktrace MapAdapter codesmell: use entry set instead of key set for iteration JAXBMarshallingTest: add test cases to cover 100% of MapElements & other cases Change-Id: If51f1f86b5ad44b3462424e4fd73cb0eff352124 Issue-ID: SO-1811 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-05-23Calls to/from VNFM failMichaelMorris8-12/+73
Issue-ID: SO-1909 Change-Id: I2f8a19dfd456316e5436be4e85d8a384d7d5ed6f Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-05-20Added script for adding original_request_id columnPlummer, Brittany1-0/+4
Added IF NOT EXISTS clause to ADD COLUMN Added script for adding original_request_id column Change-Id: I816d260c60fb5473a9ffb11fa36c49a3493e8e72 Issue-ID: SO-1902 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-20Merge "Audit service enhancements"Steve Smokowski3-18/+99
2019-05-19Recipe retrieval for groupssubhash kumar singh2-2/+18
Recipe retrieval for groups. Change-Id: I2ba68777f3655ebc7794b75d357253022fe7739b Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-17Audit service enhancementsBoslet, Cory3-18/+99
Update number of threads used for openstack audit Refactored post construct audit service and added junits Change-Id: Ic5bd42cda98835305d2e2d5d09a5c039376316a5 Issue-ID: SO-1898 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-15store openstack request status in requestdbSmokowski, Steven33-250/+1103
Openstack request status now stored in request db Change-Id: Ida8f4f613d406c2b834ab190e01d5aaf2f16dd3d Issue-ID: SO-1867 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-10Merge "Update Rainy day handling to be more robust"Steve Smokowski4-52/+50
2019-05-10Merge "Remove triple logging of VNF adapter response"Steve Smokowski2-2/+1
2019-05-10Update Rainy day handling to be more robustSmokowski, Steven4-52/+50
Clean up unused tests and code, update UT Fix issue with junits and conflicts on id field Update Rainy day handling to be more robust Change-Id: I2ce9a1288457017613dece19357e44b8566867c5 Issue-ID: SO-1866 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-10Remove triple logging of VNF adapter responseMcblain, Thomas2-2/+1
Remove triple logging of VNF adapter response to bpel Change-Id: Ia8f3d3b9b76616e9dcc9f638ba5ca58dcac3ab8b Issue-ID: SO-1863 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-10Added to write variablles on audit failureBoslet, Cory1-1/+1
Added to write variablles on audit failure so bpmn knows whether success or not. Change-Id: I1eb0827a10ee75f4ee89bfb36d13035a2612e032 Issue-ID: SO-1862 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-07Update the format of resourceInputzm3302-1/+5
Save format when resource is list type e.g. {key2:[vf_prop_list,INDEX,key]|default} Issue-ID: SO-1393 Change-Id: Ibb5e7bb31114fa3bbd7a3e1af5f2152a98941a4b Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-05-03Merge "Merge remote-tracking branch 'origin/dublin'"Marcus Williams4-2/+31
2019-05-03Merge remote-tracking branch 'origin/dublin'Benjamin, Max (mb388a)4-2/+31
merged dublin into master branch Change-Id: Ifb78d405611b65764fd4f01558b0e703551ed663 Issue-ID: SO-1830 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-05-03Merge "add resource input Save format when resource is list type e.g. ↵Seshu Kumar M1-0/+2
{key2:vf_prop_list,INDEX,key|default}"
2019-05-02Merge "test suite file moving"Seshu Kumar M1-1/+1
2019-05-02test suite file movingLukasz Muszkieta1-1/+1
not all test are taken into suite, the test suite file should be moved up Change-Id: I4ee4911bee9ee583a6fe3ec4f5edd8c669f75b4d Issue-ID: SO-1843 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-05-02Merge "Removal of unused local variables. Removal of unused local variables ↵Seshu Kumar M2-17/+16
as per guidelines. Issue-ID: SO-1490"
2019-04-30Add Model Version QuerySmokowski, Steven10-2/+406
Fix the sql migration version numbering to be proper Fix marking test as private, mark public Clean up public declarations to private Fix schema.sql to have new column for unit test Revert POM Change, add License, clean up comments Fix bad spelling of method name issue Update catalog db to support new rest endpoint Update local query service and mappers Localstaging of potential catalog db changes Update logic to write overall distro status Change-Id: I84d53b972ede3176c5af32d13444583a36606efa Issue-ID: SO-1820 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-30add resource inputzm3301-0/+2
Save format when resource is list type e.g. {key2:vf_prop_list,INDEX,key|default} Change-Id: I1cde294eb790df0be6df13cfae9959310b93f366 Issue-ID: SO-1393 Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-04-29Merge "Fixed issues found in delete integration testing"Steve Smokowski8-49/+131
2019-04-29Fixed issues found in delete integration testingMichaelMorris8-49/+131
Issue-ID: SO-1827 Change-Id: I73fdcad3d466634cea850e4df10291a66ec2aa61 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-29Merge "Do not need to retry on inventory exception" into dublinSeshu Kumar M2-2/+30
2019-04-29Removal of unused local variables.h003974752-17/+16
Removal of unused local variables as per guidelines. Issue-ID: SO-1490 Change-Id: I2513b2b2751d31c94d7a0d8ba29c55139856d3a4 Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-28Store Cloud Request in DatabaseSmokowski, Steven9-45/+66
Store Cloud Request in Database, add to request service Add query Param to Plural to include cloud data Change-Id: If906d28d0dc9c0c804e550e2074af3d75ba46d32 Issue-ID: SO-1807 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-26Do not need to retry on inventory exceptionBoslet, Cory2-2/+30
Do not need to retry on inventory exception due to vservers/linterfaces missing. Change-Id: I8e1e1d89ebd35e2b84a65e5e6db3e1db3f976982 Issue-ID: SO-1812 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-26Fix multicloud query of non-existant stackEric Multanen2-1/+2
Fix handling of Not Found status for multicloud plugin query of a workload. Change-Id: Ie33b8728bf71fbcf0eaaa6496520351404928a36 Issue-ID: SO-1821 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-26Merge "Enhancement for query"Seshu Kumar M7-1/+370
2019-04-26Merge "Define constant in place of literals Constants are declared and used ↵Seshu Kumar M3-43/+45
in place of literals Issue-ID: SO-1490"
2019-04-26Merge "Removal of unused variables and replace type specification. Removal ↵Seshu Kumar M3-12/+12
of unused local variables. Replace type specifications with diamond operator as per guide lines. Issue-ID: SO-1490"
2019-04-26Merge "Fixed issues found in integration testing"Seshu Kumar M18-197/+255
2019-04-26Enhancement for querysubhash kumar singh7-1/+370
Enhancemenv for query to include group and vnfccustomization. { "serviceResources": { "modelInfo": { "modelName": "NSService", "modelUuid": "0bad8c92-7d22-49f0-b092-b64e6ca564a7", "modelInvariantUuid": "69161960-515b-4bf3-91f1-313b813f5e1d", "modelVersion": "1.0" }, "serviceType": "", "serviceRole": "", "environmentContext": "General_Revenue-Bearing", "resourceOrder": "NF", "workloadContext": "Production", "serviceVnfs": [ { "modelInfo": { "modelName": "", "modelUuid": "123", "modelInvariantUuid": "", "modelVersion": "", "modelCustomizationUuid": "1234", "modelInstanceName": "test" }, "toscaNodeType": "", "nfFunction": "", "nfType": "", "nfRole": "", "nfNamingCode": "", "multiStageDesign": "", "resourceInput": "", "vfModules": [], "groups": [ { "modelInfo": { "modelName": "test", "modelUuid": "11", "modelInvariantUuid": "11", "modelVersion": "2" }, "vnfcs": [ { "modelInfo": { "modelName": "xfs", "modelUuid": "22", "modelInvariantUuid": "2222", "modelVersion": "22222", "modelCustomizationUuid": "2222" } } ] } ] } ], "serviceNetworks": [], "serviceAllottedResources": [] } } Issue-ID: SO-1393 Change-Id: Iee7f79337f73276f857d6d42b5b2416e4e8f4536 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-25Merge "Reorder modifiers. Reorder modifiers to complt with Java code ↵Seshu Kumar M3-6/+7
specifications Issue-ID: SO-1490"
2019-04-25Merge "Reorder java modifiers. Reorder modifiers to complt with Java code ↵Seshu Kumar M4-4/+4
specifications Issue-ID: SO-1490"
2019-04-25Add SO update config file -application.yaml fileBonkur, Venkat (vb8416)1-2/+1
Added to Dublin branch- update the catalog-db-adapter -application.yaml file Remove the below line for flyway so that repeatable scripts are run. repeatableSqlMigrationPrefix: RATT Issue-ID: SO-1804 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I54bd6d178d9f4c6854421f099bf393599d46d58f
2019-04-25Reorder java modifiers.h003974754-4/+4
Reorder modifiers to complt with Java code specifications Issue-ID: SO-1490 Change-Id: Idcd8c8dcd2a664310007d3e965700363672cbea3 Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-25Reorder modifiers.h003974753-6/+7
Reorder modifiers to complt with Java code specifications Issue-ID: SO-1490 Change-Id: Ic8adde29c0bc8b3d039e3f0f1c8837f53dd10aee Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-25Merge "Add SO update config file -application.yaml file"Steve Smokowski8-15/+111
2019-04-25Removal of unused variables and replace type specification.h003974753-12/+12
Removal of unused local variables. Replace type specifications with diamond operator as per guide lines. Issue-ID: SO-1490 Change-Id: I728287427c0f6f9e8289fb0dfa8e906856c774ff Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-25Fixed issues found in integration testingMichaelMorris18-197/+255
Issue-ID: SO-1814 Change-Id: Ica6929e10cb40d535657eefc9786090af996ba32 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-25Merge "add resourceInput in vnfc Issue-ID: SO-1393"Yan Yang2-1/+6
2019-04-25Define constant in place of literalsh003974753-43/+45
Constants are declared and used in place of literals Issue-ID: SO-1490 Change-Id: I8891e3aad24b29b4c951d995df0192437304d06e Signed-off-by: h00397475 <hena.choudhury@huawei.com>
2019-04-25Merge "String literal to be on the left side of string compariosion."Seshu Kumar M3-13/+11
2019-04-25Merge "SDNCRestClient - sonar fixes"Seshu Kumar M1-11/+2