summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src
AgeCommit message (Collapse)AuthorFilesLines
2021-04-23Refactor GRA to separate docker creation from application codeDan Timoney317-149135/+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 Timoney4-88/+36
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 Timoney27-1463/+431
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 Timoney22-5066/+56669
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 Timoney5-79/+404
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 Timoney16-27/+980
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-01-12Add vf-module,port-mirror, allotted-resource rpc and CRUDCheung, Pat (kc1472)2-3/+2
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)21-27/+1600
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-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 Timoney6-36/+37
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 Timoney6-36/+37
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)7-0/+1620
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 Timoney1-0/+31
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 Timoney1-4/+4
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-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 Timoney10-73/+29
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-14Update sdnc/apps to use java11 base imageDan Timoney1-3/+3
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-07Fix docker-compose test issuesDan Timoney7-5/+61
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 Timoney234-5045/+78408
Add implementation for service-topology-operation RPC. Change-Id: I154d2ef6504be9a592479acc554b7cb0f8c250f6 Issue-ID: SDNC-1310 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-06Add junit testing for preload rpcsDan Timoney3-2/+98
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 Timoney28-644/+3034
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 Timoney33-0/+11392
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>