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
- 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
- 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.
- If you add a state or modify a state, add the custom label under the
Properties section of your active theme.
- Save the changes and restart Developer Portal for the changes to take
effect.