Skip to content

APIGOV-33064 Query Engage for latest version of agent for creating output of install command#291

Open
kasuvy wants to merge 2 commits into
engage-5.0from
APIGOV-33064
Open

APIGOV-33064 Query Engage for latest version of agent for creating output of install command#291
kasuvy wants to merge 2 commits into
engage-5.0from
APIGOV-33064

Conversation

@kasuvy

@kasuvy kasuvy commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Prior to Engage having its Component resource there was no place for the CLI to query for versions for a specific agent when creating the installation output. Now that the the Component kind exists the CLI should query for it in order to determine the version to add to the output of the install command.

The endpoint to use is: /apis/definitions/v1alpha1/components

The resource spec includes a latest object that looks like this

"latest": {
"version": "1.2.47",
"releaseDate": "2026-06-25T09:37:11.000+0000",
"endOfSupportDate": "2027-06-25T00:00:00.000+0000"
}
The CLI does, at this time, pull versions from jfrog. That should be removed as well. Output commands should reference repository.axway.com instead of axway.jfrog.io.

Comment thread src/lib/engage/types.ts
@@ -837,7 +879,7 @@ export const GatewayTypeToDataPlane = {
};

export const PublicRepoUrl = 'https://axway.jfrog.io';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to confirm about this. When I tried replacing it with "repository.axway.com" for download of agent config zip file, it did not work. So, I wasn't sure if it was the right place to look at and hence I put it back. The URL it looks for is "/artifactory/ampc-public-generic-release/aws-agents/aws_apigw_agent_config/latest/aws_apigw_agent_config-latest.zip"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it needs retained, it should be changed to https://artifactory.axway.com since it's the same service. We should be preferring first party URLs over vendor's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants