Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement REST GET /resources/{resourceId} #627

Closed
yvespp opened this issue Nov 1, 2021 · 1 comment · Fixed by #639
Closed

Implement REST GET /resources/{resourceId} #627

yvespp opened this issue Nov 1, 2021 · 1 comment · Fixed by #639

Comments

@yvespp
Copy link
Member

yvespp commented Nov 1, 2021

Implement REST GET /resources/{resourceId}
Should return the same thing as GET /resources/resourceGroups/{resourceGroupId}/releases/{releaseId} and additionally the name of the resource.

This calls should be removed and replace in the Angular UI:

  • GET /resources/name/{resourceId}
  • GET /resources/exists/{resourceId}

This is needed because GET /deployments/filter only returns the resource id of the application and there is now way to get more info on it:

        "appsWithVersion": [
            {
                "applicationName": "my_app",
                "applicationId": 270436,
                "version": "1.2.119"
            }
        ],

We could also add the release info to appsWithVersion to make it easier.

Related to #356

@yvespp
Copy link
Member Author

yvespp commented Feb 7, 2022

Was implemented as GET /resources/resources/{resourceId} to avoid overlapping paths. Returns the resource name, resource type and release name.

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

Successfully merging a pull request may close this issue.

1 participant