aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose
AgeCommit message (Collapse)AuthorFilesLines
2023-05-17Change dmi plugin version to 1.4.0-SNAPHOSThalil.cakal1-1/+1
Issue-ID: CPS-1507 Change-Id: Ic812bd1be455d9df663e018383dd1d5c15359362 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-04-05Expose endpoint to accept bulk requestleventecsanyi1-2/+2
- added wiremock mapping for testing/demo Issue-ID: CPS-1555 Change-Id: I82af6c43e80a346efcd84aae8945572aa37a6875 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2023-03-03JAVA onboarding of YANG modelemaclee3-92/+0
- removed docker compose init container - removed init container script files - created new model loader class to onboard YANG model which runs after the application has set up - new model loader class is created in new package in cps-service (org.onap.cps.ncmp.init) Issue-ID: CPS-1467 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I35fe82817aff7783520acf8db66ad504271026bd
2023-02-15Introducing GrafanaToineSiebelink2-2/+57
- Added profiles to docker compose: dmi-service/dmi-stub, monitoring - NOTE: now need to add '--profile dmi-service' to enable dm-plugin (e.g. for csit) - using container names to resolve hosts for prometheus Issue-ID: CPS-1465 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I5d7365a3f789cc698e2702d72700a002cf03eaef
2023-02-02Modify CSIT script to have absolute root path envemaclee1-3/+2
- change set up to call docker compose for cps-ncmp - add root as a property in 'test.properties' - root is specified to be root directory folder for the current project - modified docker compose init container to use ROOT env var Issue-ID: CPS-1472 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ie5ac6bbff7cb1e761501bd0db8447f86af06b95f
2023-01-31Introduce InstrumentationToineSiebelink1-1/+1
- Add instrumentation related dependency - Added Timed Instrumentation - CPS-Service Crud methods - CPS Yang parsing - NCMP Registration methods - NCMP Events handling - Remove manual Gauge for YanResources Cache as (better!) instrumentation is already built into the 3PP - Sorted dependecies alphabetically (as we used to enforce, to prevent duplicates) - Added ## P E R F O R M A N C E T E S T R E S U L T S ### mini report - (unrelated) test improvement (because of bug that turned out to be invalid) Reviewers: Sourabh,Priyank, Luke Issue-ID: CPS-1457 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I34b20bece2f59488b022b8effa9470704c57be4d
2023-01-27Define and onboard model for subscription eventsemaclee3-1/+94
- created new yang model for subscription events; added in ncmp-service - created new container/service to run an init container - added script file to the container - added Dockerfile to be the base image of the init container - health check for CPS added as part of script - removed previous patch modification in setup - changed path of models and dockerfile to main project - latest patch: changed connection to external ports of CPS Issue-ID: CPS-1393 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I2367020e57b34a669dda93050eeaeede5846304e
2022-10-27Updating CSIT DMI Snapshot versionToineSiebelink1-1/+1
Update default and DMI_VERSION property in test.prooerties Issue-ID: CPS-1353 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ibe56f85fb047aca1d10e0d61a521c7448bd4306b
2022-09-21Merge "Add NCMP tag in properties"Toine Siebelink1-2/+2
2022-09-20Add NCMP tag in propertiesmpriyank1-2/+2
- Added back NCMP tag back as part of the comment in patch https://gerrit.onap.org/r/c/cps/+/129274 - Added parallelism level under ncmp as well. - Correcting env variable in the docker compose file for local run as well as the CSITs. Issue-ID: CPS-1279 Change-Id: I1f2993ac66f47ee2e5e7db0c4a6aac113a714d2a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-19Updated README to correct local deployment detailsrajesh.kumar1-2/+5
Issue-ID: CPS-1263 Change-ID: I73f97f986a817d423f93a8d922dcd9647b0908aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2022-08-16Set Sleep Times as Environment Variable in CSITlukegleeson1-2/+2
Sleep times for Model and Data sync were being set to 2 seconds in the docker-compose file so that it may be used in CSIT tests This change defaults them to 30 seconds and adds environment variables which are overridden by the test.properties for CSIT tests Issue-ID: CPS-1195 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Id254e3ec82fb4685fd6678d1a345b16f108b2707
2022-08-10Merge "CSITs for DataStore SyncState"Toine Siebelink1-0/+1
2022-08-10CSITs for DataStore SyncStateemaclee1-0/+1
- add new test for dataSyncEnabled API - verify data sync follows after setting dataSyncEnabled flag Issue-ID: CPS-1168 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ie22a6b8d6be15a05bfa3ee90218af27fe7092dd0
2022-08-05Upgrade Postgres Cps-CoreDylanB95EST1-1/+1
Upgrade postgres version to 14 in accordance with Seccom Issue-ID: CPS-897 Change-Id: I332c88f3c3e1ec3dd55afe31af5714b690b6bd07 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-07-14Remove ALL Docker File Versionssourabh_sourabh1-3/+1
Issue-ID: CPS-1095 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I11790e271ec784dfa9dbdaea497d50e95f884600
2022-07-12Updating docker-compose version from 3.3 to 3.8JosephKeenan1-1/+1
Issue-ID: CPS-1095 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I31601a1f486a4925ed880283c160cd827fe2255b
2022-06-30Kafka consumer can not be turned offJosephKeenan1-66/+5
-NOTE: Build will fail until docker-compose version issues on build server are fixed --Ticket raised https://jira.linuxfoundation.org/plugins/servlet/theme/portal/2/IT-24219 -added flag for async -added response if async is triggered without being enabled & associated test -modified to use one global flag for notifications Issue-ID: CPS-1088 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: If9d988b4dcb71bf37c1b1bf9464090782708ffc2
2022-06-09Override timers advised-modules-sync sleep-time-mssourabh_sourabh1-0/+1
- Override timers advised-modules-sync sleep-time-ms from docker compose for CSIT test Issue-ID: CPS-876 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2cbc76c03cd5907e2d3bf28b38dbf8209eaaddbd
2022-05-25Async request response NCMP -> ClientJosephKeenan1-7/+56
-Added consumer for DMI events and producer for forwarding to client -Added schemas for events -Updated tests -Added new module for ncmp events -Used mapstruct for event mapping Issue-ID: CPS-830 Change-Id: I096d08af9d69092cf8651e11eaa00ce441fc3605 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-01-28Database port not configurable through env variableputhuparambil.aditya1-1/+1
Issue-ID: CPS-867 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1f5e00c6b814a5ba087ba0cc1832152b2317ad57
2021-11-05Clean up commented sections to include CPS-CORE in variable namesDylanB95EST2-6/+6
Clean up commented out sections to include CPS_CORE in variable name as part of CPS-759 bug. Issue-ID: CPS-759 Change-Id: I40bbe0407a4e4589be8f7563733de2355ea5b8b9 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-11-03Cps & ncmp docker compose failingDylanB95EST1-1/+1
Add default value to db hostname variable in docker compose file. Issue-ID: CPS-759 Change-Id: Ib1aaa7f054c1a29f858ebaca3da31ed05d217713 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-10-21fix docker-compose for ncmptragait1-28/+6
Issue-ID: CPS-725 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ibd646c225b4b9b205fdc34012f10a627e7827513
2021-10-15CPS-615 - CSIT for model sync & passthroughJosephKeenan1-30/+56
This commit contains -Registration and sync test cases -Passthrough read and write test case Issue-ID: CPS-615 Change-Id: I1ad70dbc8c0af96bd5cf69476acdad42cf3c179d Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-10-07Separate ncmp south-bound endpoints in openapi specsRenu Kumari1-0/+1
- existing ncmp-cps swagger ui shows only northbound endpoints - added cps-ncmp-internal for southbound endpoints Issue-ID: CPS-722 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I6917a9c1cf6d033f7ed76f2172113d5e43ac84a7
2021-09-01Add ncmp endpoints to swagger-uiRenu Kumari1-2/+3
- added ncmp-enpoints to swagger-ui - removed springfox dependencies - removed Docket configuration as we are loading ui from openapi.yml - removed endpoints which are not implemented - Fixed ncmp basepath as per CPS-616 Issue-ID: CPS-601 Issue-ID: CPS-616 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I03c7789f48a12d3ffd5fcb934d7ba6347d4044e4
2021-08-24Process data-updated event asynchronouslyRenu Kumari2-3/+8
- notification is processed asynchronously using defined threadpool - updated docker-compose and readme to add dataspace filtering variables Issue-ID: CPS-526 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7f827250f45cb9e3db2f060e9b3a089a4eaee05c
2021-08-19get resource data for operational passthroughtragait1-0/+4
Issue-ID: CPS-487 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Id1b761f3f6a388556d0cc334fd6f196c78badc39
2021-07-15Merge "Expose Prometheus metrics for monitoring"Toine Siebelink1-0/+3
2021-07-14Expose Prometheus metrics for monitoringputhuparambil.aditya1-0/+3
Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828
2021-07-13Editing of Nordix Licenses to ONAP guidelineslukegleeson2-2/+2
Issue-ID: CPS-489 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I415534515b3d8325f41d5dc1d02c6e0ae70c6cf1
2021-07-07Sending Data Updated Event to kafkaRenu Kumari2-3/+36
Issue-ID: CPS-374 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I05fedcace42b84575411df26c586788bffe6b846
2021-07-01Review docker composeBruno Sakoto1-10/+10
* Fix image names for cps standalone and ncmp standalone services * Use default db authentication if env variables are not defined Issue-ID: CPS-435 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib53c48f2c549f6ddb3adb3c12e15a9167a41673d
2021-06-30Replaced nexusproxy property with onap.nexus.urlToineSiebelink2-5/+26
Also removed redefined redefined nexusproxy and distribution Management from poms Update ReadMe accordingly Issue-ID: CPS-435 Change-Id: I02831e737587a1a16e9743773f2840c209d1fffd Signed-off-by: mkerrigan <michael.kerrigan@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-05-17nexus registry is parmateterizedRenu Kumari2-11/+11
Issue-ID: CPS-311 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I158387f54b1a9d3d60e6d97cc3336391745af3c0
2021-04-23Upgrade to PostgreSQL 13Rishi.Chail1-1/+1
Upgrade version in docker compose and test containers to match OOM version. Issue-ID: CPS-355 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I8da816fb932822e50380e7c12487e234d75fa4d7
2021-04-21Update README.mdHanif Kukkalli1-2/+5
Updated README.md to show the version that can be used to pass as an argument for docker-compose up Issue-ID: CPS-339 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: I440f2d368c0b06c3827db3c39e044560c4d10a84
2021-04-15Remove default password from application.ymlRenu Kumari2-2/+5
Issue-ID: CPS-319 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I61a5e098ffa173721cfa48aa0b992610f6a6e1a0
2021-04-06Moved application.yml under cps-applicationRenu Kumari3-87/+3
Issue-ID: CPS-248 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ibfe68684784a9bd38e9e1e5d6a5e7909c4c11909
2021-04-06rename nf-proxy to network-cm-proxytragait3-13/+31
This commit renames two modules cps-nf-proxy-rest and cps-nf-proxy-service to cps-ncmp-rest, cps-ncmp-service. Docker image names are also changed respectively. Swagger auto generated api files are also modified. Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: CPS-315 Change-Id: Ic2a2f8c4bafe8cffa3c83ccb52499720aaba1415
2021-03-12Move web security configuration to application moduleRuslan Kashapov1-0/+7
Issue-ID: CPS-288 Change-Id: Ieba184c3e4727e354c19a3db31325052d15ced44 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-03-05Add basic authentication securityBruno Sakoto1-1/+1
Endpoints exposed outside from the cluster require basic authentication except actuator health and info endpoints. Default user credentials are embedded in the application, they can be overridden with system environment properties. Issue-ID: CPS-175 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3dfa0e49e5f4538c923e6bbe9bef976d30359fe6
2021-02-24Merge "Introduce CPS integration testing (CSIT)"Toine Siebelink1-2/+2
2021-02-24Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibaseputhuparambil.aditya1-0/+5
1. Common change-log master used only to specify the different change sets. 2. Specific change set created for cpsTables creation and for loading data to each cps component like dataspace, schema-set, anchor and dataNode 3. The data load cabability is configurable in the sense, it will be trigered only if the label is specified in the application.yaml Issue-ID: CPS-173, CPS-242 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I44c640ce50b7203f5799d722149397478a98bc05
2021-02-23Introduce CPS integration testing (CSIT)Ruslan Kashapov1-2/+2
Issue-ID: CPS-188 Change-Id: I4a225da73587d5276f302b05a0729d1127caddd9 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-02-15Update docker-composeClaudio D. Gasparini2-45/+116
- Add more documentation - fix application.yml location for service Issue-ID: CPS-236 Co-authored-by: Bruno Sakoto <bruno.sakoto@bell.ca> Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I5a16f520c9536d2034c2afd1de947058d2fb13ee
2021-02-04Decouple application configuration fileClaudio D. Gasparini3-3/+100
Agreement is that application configuration should live on OOM - leave an example of the configuration file under docker compose to run locally, instead of use OOM. Mainly for devs - document on README how to run the app with IDE or with docker compose - remove duplicate code on poms Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I328e89dba78cdf4d8abab51e3be5cb6d641064db
2021-02-01Decouple configuration from applicationClaudio D. Gasparini2-15/+15
- Decouple configuration from application - Generate all 3 types of docker variations Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I1e2e0577c5911f7c79801e4c691d196515dc02a1
2021-01-26Docker image building and docker-compose for cps-nf-proxyRuslan Kashapov1-0/+13
Issue-ID: CPS-184 Change-Id: I364a7f1ff41ca491f522038269d95d91b76da313 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>