Update Capability

Update Capability allows a DevOps Engineer to update a capability in the ecosystem. This might include updating configurations, updating SABRs, removing SABRs, or adding SABRs to and existing capability.

Activities Diagram

Actors

Extends Use Cases

Detail Scenarios

Scenario Add a SABR to the Capability

Add a SABR of the a running capability.

Scenario AddaSABRtotheCapability

Steps

  1. capability create –name UpdateCap1 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap1
  3. aml cm capability deploy –capability UpdateCap1
  4. aml cm capability update –capability UpdateCap1 –file ./templates/capabilityUpdateAddSABR.js
  5. aml cm capability release –capability UpdateCap1
  6. aml cm capability deploy –capability UpdateCap1

Actors

Scenario Add SABRs to the Capability

Add Multiple SABRs to a running Capability

Scenario AddSABRstotheCapability

Steps

  1. capability create –name UpdateCap2 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap2
  3. aml cm capability deploy –capability UpdateCap2
  4. aml cm capability update –capability UpdateCap2 –file ./templates/capabilityUpdateAddSABRs.js
  5. aml cm capability release –capability UpdateCap2
  6. aml cm capability deploy –capability UpdateCap2

Actors

Scenario Remove a SABR from the Capability

Remove a SABR of a running Capability

Scenario RemoveaSABRfromtheCapability

Steps

  1. capability create –name UpdateCap3 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap3
  3. aml cm capability deploy –capability UpdateCap3
  4. aml cm capability update –capability UpdateCap3 –file ./templates/capabilityRemoveSABR.js
  5. aml cm capability release –capability UpdateCap3
  6. aml cm capability deploy –capability UpdateCap3

Actors

Scenario Remove multiple SABRs from the Capability

Remove multiple SABRs from a running Capability

Scenario RemovemultipleSABRsfromtheCapability

Steps

  1. capability create –name UpdateCap3 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap3
  3. aml cm capability deploy –capability UpdateCap3
  4. aml cm capability update –capability UpdateCap3 –file ./templates/capabilityAddSABRs.js
  5. aml cm capability release –capability UpdateCap3
  6. aml cm capability deploy –capability UpdateCap3

Actors

Scenario Update Configuration of the Capability

Update Configuration of a running Capability

Scenario UpdateConfigurationoftheCapability

Steps

  1. capability create –name UpdateCap5 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap5
  3. aml cm capability deploy –capability UpdateCap5
  4. aml cm capability update –capability UpdateCap5 –file ./templates/capabilityUpdateConfig.js
  5. aml cm capability release –capability UpdateCap5
  6. aml cm capability deploy –capability UpdateCap5

Actors

Scenario Update Policies of the Capability

Update Policy of a Running Capability

Scenario UpdatePoliciesoftheCapability

Steps

  1. capability create –name UpdateCap6 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap6
  3. aml cm capability deploy –capability UpdateCap6
  4. aml cm capability update –capability UpdateCap6 –file ./templates/capabilityUpdatePolicies.js
  5. aml cm capability release –capability UpdateCap6
  6. aml cm capability deploy –capability UpdateCap6

Actors

Scenario Update SABRs of the Capability

Update SABRs of a running Capability

Scenario UpdateSABRsoftheCapability

Steps

  1. capability create –name UpdateCap7 –file ./templates/capability.js
  2. aml cm capability release –capability UpdateCap7
  3. aml cm capability deploy –capability UpdateCap7
  4. aml cm capability update –capability UpdateCap7 –file ./templates/capabilityUpdateSABRs.js
  5. aml cm capability release –capability UpdateCap7
  6. aml cm capability deploy –capability UpdateCap7

Actors