-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
None
Description of problem:
There is no way to specify target organizations in the current discovery provider for Cloud Foundry. Right now users can target spaces, but there is no way to filter by organizations neither in the CLI nor the web UI. This is a blocker for usage in a real corporate environment.
We need to add the following:
- An organizations flag for the CLI.
- An organizations filter in the Discover Applications view from the web UI.
Discovery behavior should be the following:
- If only organizations are entered, the tool will discover all applications from all spaces from the provided list of organizations.
- If one organization is entered and one or many spaces are entered as well, the tool will discover all applications from given list of spaces if they exist in the organization. If a space doesn't exist in the organization, the tool will provide a warning and continue with the discovery process.
- If multiple organizations are entered, and multiple spaces are entered as well, the tool will discover all applications from given list of spaces for each one of the organizations. If a space doesn't exist one of the organizations, the tool will provide a warning and continue with the discovery process.
- If an organization, a space and an application name is entered, discover will apply only to that application.
- For the Hub/web UI, if in any of the former processes the tool discovers an application with a name that already exists in the inventory, the tool will issue a warning including the full application coordinates (org, space and application name), ignore the duplicate application and continue with the discovery process.
Version-Release number of selected component (if applicable):
MTA 8.0.0
How reproducible:
Always.