summaryrefslogtreecommitdiffstats
path: root/mod
AgeCommit message (Collapse)AuthorFilesLines
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
2020-09-25Merge "Refactor, fix code formatting and add unittests"Remigiusz Janeczek8-216/+462
2020-09-24Top up bpgenerator to 1.5.1 in runtime api1.1.0-mod-runtimeapiRemigiusz Janeczek3-7/+7
Issue-ID: DCAEGEN2-2454 Issue-ID: DCAEGEN2-2289 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I12b9eb8c3b6f251721066f4f29dfbbeae155432b
2020-09-24Refactor, fix code formatting and add unittestsTomasz Wrobel8-216/+462
-Refactor DmaapNode class -Add UT for DmaapNode -Refactor and fix code formatting in DmaapStreem class -Top up version to 1.5.2 Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: If6781f26bb6bfe2a645b0b0438157823670341a2
2020-09-24Filter empty imports from files in bpgenRemigiusz Janeczek5-7/+63
Issue-ID: DCAEGEN2-2454 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia51750c17483c3120d86949ea60be416065b0da9
2020-09-23Restore test assertions. Update default plugin imports. Fix sonarRemigiusz Janeczek23-326/+252
issues in bpgenerator models/componentspec package. Issue-ID: DCAEGEN2-2449 Issue-ID: DCAEGEN2-2239 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2b1a541adaa5873a8450cf6341a1f73d760c2d72
2020-09-22Merge "Sonar fixes in bpgenerator models/blueprints package"Vijay Venkatesh Kumar10-157/+80
2020-09-22Refactor DmaapBlueprint classTomasz Wrobel5-89/+348
- Refactor DmaapBluepritn class - Add UT Issue-ID: DCAEGEN2-2289 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia847388cf7f4d23c7aa7cfc76c1c8983dc79b069
2020-09-21Sonar fixes in bpgenerator models/blueprints packageRemigiusz Janeczek10-157/+80
Issue-ID: DCAEGEN2-2449 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia696077e0e524515eac395ad81f1a59addb6d6b2
2020-09-18Update bpgenerator to java 11Remigiusz Janeczek2-69/+5
Remove cobertura (not compatible with java 11) Change sonar to use jacoco report Issue-ID: DCAEGEN2-2289 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4edcc601b46c11e1ff0c9a7305a0a01a2becded3
2020-08-28Merge "Run in Python 3.8"2.12.3-mod-onboardingapiVijay Venkatesh Kumar5-16/+30
2020-08-27Run in Python 3.8Michal Jagiello5-16/+30
Use Docker image prepared by integration team Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I4d147c14d0a6a0c93648b07567ccd7b6b594f0f1
2020-08-19Merge "Version update (1.1.0)"Vijay Venkatesh Kumar1-1/+2
2020-08-19Version update (1.1.0)1.1.0-mod-distributorapiMichal Jagiello1-1/+2
Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I24170b6caaf6a7917fe605b67eaf2233b5a70ce5
2020-08-18Merge "dcaegen2/platform - mod/runtimeAPI java11 upgrade Take into account ↵1.0.6Vijay Venkatesh Kumar1-1/+1
comments from I91250d5af6b2085063c955ab2b930223fcbb0f0b ticket"
2020-08-13Run distributorapi in Python 3.82.12.2Michal Jagiello2-10/+6
Use official ONAP Python base image Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5fc17e0257a31aa35fe81e24b97c364b73e5c72a
2020-08-13dcaegen2/platform - mod/runtimeAPI java11 upgradeKrzysztof Gajewski1-1/+1
Take into account comments from I91250d5af6b2085063c955ab2b930223fcbb0f0b ticket Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com> Change-Id: I361d12fbbf0d4bbe229ce2915bd895f30d8ed6fc
2020-08-11Ignore factory in json parsing bpgeneratorRemigiusz Janeczek1-0/+2
Issue-ID: DCAEGEN2-2251 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I09d2f9d810ee7b2c697ba6f8552f98c6977436bb
2020-08-10Merge "Add factories for Ext tls parameters"Vijay Venkatesh Kumar24-976/+1306
2020-08-10dcaegen2/platform - mod/runtimeAPI java11 upgradeKrzysztof Gajewski3-4/+10
Take into account comments from I6a23640244b388272e12b9883a42797371f5ecec ticket Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com> Change-Id: I91250d5af6b2085063c955ab2b930223fcbb0f0b
2020-08-10Add factories for Ext tls parameterskjaniak24-976/+1306
Code cleanup, renames Issue-ID: DCAEGEN2-2251 Change-Id: Ibf36780473480210bea1c76d117b28c71831487a Signed-off-by: kjaniak <kornel.janiak@nokia.com> Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-08-07dcaegen2/platform - mod/runtimeAPI java11 upgradeKrzysztof Gajewski2-6/+25
Change-Id: I6a23640244b388272e12b9883a42797371f5ecec Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com>
2020-07-28Pull JSON schemas at build/test not run timeAndrew Gauld11-89/+65
Change-Id: I4f095a8a80f1c2868319c58bb0e9db916044d067 Issue-ID: DCAEGEN2-2221 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-17Add onap.useDmaapPlugin config parameterAndrew Gauld4-3/+14
Change-Id: I8c86eb3f1c76c608fe5ce66bc4e0e1f6d8d64abc Issue-ID: DCAEGEN2-1996 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-16Merge "Add external tls info to bpgenerator and component spec schema"Vijay Venkatesh Kumar24-188/+1167
2020-07-16Add external tls info to bpgenerator and component spec schemaRemigiusz Janeczek24-188/+1167
Also: - Fix issue where local run without import file caused exception instead of use of default imports. - Update blueprint generator version from 1.3.2 to 1.4.0 Issue-ID: DCAEGEN2-2251 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2f976ccc3e0b271bf9ae1357f02bd86fe0903459
2020-07-13Upgrade genprocessor to use jackson 2.11.0Andrew Gauld1-2/+2
Change-Id: I8e8b1c462a57d7f1867402365618599b17d83aa6 Issue-ID: DCAEGEN2-2271 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-10Runtimeapi dependency updatesAndrew Gauld4-7/+14
Change-Id: Ied9b193eb47554db4824238a986d48b67aabf158 Issue-ID: DCAEGEN2-2272 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-08Upgrade genprocessor to use jackson 2.10.3Andrew Gauld1-3/+3
Change-Id: I67d3b7479a8bc8fc1e50245e0481ea5b9a541670 Issue-ID: DCAEGEN2-2271 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-01Switch between ContainerizedPlatformComponent to ↵Mantena, Ravi (rx908f)7-100/+119
ContainerizedServiceComponent, Remove name, dns_name and add service_component_type for onap, Add location_id from dmaap in bp_gen Issue-ID: DCAEGEN2-2144> Change-Id: Ice8529336c21b2a6e27555509215e911f80279b8 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-05-29Change R4 plugins to R6PANCHAL5-7/+7
Change bpgen R4 references to R6 because Runtime APi is defaulting to R4 Issue-ID: DCAEGEN2-2197 Signed-off-by: PANCHAL <dp023n@att.com> Change-Id: Id98fee8b5125cc056d852c343f3cc1d2df7e0a5d
2020-04-07Create /maven/data dir owned by dcaegen:dcaegen1.0.3Andrew Gauld1-2/+2
Change-Id: If29c7a128fd3cc2b17f07109734179249cd5064f Issue-ID: DCAEGEN2-2194 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-03-30Correct user on correct image for genprocessorAndrew Gauld1-2/+2
Change-Id: I01091421d2f2e7b222ab02cb10e07c45f92e8eac Issue-ID: DCAEGEN2-2170 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-03-30genprocessor-http non-root permissions changesAndrew Gauld1-3/+3
Change-Id: I734bbfac8b1b260524ef174518fea3e2229cf175 Issue-ID: DCAEGEN2-2170 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-03-27Update images to run as non-root2.12.11.0.2Andrew Gauld17-29/+61
Images updated and the new versions are: adapter.acumos:1.0.2 mod.distributorapi:1.0.1 mod.onboardingapi:2.12.1 mod.designtool-web:1.0.2 mod.genprocessor-job:1.0.1 mod.genprocessor-http:1.0.1 mod.runtime-web:1.0.2 Note: image names all start with "onap/org.onap.dcaegen2.platform." designtool-web was already running as a non-root user. The others have been changed to create user "dcaemod" and run as that user. The listen port numbers on mod.distributorapi, mod.onboardingapi, and mod.genprocessor-http are changed from 80 to 8080. URLs in designtool-web, distributorapi, and genprocessor-job are adjusted to reflect the new port numbers. Change-Id: I510122952666c21cb92f3f64552e99d50af7c355 Issue-ID: DCAEGEN2-2170 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-03-20Update parent pom version in mod-registryAndrew Gauld1-1/+1
Change-Id: Iff4bdb5931fc1b7f894065f3e8019d109b6ce233 Issue-ID: DCAEGEN2-1860 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-03-20Merge "Link DCAE MOD design tool to Acumos Adapter"Vijay Venkatesh Kumar20-5694/+974
2020-03-20Link DCAE MOD design tool to Acumos AdapterAndrew Gauld20-5694/+974
Add import item to global menu with choices of import models, component specs, and data formats. Add prefix to acumos adapter API for consistency with rest of DCAE MOD and to allow adding acumos adapter to k8s/rancher ingress or other reverse proxy mechanism so it can be accessed by browser javascript in the design tool. Remove dcae mod hostname mechanism for callbacks from browser javascript since browser security only allows javascript to call back to the originating host port. Clean up indentation only differences between original NiFi code and ONAP versions. Remove 3 ONAP java files that are now identical to original NiFi versions. Change-Id: I23bbd98d5b171d624ef35088cd821aff2918fc1b Issue-ID: DCAEGEN2-1860 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-03-17fixed quotes issue in runtime-api1.0.1Dhrumin Desai5-8/+33
Update Runtime Issue-ID: DCAEGEN2-2120 Change-Id: Ib07060717b43255f17f95d45023e856eed1de674 Signed-off-by: Dhrumin Desai <dd303q@att.com> Signed-off-by: Deven <dp023n@att.com>
2020-03-04fixed input string type issue in bp_genDhrumin Desai1-5/+6
Issue-ID: DCAEGEN2-2120 Change-Id: I95f6c3093377921250adf7089eca96f38b838f93 Signed-off-by: Dhrumin Desai <dd303q@att.com>
2020-03-03Change reportPath to reportPaths in pom.xmlsAndrew Gauld3-3/+3
Change-Id: I521e7fc48027d182f593ea1bc04fca5bf5370553 Issue-ID: DCAEGEN2-2119 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-02-28Merge "Modify Runtime for new bpgen dependency"Vijay Venkatesh Kumar11-51/+96
2020-02-28Modify Runtime for new bpgen dependencyDeven11-51/+96
Modify Runtime core and web components to build with the new bpgen dependency Issue-ID: DCAEGEN2-2091 Change-Id: Id9dac8f4cc24a39dac2dac8dce7a84b54c1e1229 Signed-off-by: Deven <dp023n@att.com>
2020-02-27Update server url in onboarding/start.sh2.12.0Deven1-1/+1
Update server url in onboarding/start.sh Issue-ID: DCAEGEN2-2093 Signed-off-by: Deven <dp023n@att.com> Change-Id: I008c6a6005f8e2c132fc80f81d0264292f3db542
2020-02-26Merge "Updates to onboarding and distributor api's"Vijay Venkatesh Kumar4-2/+8
2020-02-26Updates to onboarding and distributor api's1.0.0Deven4-2/+8
Update server url in onboardingapi/start.sh Update wekzeug dependency version in distributorapi/setup.py Update dcae cli version in onboardingapi/start.sh Update werkzeug dependency version Issue-ID: DCAEGEN2-2093 Signed-off-by: Deven <dp023n@att.com> Change-Id: Ife06a732a147bc1339a5041fa9bdab5791d8cf3f Signed-off-by: Deven <dp023n@att.com>
2020-02-26fixed quotation issue in bp_genDhrumin Desai3-5/+7
Issue-ID: DCAEGEN2-2094 Change-Id: I62fa39b7d8bd685b88f5e196029bfd4e2e963171 Signed-off-by: Dhrumin Desai <dd303q@att.com>
2020-02-19Merge "Added policyNodes, db, tls support"Vijay Venkatesh Kumar33-186/+2484
2020-02-19Added policyNodes, db, tls supportDhrumin Desai33-186/+2484
Change-Id: Id960c156eb8da67e6792c6dbc1a60892d28703b0 Issue-ID: DCAEGEN2-164 Issue-ID: DCAEGEN2-1873 Issue-ID: DCAEGEN2-1995 Issue-ID: DCAEGEN2-1859 Signed-off-by: Dhrumin Desai <dd303q@att.com>