Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
https://github.com/Netcracker/qubership-envgene/blob/docs/envgene-ui/docs/analysis/colly-applications-api.md
? GET /api/v1/environments/{environmentId}/applications
Return list of all applications for particular environment and namespace
Parameters:
environmentId (path)
namespaceName (query)
Response:
- `<application-name-1>`
- `<application-name-N>`
Details:
read file /environments/<cluster-name>/<env-name>/Inventory/solution-descriptor/sd.yaml|yml
- if file is not exist => error in logs
- check yaml file first if not exist then check yml
- if there are no SD.applications or SD.applications[].version or SD.applications[].deployPostfix (at least in one application) => error in logs and full SD shouldn't put in cache
- if
deployPostfix is not found in namespaceName => ignore element SD.applications during cache
- if for
namespaceName there is no applications in deployPostfix => 404
Describe alternatives you've considered
No response
Additional information
No response
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
https://github.com/Netcracker/qubership-envgene/blob/docs/envgene-ui/docs/analysis/colly-applications-api.md
? GET /api/v1/environments/{environmentId}/applications
Return list of all applications for particular environment and namespace
Parameters:
environmentId(path)namespaceName(query)Response:
Details:
read file
/environments/<cluster-name>/<env-name>/Inventory/solution-descriptor/sd.yaml|ymldeployPostfixis not found innamespaceName=> ignore element SD.applications during cachenamespaceNamethere is no applications indeployPostfix=> 404Describe alternatives you've considered
No response
Additional information
No response