aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-08-25Prepare for next event schema versionBruno Sakoto7-14/+28
Issue-ID: CPS-584, CPS-459 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I02ce027a4222fe3178d854628a52626c8184d987
2021-08-24Merge "Remove app Maven property"Renu Kumari1-1/+0
2021-08-24Merge "Add docker compose user environment variables"Niamh Core1-0/+2
2021-08-23Add docker compose user environment variablesBruno Sakoto1-0/+2
Issue-ID: CPS-586 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I74827e056bb782eb6b758b6354da56cd059e44e8
2021-08-23Use Liquibase dependency from Nordix repositoryBruno Sakoto1-1/+9
Commercial license is removed from Liquibase by using Liquibase build from Nordix that only contains Apache 2 license. Issue-ID: CPS-578 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ie8ff73676fc81da61e8334664677522d9c726263
2021-08-23Remove app Maven propertyBruno Sakoto1-1/+0
app Maven property is removed from jib main class configuration as the property is not defined and jib is able to infer the application main class. Issue-ID: CPS-585 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ie66bce122672b7e0961db41d0af73ecce2a6d565
2021-08-23Merge "Add basic security to query interface"Niamh Core10-185/+372
2021-08-20Add basic security to query interfaceRenu Kumari10-185/+372
- Added WebSecurity configuration and corresponding test case - Updated existing test cases to handle spring security - Moved QueryResponseFactory to QueryController to avoid cyclic dependency Issue-ID: CPS-530 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7e03ed9ccf983090ce514873b86fc9b2f851ed4f
2021-08-20Merge "Validate controller input and provide expected response"aditya puthuparambil19-63/+998
2021-08-19Validate controller input and provide expected responseRenu Kumari19-63/+998
- validate endpoint input - set default values if it is missing in the optional fields - used hateoas for previous and next record link generation - use service layer in controller layer Issue-ID: CPS-449 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7936cd9e8e7dead3b5650b421bb12f10d14ffa9b
2021-08-18Update snapshot versionBruno Sakoto1-1/+1
Issue-ID: CPS-533 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I333675977185649778881515253a04eda158a618
2021-08-17Deliver stage release to nexus for CPS Temporalputhuparambil.aditya1-0/+8
Release docker container 0.0.1 Issue-ID: CPS-533 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I626cc3fc4a91416bd5d6231170d263e9ca347ef1
2021-08-16Deliver stage release to nexus for CPS Temporal0.0.1puthuparambil.aditya1-2/+2
Changing dependency from SNAPSHOT to version 1.1.0 for cps-events to release cps-temporal Issue-ID: CPS-533 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ia2d174a31d16180fdc2ec3bc3a3c883bdd657664
2021-08-05Merge "Fetch data filtered by Search criteria"Toine Siebelink12-21/+726
2021-08-04Fetch data filtered by Search criteriaRenu Kumari12-21/+726
Implemented Service and repository layer Issue-ID: CPS-375 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Iedac0e48b2391a60f3eb9ab710ccdff0c9185407
2021-08-03Add Spring Boot Actuatorputhuparambil.aditya2-0/+24
Issue-ID: CPS-522 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I6bdb29dec63c409d18e84bebc51eeef5c34e1412
2021-07-28Merge "Kafka Configuration is not loaded when testing DB integration"Bruno Sakoto3-3/+10
2021-07-27Update docker profileputhuparambil.aditya2-2/+2
Issue-ID: CPS-520 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I733ce3faf4cc35cfcc050d6183910c090cb25f8e
2021-07-26Merge "generating swagger-ui and controller interface using openapi.yml"aditya puthuparambil9-121/+281
2021-07-26Kafka Configuration is not loaded when testing DB integrationRenu Kumari3-3/+10
Issue-ID: CPS-518 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I673e8b0d4fb70dcdd2024c15e04940996023b4f8
2021-07-23generating swagger-ui and controller interface using openapi.ymlRenu Kumari9-121/+281
Issue-ID: CPS-387 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3e9742407148efcb16d8d79411e4de6738796f86
2021-07-21Review maven configuration for testcontainersBruno Sakoto3-13/+18
Maven build was not failing when test containers are not able to run because of following maven surefire plugin bug: * https://github.com/junit-team/junit5/issues/2178 * https://issues.apache.org/jira/browse/SUREFIRE-1688 This bug is fixed in surefire 3.0.0-M5. Then, 3.0.0-M4 version coming from oparent is now overridden in pom plugin management. This commit also improves spock testcontainers integration by using the appropriate spock dependency. Issue-ID: CPS-515 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3ad902e598ece31601115d6484e520b6321ce8dd
2021-07-20Add failing event to invalid event exceptionBruno Sakoto3-9/+18
Also avoid unecessary null checks when validating the event Issue-ID: CPS-494 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I199fcf42928253bb4f44b204f72a4f46c1cc1eef
2021-07-09Editing of Nordix Licenses to ONAP guidelineslukegleeson1-0/+2
Issue-ID: CPS-489 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I1169f5cd58063808ed10ac001d0854310ce1ad4d
2021-07-08Remove unnecessary version propertiesshivasubedi1-42/+21
Issue-ID: CPS-495 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I2045b9a062e64fb509624d643e985759a5311557
2021-07-08Update CPS Temporal Spring Boot version to 2.5.0puthuparambil.aditya1-1/+1
Issue-ID: CPS-456 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I786421edc160a99ac4d6a3a393ee046f584ba080
2021-07-08Merge "Addition of missing licenses to files"aditya puthuparambil3-0/+56
2021-07-08Merge "Addition of missing license to INFO.yaml"Toine Siebelink1-0/+18
2021-07-07Addition of missing licenses to fileslukegleeson3-0/+56
Issue-ID: CPS-467 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I745287a099e71836920c15c71fc32e4feed7b056
2021-07-06Addition of missing license to INFO.yamllukegleeson1-0/+18
Issue-ID: CPS-467 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ic2313ffcab5dd1f963996a27fc2f2aa8a5916423
2021-07-05Add kafka listener for data updated eventsBruno Sakoto25-51/+1126
See "Running via Docker Compose" section from README.md file to have an example of event processing Issue-ID: CPS-371 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Id3abfa32fb04e07102a5f28e6e43a9b533391188
2021-06-11Add committersBruno Sakoto1-3/+13
* Aditya Puthuparambil https://wiki.onap.org/display/DW/Committer+Promotion+Request+-+Aditya+Puthuparambil * Niamh Core https://wiki.onap.org/display/DW/Committer+Promotion+Request+-+Niamh+Core * Renu Kumari https://wiki.onap.org/display/DW/Committer+Promotion+Request+-+Renu+Kumari Remove committer * Rishi Chail Issue-ID: CPS-462 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib401e4245ac0ecb3beb40e0e7ef41a8028e47730
2021-05-26Update db schema to keep field name consistent with domain propertyputhuparambil.aditya3-3/+41
Rollback need not be specified for renameColumn as per documentation: https://docs.liquibase.com/workflows/liquibase-community/using-rollback.html Issue-ID: CPS-425 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ida1cf80e7cd180c7b713bc595105fa83f4f6b278
2021-05-17Add automatic architecture verificationBruno Sakoto3-14/+148
Introduce verification for dependencies and layers. Issue-ID: CPS-381 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I948439ee5bcba2d41ccba3028d62a728babc83da
2021-05-13Merge "Implement service and repository layers for storing temporal data"Bruno Sakoto13-24/+360
2021-05-13Implement service and repository layers for storing temporal dataputhuparambil.aditya13-24/+360
1. Basic structure created 2. Basic tests added 3. lombok.config included for coverage Issue-ID: CPS-194 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Icf23c2e647106f7985dff14d9901806f7c4aa55a
2021-05-12Fix base docker imageBruno Sakoto1-1/+1
Issue-ID: CPS-407 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I043c9ce15ff5803683d7b1694d4779f80aeecc14
2021-05-07Added openapiRenu Kumari1-0/+238
Issue-ID: CPS-251 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3afbd52836d85111ea45e3b19a467a2b6275e650
2021-05-06Provide docker compose for temporal serviceRishi.Chail5-5/+146
Added docker image (200Mb) Added docker compose to start with timescale db Issue-ID: CPS-359 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I47120edcea78730405086eca393fbc08a41e0745
2021-04-28Integrate code quality tools for CPS Temporalputhuparambil.aditya1-1/+141
Issue-ID: CPS-346 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Idfad50919d82a5c115b8824c9f51ee65f877993f
2021-04-22Implement db schema with liquibaseBruno Sakoto10-2/+890
Issue-ID: CPS-193 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ieabee4b86bbe7a42c05bb225499487cfcc9deb1d
2021-02-25Fix sonar issuesBruno Sakoto4-7/+155
* Set minimum code coverage to 80% * Remove unsafe http method vulnerability Issue-ID: CPS-213 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I917899a093fccc4317b0fa063137ec0276311f72
2021-02-23Create application skeletonBruno Sakoto8-0/+392
This skeleton is used to start validating cps temporal jenkins jobs. Issue-ID: CPS-190 Change-Id: Iccbd4f58eaf2bd3ffaf668f4471b94581425c484 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2021-02-22Merge "Automation adds INFO.yaml"Bruno Sakoto1-0/+50
2021-02-16Automation adds INFO.yamlLF Jenkins CI1-0/+50
Issue-ID: CIMAN-33 Change-Id: Iea2b8c4397f2093682e29676d6890ec92dc17aca Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2021-02-16Automation adds .gitreviewLF Jenkins CI1-0/+7
Issue-ID: CIMAN-33 Change-Id: If7816df2551a400b8378232bf0525b1db14da247 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2021-02-16Initial empty repositoryLF Jenkins CI0-0/+0