Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document is related to the Jira task "POLICY-3470".

...

Clamp GUI - PolicyService.js endpoints

  • GET restservices/clds/v2/policies
  • POST restservices/clds/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}
  • DELETE restservices/clds/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}
  • PUT restservices/clds/v2/policies/pdpDeployment
  • POST restservices/clds/v2/policies/policytype

...

  • calls PolicyEngineServices.synchronizeAllPolicies() that download All PolicyModels and synchronize the clamp database and the policy engine. So it creates the required PolicyModel.
  • calls PolicyEngineServices.downloadPdpGroups that download All PdpGroups and Update the Pdp Group info in Policy Model DB.



Clamp GUI - UserService.js endpoints

  • GET restservices/clds/v1/user/getUser
  • GET restservices/clds/v2/clampInformation

Clamp GUI - ACMService.js endpoints

  • GET restservices/clds/v2/acm/getToscaInstantiation
  • POST restservices/clds/v2/acm/postToscaInstanceProperties
  • DELETE restservices/clds/v2/acm/deleteToscaInstanceProperties?{params)
  • GET restservices/clds/v2/acm/getInstantiationOrderState?{params)
  • PUT restservices/clds/v2/acm/putToscaInstantiationStateChange
  • GET restservices/clds/v2/acm/getToscaTemplate?{params)
  • POST restservices/clds/v2/acm/commissionToscaTemplate
  • DELETE restservices/clds/v2/acm/decommissionToscaTemplate?{params)
  • GET restservices/clds/v2/acm/getCommonOrInstanceProperties

Clamp GUI - LoopActionService.js endpoints

  • PUT restservices/clds/v2/loop/{svcAction}/{cl_name}
  • GET restservices/clds/v2/loop/getstatus/{cl_name}

Clamp GUI - LoopService.js endpoints

  • GET restservices/clds/v2/loop/getAllNames
  • POST restservices/clds/v2/loop/create/{loopName}?{templateName=templateName}
  • GET restservices/clds/v2/loop/{loopName}
  • POST restservices/clds/v2/loop/updateMicroservicePolicy/{loopName}
  • POST restservices/clds/v2/loop/updateOperationalPolicies/{loopName}
  • POST restservices/clds/v2/loop/updateGlobalProperties/{loopName}
  • PUT restservices/clds/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}
  • PUT restservices/clds/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}
  • PUT restservices/clds/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}
  • PUT restservices/clds/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}

Clamp GUI - PolicyToscaService.js endpoints

  • GET restservices/clds/v2/policyToscaModels
  • GET restservices/clds/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}
  • GET restservices/clds/v2/policyToscaModels/{policyModelType}/{policyModelVersion}

Clamp GUI - TemplateService.js endpoints

  • GET restservices/clds/v2/loop/getAllNames
  • GET restservices/clds/v2/templates
  • GET restservices/clds/v2/dictionary/
  • GET restservices/clds/v2/dictionary/{dictionaryName}
  • PUT restservices/clds/v2/dictionary/
  • PUT restservices/clds/v2/dictionary/{dictionaryName}
  • DELETE restservices/clds/v2/dictionary/{dictionaryName}
  • DELETE restservices/clds/v2/dictionary/{dictionaryName}/elements/{dictionaryElement}