summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api
AgeCommit message (Collapse)AuthorFilesLines
2021-04-23Refactor GRA to separate docker creation from application codeDan Timoney320-149755/+0
Refactor GRA so that application jar is created in a separate maven module from the docker build. Issue-ID: SDNC-1527 Change-Id: I4a9af7fe4df14faaf683588bc2567fcc3346886e Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-04-20Update gra ms to use CadiFilter instead of shiroDan Timoney5-100/+54
Update code to use CadiFilter to integrate with AAF instead of shiro plugin, which is no longer supported (also, shiro has known, unresolved security vulnerabilities) Change-Id: Icaa922ac833f0a44c310847740f6745624242a2b Issue-ID: SDNC-1523 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-04-08Add transaction mgr for preload dataDan Timoney1-1/+2
The preload data writer needs a transaction manager configured. Change-Id: I7c27e9fa510a78974ddf579a4967c545d05ef428 Issue-ID: SDNC-1517 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-04-07Fix bugs in deleteDan Timoney2-15/+57
Fixed bugs in delete of items from existing services Change-Id: Iaeeb8b6622276b5183f5f386763526cd15b0becb Issue-ID: SDNC-1516 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-04-01Resolve junit failuresDan Timoney28-1466/+432
Resolved junit test issues Change-Id: I3e044b8e68f0a883d2a64b15c9de9c99d10ceceb Issue-ID: SDNC-1513 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-03-26Refactor CRUD to new table structureDan Timoney23-5071/+56679
Refactor operations on config tree to use new table structure for service/network/vnf/vf-module data. Change-Id: I2e673dfb7bd335e48a3bcf212399d021d37dd9ee Issue-ID: SDNC-1481 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-03-10Updates to use new db tablesDan Timoney6-81/+409
Implemented new method to write service data to separate services, networks, vnfs and vf-modules tables. Updated service-topology-operation, network-topology-operation, vnf-topology-operation and vf-module-operation RPCs to use new service data read/write methods. Issue-ID: SDNC-1348 Change-Id: Id52dc81dc485232f0a0fdbab5f8ce907db18d9e7 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-17Redesign GRA database tables to support parallel updatesDan Timoney17-52/+1014
Added new classes to support new tables for networks, vnfs, and vf-modules to allow parallel updates to different parts of the same service instance. Also, changed database initialization to use liquibase to create database tables. Change-Id: I53be2d7dc6a2bcdcc29300b95ba0c906e90d3238 Issue-ID: SDNC-1481 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-09Use latest CCSDK parent pom for HonoluluDan Timoney1-3/+3
Use version 2.1.1-SNAPSHOT of parent pom Change-Id: I5ec968c95f46cd914011aba01c91a804dec47912 Issue-ID: CCSDK-3139 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-01-12Add vf-module,port-mirror, allotted-resource rpc and CRUDCheung, Pat (kc1472)3-4/+3
Adding methods for vf-mdoule, port-mirror, policy-update-notify, and vnf-get-resource rpc and CRUD Issue-ID: SDNC-1424 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I68fceab7ba0cfab2bd297150e5c7ca102e50c900
2021-01-11sdnc-apps updateCheung, Pat (kc1472)22-28/+1601
Fixing delete operation issue and add junit config and operation tests Issue-ID: SDNC-1429 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I2e72db0db899ca52cbfd7910d8fb55be4cf05749
2021-01-05[SDNC-1452]VNF Topology AsyncHaddox, Anthony (ah0647)2-129/+275
Added async method to VNF Topology Operation Signed-off-by: Haddox, Anthony (ah0647) <ah0647@att.com> Issue-ID: SDNC-1452 Change-Id: If983153f6400491343c649aea7778011cc540de5
2020-12-16Add test cases for vnf-topology, vf-moduleDan Timoney1-0/+853
Add test cases in rest client for vnf-topology and vf-module Change-Id: I55040a3d7ee5caeb123a687261cdee0ef16478d1 Issue-ID: SDNC-1212 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-12-15Use released version of ccsdk parent pomsDan Timoney1-3/+3
Use released version 2.1.0 of parent poms Change-Id: I04313112961c5e998c25f1b89a0537c2dabcc9c4 Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-12-04Add vf-module,port-mirror, allotted-resource rpc and CRUDCheung, Pat (kc1472)12-46/+2235
Adding methods for vf-mdoule, port-mirror, policy-update-notify, and vnf-get-resource rpc and CRUD Issue-ID: SDNC-1424 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I0c62c7c25bc0753e8b820986b56bee9471d3a0b7
2020-12-03Fixes for network-topology-operationDan Timoney5-319/+1028
Added test script and implemented missing preload query needed to support network-topology-operation RPC. Change-Id: I4bf12882d4d3535c3627dcde8162d83b41a18263 Issue-ID: SDNC-1428 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-19Merge "Remove hard-coded credentials from application.properties"Dan Timoney7-43/+49
2020-11-19add support for service-toplogy GETDavid Stilwell2-0/+49
Changes made: 1. add method for ServiceTopologyGet(), added junit test case Issue-ID: SDNC-1422 Change-Id: I770ff1fe9dbab7b06c2df4eb24d3e39eb3fa5cc9 Signed-off-by: David Stilwell <stilwelld@att.com>
2020-11-19Remove hard-coded credentials from application.propertiesDan Timoney7-43/+49
Remove hard-coded credentials from application.properties and use env variables instead. Note: we still have hard-coded credentials in dblib.properties and svclogic.properties that should be changed, but this will require coordinated changes in sli/core to be able to interpret env variables within properties files. Change-Id: I5a31fae6f81233682bee20a5cb531b7f0a21a3a7 Issue-ID: SDNC-1411 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-19[SDNC-1416]VNF CRUD OperationsHaddox, Anthony (ah0647)8-0/+1627
Add database CRUD operations for several VNF related containers Signed-off-by: Haddox, Anthony (ah0647) <ah0647@att.com> Issue-ID: SDNC-1416 Change-Id: If85f3a1df76d5aba42b3bbd76475edad5275a9bf
2020-11-18Add integration test for GR-API docker containerDan Timoney2-1/+148
Add integration test for GR-API docker container Change-Id: Iebd60f56668c9b50a2aab62b5309c609bc2369ce Issue-ID: SDNC-1417 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10Use new filter to add content-type headerDan Timoney2-4/+5
Updated to include filters from ccsdk/apps, including new filter to insert content type header if none provided Change-Id: I20b1f99410d9c1133bafdf9b8292a84824eeadb5 Issue-ID: CCSDK-2977 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10fix race condition in building ms generic-resource-apiDavid Stilwell1-2/+2
Changes made: 1. updated phase from verify to an earlier phase Issue-ID: SDNC-1412 Change-Id: I4ebee2c7537388478baf9e8d03f3c0c16776cf1b Signed-off-by: David Stilwell <stilwelld@att.com>
2020-11-05Update to avoid dup module namesDan Timoney5-92/+86
Update GRA microservice to use updated swagger which no longer duplicates module names in config URLs. Change-Id: Iad63f356d4854c7cefdde46215a1b448b281e2ca Issue-ID: SDNC-1406 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-03Fix data configurationDan Timoney6-2177/+2902
Update preloaded test data in GRA microservice to use data created from TOSCA model load. Also, install missing properties file used by GRA directed graphs. Change-Id: I494a80e36f79e3f981b1fe95d16ae9d7314a8c43 Issue-ID: SDNC-1405 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-27Import SLI-API controllerDan Timoney11-78/+54
Import sliboot controller to implement SLI-API interface. Change-Id: Iea85a9cb128366fa0f580852d9f2fa71405a4bad Issue-ID: SDNC-1400 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-12Implement vnf-topology-operation RPCDan Timoney6-11/+452
Implement vnf-topology-operation RPC Change-Id: Ief6520cc7dcba1dc4b536af3ed962d2998317978 Issue-ID: SDNC-1212 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-23Roll to initial Honolulu snapshotDan Timoney1-2/+2
Roll to initial Honolulu snapshot version Change-Id: I505ad4623b2fb8b401d66608aac6de0a132a28f3 Issue-ID: SDNC-1355 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-14Update sdnc/apps to use java11 base imageDan Timoney2-9/+13
Update sdnc/apps to use Java 11 base image Change-Id: I10468121df75931ad1687400457c0e95cd5113ae Issue-ID: SDNC-1242 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-13Fix test issuesDan Timoney14-30/+1375
Added property settings to all test cases to correct issue in staging build, where properties do not appear to be taking place properly. Also, fixed issues found in testing with docker compose. Change-Id: If698e212d91cd630af4c4a33dd70d90078923478 Issue-ID: SDNC-1315 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-07Update GR-API to use released CCSDK artifactsDan Timoney1-4/+4
Update to use released artifacts Change-Id: I01a01eae6097d99691c4575285c3022951dcab52 Issue-ID: SDNC-1315 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-07Fix docker-compose test issuesDan Timoney8-6/+62
Fix issues running service-topology-operation via docker-compose Issue-ID: SDNC-1310 Change-Id: I5c30c7a07f6baf9f2560b4dc405999abeb0441cf Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-30Implement service topology operation RPCDan Timoney235-5073/+78414
Add implementation for service-topology-operation RPC. Change-Id: I154d2ef6504be9a592479acc554b7cb0f8c250f6 Issue-ID: SDNC-1310 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-17Fixed timing error in maven buildDan Timoney1-2/+2
Updated pom.xml so that copy of generic-resource-api jar to the docker staging directory occurs after the spring-boot-maven-plugin has inserted the appropriate entries in the MANIFEST Change-Id: Ifba881ffe19f426e2c409b6a1d9be0c96a40f344 Issue-ID: SDNC-1291 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-16Add jackson-databind-xml dependencyDan Timoney1-0/+4
Added missing dependency needed to generate xml response Change-Id: I0495ddb7b589791dd25dff8ac93861fbe6d97d9f Issue-ID: SDNC-1289 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-06Add junit testing for preload rpcsDan Timoney4-20/+164
Add jUnit test cases for preload RPCs Change-Id: I8e6519e57c2eb468b1ee6ad781555951d21203a9 Issue-ID: SDNC-1209 Issue-ID: SDNC-1210 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-02Add REST CRUD ops for service dataDan Timoney30-645/+3042
Add REST Create/Read/Update/Delete for service data Change-Id: Ie22e8a82afa6b50c4a9fbe80ec792996e377abed Issue-ID: SDNC-1213 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-22Fix preload data updateDan Timoney3-58/+425
Fixed bug in loading preload data from RPCs. Change-Id: I6dd12abf08833d72e336b98b98d057c7dc1720fc Issue-ID: SDNC-1209 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-19Implement GRA preload and service data objectsDan Timoney36-0/+11801
Implements CRUD operations and RPCs for GRA preload data, as well as adding data object for service-data. Change-Id: I93d268e7f1cfbcd4e839e122f72ce02928dad807 Issue-ID: SDNC-1205 Issue-ID: SDNC-1209 Issue-ID: SDNC-1210 Issue-ID: SDNC-1213 Signed-off-by: Dan Timoney <dtimoney@att.com>