Manage Policies

Manage Policies use case includes establishing and managing DDIL environment policies for the complete ecosystem, individual capabilities, SABRs, and applications. This use case also refers to orchestration and deployment policies.

Activities Diagram

Actors

Detail Scenarios

Scenario ActivatePolicy

Activate Channel Policy in the SABR. Evaluation of the policies and consistency of the policies is critical to make sure that channel activation does not impact other policies adversely

Scenario ActivatePolicy

Steps

  1. streampolicy activate –name policy1

Actors

Scenario Create Channel Activation Policy

Create policies for the system which include ChannelActivationPolicies

Scenario CreateChannelActivationPolicy

Steps

  1. streampolicy create –name policy1 –file ./templates/policy1.js
  2. streampolicy create –name policy2 –file ./templates/policy2.js

Actors

Scenario Create Channel Creation Policy

Create policies for the system which include ChannelCreationPolicies

Scenario CreateChannelCreationPolicy

Steps

  1. streampolicy create –name policy1 –file ./templates/policy1.js
  2. streampolicy create –name policy2 –file ./templates/policy2.js

Actors

Scenario Create Policy

Create policies for the system which include ChannelCreationPolicies and ChannelActivationPolicies

Scenario CreatePolicy

Steps

  1. streampolicy create –name policy1 –file ./templates/policy1.js
  2. streampolicy create –name policy2 –file ./templates/policy2.js

Actors

Scenario Deactivate Policy

Deactivate Policy in a SABR. The deactivation of the policy should be propigated to all SABRS within the scopr of the policy.

Scenario DeactivatePolicy

Steps

  1. streampolicy create –name policy1 –file ./templates/policy1.js
  2. [streampolicy activate --name policy2](#action-streampolicy activate)
  3. [streampolicy deactivate --name policy2](#action-streampolicy deactivate)

Actors

Scenario Update Channel Policy

Update Channel Policies. This can include the creation and activation channels. If a channel is destroyed in the update then all of the data cached in the channel should be destroyed.

Scenario UpdateChannelPolicy

Steps

  1. streampolicy update –name policy1 –file ./templates/policy1.js
  2. streampolicy update –name policy2 –file ./templates/policy2.js

Actors