aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/api/LoopService.js
AgeCommit message (Collapse)AuthorFilesLines
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti1-244/+0
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-07-30Clamp react ui to use url pathname dynamically instead of hardcoded prefix ↵Ashwin Sharma1-10/+10
for calling apis Issue-ID: CLAMP-914 Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com> Change-Id: I266aeafe9a543e95bcb96fcab6437227c148f8c4
2020-06-12Removal of Svg apisebdet1-20/+0
Removal of previous api not even presetn in backend Issue-ID: CLAMP-854 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I199b8aab1e3f333d31fed68415058419bf352f21
2020-04-22Fix bug when adding op policysebdet1-2/+2
The fix to prevent multiple op policy modle to be inserted introduced another bug, this pr fixes it Issue-ID: CLAMP-828 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I90432688df48cbf2b456efae5e4191e2909077cc
2020-04-21Merge "Prevent adding same type of Op policy"Sébastien Determe1-7/+6
2020-04-21Prevent adding same type of Op policyxuegao1-7/+6
Add the logic to prevent user adding the same type of Operational Policy Issue-ID: CLAMP-828 Change-Id: Iec6774ec7a9494740f7aed0873165ba073d73e45 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-16Remove policy from PEF when removing op policysebdet1-2/+2
The operational policy must be removed from the PEF when the user remove an operational policy (at least attempt to purge the PEF) Issue-ID: CLAMP-824 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I442c0890c391d43e8fcbdb89189d6ad2581db3af
2020-03-16Rework the policy refreshsebdet1-2/+25
Rework the policy refresh for the new unique dialog policyModel Issue-ID: CLAMP-578 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie8c91223e92c1e344d7ead5784ffea33d4f6a00f
2020-03-13Add remove op policy optionxuegao1-22/+45
Update the UI and backend code to be able to remove op policy for loop instances. Issue-ID: CLAMP-648 Change-Id: Ib3eab4977fe4f1b85e11f2373263197009bbc3e1 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-02-27Add Create loop dialogsebdet1-0/+18
Add create loop dialog and backend part associated (this is based on this PR https://gerrit.onap.org/r/c/clamp/+/102156) Issue-ID: CLAMP-587 Change-Id: I58524bc2d5bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-25Modify the Uisebdet1-0/+23
Modify the Ui to have a modify option in the menu so that the user can tune the loop instance Issue-ID: CLAMP-648 Change-Id: I57523bc1c3afaf5ca5a2acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-07Add button to refresh op policy UIxuegao1-0/+23
Add the button on Operational Policy UI to refresh the json representation. Issue-ID: CLAMP-584 Change-Id: I3ae6ca0207bf9ca84f1e1dc6b3aed42b90298d8e Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-06Fix sonar issuessebdet1-10/+10
FIx some issues reported incorrectly by sonar for the new javascript code Issue-ID: CLAMP-425 Change-Id: I485b727c3a6007c0f0f9301fcda526b028d6251f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet1-0/+24
First draft of the Operational policy based on JsonEditor, it's a wip code Issue-ID: CLAMP-430 Change-Id: I2c7970e94488f4020377fd9d4d00691a3590b13e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-23Rework Loop properties windowxuegao1-0/+24
Rework the loop properties window with React libraries. Issue-ID: CLAMP-447 Change-Id: I5eba63aab39aeefe23d5fdc4732ce0d3d4a1682a Signed-off-by: xuegao <xg353y@intl.att.com>
2019-07-18Add data savingsebdet1-2/+26
Add data saving operation to the configurationPolicyModal and rework of the loopCache class Issue-ID: CLAMP-426 Change-Id: I6ba5880254b15809313f3b809a65ab9e441cab30 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-17Draft of Config policysebdet1-3/+3
Initial code of the config policy window using the Json Editor version from NPM Issue-ID: CLAMP-426 Change-Id: I4ff3e63c463320706031c703afa22417b321faa3 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-16SVG Renderingsebdet1-42/+49
SVG rendering draft for Config and operational policies management + call to back-end Issue-ID: CLAMP-422 Change-Id: Ia3ca4223e283d0cd56d98fb1871fd3b2880940ec Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-15Rework the Open CL windowxuegao1-0/+76
Rework the Open CL window of the Clamp UI. Issue-ID: CLAMP-420 Change-Id: Ic7e1e6add4067bc2ee94bd758d76e15397d941df Signed-off-by: xuegao <xg353y@intl.att.com>