adobe / adobe/aio-cli-plugin-cloudmanager

Provide AEM version in cloud manager environment data

Open
#695 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
50
Forks
36
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

In AEM as a Cloud Service pipelines are automatically triggered to update the underlying AEM, but the version an environment is currently using / going to be updated to is only available in the Cloud Manager UI. Since the version is displayed on several Cloud Manager screens, this information must be available somewhere and should be made accessible.

**Describe the solution you'd like**
It would be nice if the aem version could be added to the environment data (https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Environments/operation/getEnvironment) and/or returned by the cli. It can also be added as detail to `buildImage` step of a `PipelineExecution` (https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Pipeline-Execution/operation/stepState). The `deploy` step details contains information about `environmentUrls` and `deploymentStepDescription`, and something similar could be added to the `buildImage` step.

**Describe alternatives you've considered**
I don't have any alternatives in mind.

**Additional context**
Since it would be available via api only, the version should return the full version including the `-240600` suffix, e.g. `2024.6.16799.20240614T073455Z-240600` instead of just `2024.6.16799.20240614T073455Z`

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Cloud Manager Environments getEnvironment API and the Pipeline Execution stepState API linked in the issue, then inspect how this CLI exposes environment and pipeline data. Determine whether the full AEM version belongs in environment data, the CLI output, or buildImage step details; done means the chosen interface returns the complete version including the -240600 suffix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.