summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Fix guard payloadsebdet1-6/+8
Fix guard payload nullpointerException when guard list is empty or null Issue-ID: CLAMP-303 Change-Id: I6f714a877036cbc531dd35505202dde227cc224a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Create submit routesebdet3-6/+16
Create required components for Submit route in camel + unit tests + Policy payload generation + emulator feature for new policy api Issue-ID: CLAMP-303 Change-Id: If9033cfa3f4e346e2cbd7f891baff1f2c04a40a2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Fix dom4j issuesebdet2-66/+96
Upgrade Spring and Camel to latest version so that it fixes thesecurity issues Issue-ID: CLAMP-338 Change-Id: I214ac3520be3c388ec2f7e715b7d37e0db5d5a9c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Fix config policysebdet2-4/+6
Fix saving of config policy due to refactoring + fix missing model type in config policy Issue-ID: CLAMP-303 Change-Id: I863f3bb6b2acef8ed7bf534e142c1730b1493b67 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05Merge "Introduce Camel route"Xue Gao3-195/+100
2019-04-05Merge "LoopLog repository"Xue Gao12-122/+256
2019-04-05Merge "Update Csar handler"Sébastien Determe1-1/+22
2019-04-05Introduce Camel routesebdet3-195/+100
Camel route for Submit operation using http4 component Issue-ID: CLAMP-303 Change-Id: I29804a7db6286dfa84f7eed63813f25299a385e6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05LoopLog repositorysebdet12-122/+256
Introduction of the loop log repo + refactoring Issue-ID: CLAMP-303 Change-Id: I3e806993d35f82fd9258e55592391a48eb7e199f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-03Update Csar handlerxg353y1-1/+22
Update Csar handler, return the content of policies.yaml concatenateed with data.yaml while getting the policy model yaml. Issue-ID: CLAMP-261 Change-Id: I8ef7bcb9b2daaea37f13ca9d3ad9f38b889d6041 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-29Refactoringsebdet6-52/+40
Small refactoring of the Http library Issue-ID: CLAMP-333 Change-Id: I90a5488241ab84636bc0cec5849e97c4f98f3a38 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-28Rework the submit operationxg353y11-25/+401
Rework the logic to create/delete ms config policies. Issue-ID: CLAMP-303 Change-Id: I317e262ab68280a7518a6e31e82e5fcb0a7f94ed Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-25Rework deploy/undeploy UIxg353y2-149/+5
Rework the deploy/undeploy Ui based on the new data model. Issue-ID: CLAMP-334 Change-Id: I03d591bea81cb050e12031782dfa383656f1a32c Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-22Rework the deploy/undeploy methodxg353y5-8/+312
Create the camle box for depoy/undeploy closed loop with the new loop data model Issue-ID: CLAMP-334 Change-Id: Ica77163877c30b31efc37ab489b3810fe1251012 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-20Create common library for RESTxg353y2-4/+151
Create the common library to establish http/https calls Issue-ID: CLAMP-333 Change-Id: I4fbb8a45bb75cb370e46bbf63b5e2ce0ea9b834c Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-20Fix check style issuesxg353y25-100/+275
Fix the issues found by check style. Issue-ID: CLAMP-328 Change-Id: I709bbad46fd35d04174af5f85f314e05dce6929f Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-19Merge "Fix check style issues"Sébastien Determe25-85/+237
2019-03-19Merge "Fix tosca parser"Sébastien Determe1-8/+1
2019-03-19Fix tosca parsersebdet1-8/+1
Fix the parser so that we support the new tosca policy discussed Issue-ID: CLAMP-186 Change-Id: I3051dddf749f1969f8b1d12d726c65f6aad48d51 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-19Checkstyle improvementsChrisC8-635/+1048
Aligning couple of files with dublin checkstyle rules Issue-ID: CLAMP-328 Change-Id: Id6d97adefaeb9ddd7f8dc3253de61aeda13d27bf Signed-off-by: ChrisC <christophe.closset@intl.att.com>
2019-03-18Fix check style issuesxg353y25-85/+237
Fix the issues raised by the check style Issue-ID: CLAMP-328 Change-Id: I07f80274968e032d060a7d881f4851568616a832 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-15Merge "Fix policy Tosca converter"Eddy Hautot1-47/+44
2019-03-15Fix policy Tosca convertersebdet1-47/+44
Fix converter so that it can understand the new Policy Yaml model Issue-ID: CLAMP-306 Change-Id: I4d2f8640b2344e7ceee2cfec2d7e3175777f591b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-15Rework UIxg353y1-1/+2
Fix bugs due to the data model change Issue-ID: CLAMP-318 Change-Id: If3750505a5f496caae61c01c2179e058e79eba52 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-15Merge "Rework UI"Sébastien Determe3-14/+20
2019-03-14Rework UIxg353y3-14/+20
Rework UI to cooperate with the new data model Issue-ID: CLAMP-318 Change-Id: I1266c350e7604d29ff86da7c7584c74ad1f8715a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-14SVG microservice uniquenesssebdet6-80/+90
Add field to support uniqueness of the microservice in the SVG Issue-ID: CLAMP-284 Change-Id: Idbfe593374eecf6f180725ad5ae5b077020a9f14 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-13Merge "Add svg support"Eddy Hautot3-18/+44
2019-03-13Merge "Add updateGlobalPropertiesJson controller"Adam Krysiak2-10/+38
2019-03-12Add svg supportsebdet3-18/+44
Add SVG support to the CSAR installer so that UI could render the loop Issue-ID: CLAMP-306 Change-Id: Ief963c4ad8e4c142f20c16b2049cad3a8aeedfb0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Merge "Rework authorization controller "Sébastien Determe2-0/+229
2019-03-12Add unit testssebdet4-58/+50
Add unit tests and fix code to support them, columns modified and csar installer fixed as well Issue-ID: CLAMP-306 Change-Id: I946ef1aa957ca36bbb00357308ac67a3f07dcdce Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Fix warning/sonarsebdet4-42/+38
Some small fixes reported by sonar or deprecated code fixed Issue-ID: CLAMP-252 Change-Id: I82c6c01ec023f3e5749589ecf519ec2050ec5ecf Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Add updateGlobalPropertiesJson controllermichal.banka2-10/+38
Change-Id: I83d474a3616462cdb0cc31eadae3a189dd275683 Issue-ID: CLAMP-301 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-03-11Merge changes from topic 'feature/new-csar-installer'Eddy Hautot6-17/+391
* changes: Add sql New CsarInstaller
2019-03-11New CsarInstallersebdet6-17/+391
Csar installer to fullfil the new database model Issue-ID: CLAMP-306 Change-Id: I456922b4ca5044df2299350abd85762c84d7435a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-11Rework authorization controller xg353y2-0/+229
Rework the authorization controller, put the authorization code into a camel box, so that it could be put and remove from other methods easily and not tightly connected with other logic; Remove unused CldsTemplateService.js Issue-ID: CLAMP-305 Change-Id: I5e01f1fa4534e78e0996b4b8acaf33f1875e95f0 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-11Merge "Convert modules and relations to SVG"Adam Krysiak12-6/+630
2019-03-11Convert modules and relations to SVGPiotr Darosz12-6/+630
Generate SVG image from modules chain and save it to DB. Change-Id: I0f0b065f82de9b4d2084ec51043f485401842e23 Issue-ID: CLAMP-284 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-10Merge "New endpoint"Sébastien Determe3-5/+12
2019-03-08Improve tests for CsarInstallerImplmichal.banka2-21/+26
Change-Id: I18ad5789c1ed5a6d3cdf3c954e7b8ff224a589b4 Issue-ID: CLAMP-307 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-03-08Merge "Extract modules names and relations"Adam Krysiak4-0/+303
2019-03-08Extract modules names and relationsPiotr Darosz4-0/+303
Extract modules names and relations from DCAE_INVENTORY_BLUEPRINT Change-Id: Ia419b946e15f399d3c4e8c75f836fde6b4b3dbed Issue-ID: CLAMP-283 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-07New endpointsebdet3-5/+12
New endpoint to get svgRepresentation + remove Yaml field json Issue-ID: CLAMP-301 Change-Id: I49f62f25a719849cab78d1c94ae67078e28e6185 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-07created Api for closed loop managingKrysiak Adam20-53/+530
Change-Id: Ib6bd92d1ae3119a857c5a63df10e8f9bb130f75f Issue-ID: CLAMP-301 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-03-05Merge "Rework the hibernate adapter"Sébastien Determe6-22/+298
2019-03-05Merge "Improve tests"Sébastien Determe8-9/+215
2019-03-05Rework the hibernate adaptersebdet6-22/+298
This was using the Jackson library so a new handmade hibernate adapter has been developed. Issue-ID: CLAMP-300 Change-Id: Ia1c1e8791370c139127e6fa4bd2b96c02f632fde Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-04Merge "Introduce new entities"Sébastien Determe11-11/+727
2019-03-02Improve testssebdet8-9/+215
Improve tests and equals/hashcode of each model objects + fix Instant bug of LoopLog Issue-ID: CLAMP-300 Change-Id: If081f07864ba73449f8c6bcf8e23ede138204082 Signed-off-by: sebdet <sebastien.determe@intl.att.com>