Customizing API lifecycle states

The application-lcm.yml configuration file includes the default lifecycle and the possible transition that Developer Portal offers. As an administrator or provider, you can modify the names of those states, the default state that must be assigned to an API or package, and the transition of the states.

Procedure

  1. Go to the following location in the installation folder and open application-lcm.yml in Edit mode.
    InstallDir/DeveloperPortal/workspace/webapps/portal.war/WEB-INF/classes
    applications-lcm YAML file with sample values
  2. Change according to your requirement in the corresponding section:
    • Add, edit, or remove the available states from the states section.
    • Specify the initial state of an API or package in the initial-state section.
    • Specify the state that must be applied to an API or package to make it active (expose it to consumers) in the active-state section.
    • Specify the flow of states from one state in the allowed-transitions section.
  3. If you add a state or modify a state, add the custom label under the Properties section of your active theme.
    For information on adding a label, see Adding new UI labels.
  4. Save the changes and restart Developer Portal for the changes to take effect.