summaryrefslogtreecommitdiffstats
path: root/mod
AgeCommit message (Collapse)AuthorFilesLines
2021-03-02Fix sonar issuesJoanna Jeremicz40-262/+277
- Use Map instead of LinkedHashMap when possible - Rename some constants - Remove some commented lines - Add logger - Other minor improvements and refactor Issue-ID: DCAEGEN2-2636 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I7a03cee453b3d254c4ff0fdf51c60a0ae4a61c42
2021-03-01Merge "Update BPGenerator readme"Vijay Venkatesh Kumar1-34/+44
2021-03-01Merge "Update coverage reporting for BPGen"Vijay Venkatesh Kumar3-171/+255
2021-03-01Update BPGenerator readmeRemigiusz Janeczek1-34/+44
Issue-ID: DCAEGEN2-2636 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4acd1689b16acfb3d4fb1c988f6892d4af1cfdb4
2021-02-26Update coverage reporting for BPGenRemigiusz Janeczek3-171/+255
Coverage submodule added in order to aggregate reports from other submodules. Added lombok configuration to annotate generated methods with @Generated, so that those can be skipped during coverage calculation. Formatted pom.xml Issue-ID: DCAEGEN2-2636 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ie08d1ecd3880b295be99b5b1713e92db060292da
2021-02-24Update runtime-api with bpgen 1.7.31.2.3-mod-runtimeapiRemigiusz Janeczek4-7/+12
Update default k8splugin Externalize generated bp resources limits Issue-ID: DCAEGEN2-2636 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I9fc00f3682925438a632b87e1a680060720c3ab1
2021-02-23BPGen externalize resources limit defaults configRemigiusz Janeczek3-7/+13
Issue-ID: DCAEGEN2-2636 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Id73b44a5b0286473ff4c2a05c7fa9586cac26c8a
2021-02-22BPGen update default importsRemigiusz Janeczek6-12/+12
Issue-ID: DCAEGEN2-2636 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ice8ba3b5d25d3e9235282f1806f9a4538dcb107a
2021-02-16Merge "Top up onboarding-api version (2.12.5) - for component spec schema ↵Remigiusz Janeczek3-2/+7
update."
2021-02-16Top up onboarding-api version (2.12.5) - for component spec schema update.2.12.5-mod-onboardingapiTomasz Pietruszkiewicz3-2/+7
Change-Id: I997adf565bd0ee6615b7c048a672b6ec9828dd33 Issue-ID: DCAEGEN2-2627 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
2021-02-16Merge "Fix Failed validating 'oneOf' in ↵Remigiusz Janeczek1-3/+5
schema[1]['properties']['volumes']['items'] in component spec schema"
2021-02-15Fix Failed validating 'oneOf' in schema[1]['properties']['volumes']['items'] ↵Tomasz Pietruszkiewicz1-3/+5
in component spec schema Change-Id: Ic8030625397f2c0b93429fc79d3cdcdad51049f1 Issue-ID: DCAEGEN2-2627 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
2021-02-10Remove security vulnerabilities in runtime-apiRemigiusz Janeczek6-12/+31
Update springfox dependencies to 3.0.0 Add changelog Issue-ID: DCAEGEN2-2595 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I1c7df7c5e5ad250f532ae07904cb16f4e1114063
2021-01-29Update bp-generator version in runtime-api.1.2.1-mod-runtimeapiTomasz Wrobel3-7/+7
Top up blueprint generator version to 1.7.2 Issue-ID: DCAEGEN2-1179 Issue-ID: DCAEGEN2-2441 Issue-ID: DCAEGEN2-2546 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I63d5fa6aab259fc8b3b481898c2b768fd97e2beb
2021-01-28Merge "Update onboarding-api changelog"Vijay Venkatesh Kumar1-0/+8
2021-01-28Update onboarding-api changelog2.12.4-mod-onboardingapiRemigiusz Janeczek1-0/+8
Issue-ID: DCAEGEN2-2546 Issue-ID: DCAEGEN2-1179 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2ae4f6421bc569c364bd9515d2cf5983083c24af
2021-01-28Blueprint generator - Add support for number type inputs .Tomasz Wrobel2-1/+177
Issue-ID: DCAEGEN2-2441 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I0bd0f2d0d283006f153fc2991fa95751b9ef5451
2021-01-27Merge "Add support for config_volume in blueprint generator"Tony Hansen7-12/+105
2021-01-27Add support for config_volume in blueprint generatorTomasz Pietruszkiewicz7-12/+105
Change-Id: I8160df49d20722d393eacd27049aabbb637ae6f1 Issue-ID: DCAEGEN2-2546 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
2021-01-27Top up onboarding-api version (2.12.4) - for component spec schema update.Tomasz Wrobel2-2/+3
Issue-ID: DCAEGEN2-1179 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia485bcf8f34e0cd56af5d9c35395d7b1b94be6d8
2021-01-27Bp-generator, fix app-config inputs in different typesTomasz Wrobel2-18/+43
Issue-ID: DCAEGEN2-1179 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I0a368f47e0737d8870144de8ab25a385e922f2a3
2021-01-25Merge "Add Native Kafka streams support in bp-generator"Remigiusz Janeczek15-51/+698
2021-01-21BPGenerator - fix placement of service component name overrideRemigiusz Janeczek4-28/+34
Issue-ID: DCAEGEN2-2481 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I32c3d2eb1e08dbcfe5b8ec57394a000a76150f00
2021-01-21Add Native Kafka streams support in bp-generatorTomasz Wrobel15-53/+698
Issue-ID: DCAEGEN2-1179 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I541dca959707a41c56205e20c9f5a56ccec5ca41
2021-01-20Add PropertiesServiceTestPiotr Marcinkiewicz2-2/+335
- add test class - remove unused vars in PropertiesService Issue-ID: DCAEGEN2-1179 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ic266f62097ed97cfd3aa5bac18609bb8730e27e0
2021-01-20Merge "Refactor AppConfigService with tests"Remigiusz Janeczek9-76/+455
2021-01-20Refactor AppConfigService with testsJoanna Jeremicz9-76/+455
- Refactor AppConfigService - Bump bpgenerator version to 1.7.2 Issue-ID: DCAEGEN2-1179 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Iae52bda14f928db102d4c3466ba97f948ca98727
2021-01-19Add kafka streams to component spec schemaRemigiusz Janeczek5-1082/+37
Issue-ID: DCAEGEN2-1179 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ie5084f348531e0608e6af7e58c6c2760d617feae
2021-01-14Bump runtime-api version to 1.2.01.2.0-mod-runtimeapiRemigiusz Janeczek3-6/+6
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I593b2f48145f0c5c666f1f6ed12cd64010e91355
2021-01-12Update runtime-api with refactored bp-genRemigiusz Janeczek7-103/+190
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I763a46e01d259b25c656de7544949f19a1e01e11
2021-01-11Fix versions in BPGeneratorRemigiusz Janeczek4-31/+3
Maven staging job is failing because of common module version set to 2.0.0-SNAPSHOT. During the build - mvn versions:set is used which sets version according to version.properties, because common has different version its version is not changed and it is recognized as a SNAPSHOT dependency (which fails the jenkins build). Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Icffd3b128485a45b3fe7e19c5501eaa4a98fbcf8
2021-01-04Blueprint Generator - split executable part to separate submoduleRemigiusz Janeczek14-219/+620
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I0d6a4ac0f6bc8332b79ebcf5ac3bb4aee1c951c6
2021-01-04Blueprint Generator - Refactor blueprint generation.Remigiusz Janeczek10-75/+244
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I72959f3e6c27d301e46ede24c015ce638d8de324
2020-12-21BpGen refactor Code Quality Issue-ID: DCAEGEN2-2502Ravi Mantena123-2111/+2985
Issue-ID: DCAEGEN2-2502 Change-Id: If6e08f0bb88c9039fb27898d50d2645f79175ba4 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-12-04Changing the snapshot and fixing Componentspec Issue-ID: DCAEGEN2-2529Ravi Mantena3-11/+33
Issue-ID: DCAEGEN2-2529 Change-Id: I4fb5eda94386c808c28431c9f8dbc7d5af2f8fc9 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-11-26Update external certificates SANs delimiterRemigiusz Janeczek3-125/+134
Fix formatting Issue-ID: DCAEGEN2-2508 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I1fab49ed949923e7c2a2ca47182805f494c89093
2020-11-25Blueprint Generator - Update parent reference groupIdRemigiusz Janeczek2-3/+3
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I97051ab6f44ec808c16e6142dee7edd3c9ec622c
2020-11-25Blueprint Generator - Update groupId, add version.propertiesRemigiusz Janeczek4-6/+10
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Icbc011714f0996e1915b9e4ae8081972a53fdfac
2020-11-19Blueprint Generator Refactored Code Issue-ID: DCAEGEN2-2472Ravi Mantena223-9865/+8503
Change-Id: I2ade7fb3b4196554eb4ecadd918fd45cb6ba8a52 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-10-12Merge "Improve code quality in ResourceConfig"Vijay Venkatesh Kumar3-39/+68
2020-10-09Merge "Improve code quality in Appconfig"Vijay Venkatesh Kumar5-120/+180
2020-10-08Update runtimeapi with bpgenerator 1.5.2Remigiusz Janeczek3-7/+7
Issue-ID: DCAEGEN2-2459 Issue-ID: DCAEGEN2-2460 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I56bdb36ccbf6ea5477ca4e0a1df08886d1a87cf7 (cherry picked from commit fb191e459ffaea56d57f6452d1c0f0467e23e102)
2020-10-08Improve code quality in AppconfigJoanna Jeremicz5-120/+180
- Add unit test - Refactor Appconfig class (break the public method into smaller private methods, get rid of unnecessary parameter object reference copies) - Top up version to 1.6.0 Issue-ID: DCAEGEN2-2460 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ia34b5c8ed3d6eafe765075a1a2b4274beb1868e6
2020-10-05Improve code quality in ResourceConfigJoanna Jeremicz3-39/+68
- Add unit test - Refactor ResourceConfig class (break the public method into smaller private methods, remove code duplications) Issue-ID: DCAEGEN2-2460 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ibfbac2b6d6ea4705a2139dee7d1bb801395790c9
2020-10-01Merge "Refactor ResourceConfig class"Vijay Venkatesh Kumar1-54/+62
2020-10-01Add useExisting property to Dmaap Feed Node in Blueprint-GeneratorTomasz Wrobel3-2/+24
Issue-ID: DCAEGEN2-2460 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ie170ed503be3e775b05bd3acf51c19d245b85c38
2020-09-30Adjust BP-gen to correctly support DFC component spec - typesJoanna Jeremicz8-358/+405
- Update relationshipsType and feedNode values in DmaapNode - Create a class for hardcoded values - Update unit tests Issue-ID: DCAEGEN2-2459 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ic5dc91844b4aefcf7d3d9d25c866a60e63875deb
2020-09-30Refactor ResourceConfig classTomasz Wrobel1-54/+62
Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: If47d76966937f7aeb90e054974130e8850f37343
2020-09-25Improve code quality:Tomasz Wrobel5-163/+184
- Refactor Properties class - Refactor ResourceConfig class Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I9f7debafc21d9dd2912a537499d6936e511dd824
2020-09-25Fix master blueprint generator Unit TestsTomasz Wrobel1-1/+1
Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I148e0c1ac8d7775ec038caa0fe2fd97240fbdf83