diff options
author | sebdet <sebastien.determe@intl.att.com> | 2021-02-16 14:53:43 +0100 |
---|---|---|
committer | S�bastien Determe <sebastien.determe@intl.att.com> | 2021-02-18 12:51:19 +0000 |
commit | a0a3a03686a386bf6def6f7da6de4d3f6a11ce61 (patch) | |
tree | e650166922cf34953ee3fd1810db8bb76e302f5f /ui-react/src/api/PolicyService.js | |
parent | 3728547710dee7d4cbd02d8e6cfed2c1708e263c (diff) |
Introduce a new endpoint to create policy
One first part of the update is to create a policy version from an existing one (this is similar as the create new policy).
The policy-flow.xml has been refactored so that the same policy query is done for policies and loop related flows. A code has been added to remove fields from the UI that could be present (the PDP group info json enrichment)
Issue-ID: POLICY-2926
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia60c656a9b5100296042d3346d5c97c8dad5d041
Diffstat (limited to 'ui-react/src/api/PolicyService.js')
-rw-r--r-- | ui-react/src/api/PolicyService.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-react/src/api/PolicyService.js b/ui-react/src/api/PolicyService.js index d591b093d..fdbb5d5ea 100644 --- a/ui-react/src/api/PolicyService.js +++ b/ui-react/src/api/PolicyService.js @@ -22,7 +22,7 @@ export default class PolicyService { static getPoliciesList() { - return fetch(window.location.pathname + 'restservices/clds/v2/policies/list', { + return fetch(window.location.pathname + 'restservices/clds/v2/policies', { method: 'GET', credentials: 'same-origin' }) |