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

#2379 Make healthcheck only for admin users and create new service for all users #2405

Conversation

AKARSHITJOSHI
Copy link
Contributor

  1. remove processShownFields method -
    xpanse/modules/api/src/main/java/org/eclipse/xpanse/api/controllers/AdminServicesApi.java

Line 193 in 1f8d0a2

private void processShownFields(BackendSystemStatus backendSystemStatus) {

  1. Allow healthCheck() method only for 'ADMIN' ROLE and rename method to stackHealthStatus() -> /xpanse/stack/health

3.Rename existing SystemStatus data model to -> StackStatus

  1. create new method -> healthCheck() -> which returns only new SystemStatus data model which has only 'HealthStatus' as a property.

  2. Allow new method to all roles - admin, user, isv and csp.

Akarshit Joshi added 2 commits February 13, 2025 21:54
2. New endpoint to return the healthstatus,name of backend systems
@swaroopar
Copy link
Contributor

@AKARSHITJOSHI we cannot do anything until you sign the ECA. Kindly do that.

@swaroopar
Copy link
Contributor

no update. will close it for the moment. if the contributor is wishes, can be reopened.

@swaroopar swaroopar closed this Feb 14, 2025
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.

2 participants