aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-03-25Rework the UIxg353y2-68/+21
Rework the UI to submit/stop/restart the closed loop based on the new data model Issue-ID: CLAMP-313 Change-Id: Ide9be22f5ffc4faa2cd257a7f7eec895ab81f5de Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-25Rework deploy/undeploy UIxg353y9-333/+117
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 methodxg353y6-18/+340
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 "Removal of dead code"Xue Gao4-149/+2
2019-03-19Merge "Fix check style issues"Sébastien Determe25-85/+237
2019-03-19Removal of dead codesebdet4-149/+2
Cleanup of the Ui javascript code so that it's easier to work with op policies Issue-ID: CLAMP-330 Change-Id: Ia08b0af5ea818f49ac8625a3709b8f2a4cfdcddd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-19Merge "Remove useless UI code"Xue Gao16-1449/+152
2019-03-19Merge "Fix tosca parser"Sébastien Determe1-8/+1
2019-03-19Remove useless UI codesebdet16-1449/+152
Remove svn/wsdl code + rename the js files Issue-ID: CLAMP-330 Change-Id: I88aa31b99247ae5700347ae04955e08d6d5a5dd4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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-18Merge "Improve Policy window"Sébastien Determe2-10229/+13
2019-03-18Improve Policy windowsebdet2-10229/+13
Improve the policy window in the Clamp UI & update Json-editor lib Issue-ID: CLAMP-264 Change-Id: I602641f4e849385aecc16b646c0aa4f0dcfbcf12 Signed-off-by: sebdet <sebastien.determe@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 UIxg353y6-13/+13
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 Determe15-92/+132
2019-03-14Rework UIxg353y15-92/+132
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-14Merge "SVG microservice uniqueness"Eddy Hautot6-80/+90
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-14Merge "Move to alpine"Sébastien Determe3-46/+4
2019-03-14Move to alpinesebdet3-46/+4
Move docker image to alpine so that the footprint is reduced Issue-ID: CLAMP-326 Change-Id: Ia3ee72e4aa648475a9960f40967c36128c5df618 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-13Add UI testsxg353y1-9/+10
Add test cases for propertyController.js Issue-ID: CLAMP-310 Change-Id: I7ae2cc425d9a7343791bae9ab7704e09389f270a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-13Fix bugs in UIxg353y6-95/+5
Fix bugs in UI and remove useless menu and files. Issue-ID: CLAMP-318 Change-Id: Iac797a3c9a014c77da4b7f7f174a2d2d0e538872 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-13Merge "Add svg support"Eddy Hautot3-18/+44
2019-03-13Merge "Add updateGlobalPropertiesJson controller"Adam Krysiak3-16/+45
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 Determe10-91/+250
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.banka3-16/+45
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 xg353y10-91/+250
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 "Rework the UI"Sébastien Determe9-159/+111
2019-03-11Merge "Rework the UI Menu"Sébastien Determe4-75/+93
2019-03-11Merge "Rework UI"Sébastien Determe14-300/+196
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 Determe4-5/+27
2019-03-08Rework the UIxg353y9-159/+111
Rework the UI, fixing some bugs, update the method to get the CL image, rework the URL used to communicate with backend, remove the save CL/update/validationTest/resubmit menu. Issue-ID: CLAMP-312, CLAMP-318 Change-Id: I3e167a5432b99f851382e36c1b56189c18e43476 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework the UI Menuxg353y4-75/+93
Create a menuHandler to handle enable/disable all the menu actions. Also rework the method to determine the permittedActions based on the current CL status. Issue-ID: CLAMP-311 Change-Id: Iecc194eb62a6546d53ad6121c73f9d3946a135a2 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework UIxg353y14-300/+196
Rework Clamp UI to cooperate with the internal data model changes. Issue-ID: CLAMP-310 Change-Id: Ic3fdbdf5e405b57ef1537672a1d4528325b68a74 Signed-off-by: xg353y <xg353y@intl.att.com>
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 endpointsebdet4-5/+27
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>