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

Add TKS TPSConnectorService to v2 APIs #4822

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

fmarco76
Copy link
Member

No description provided.

@fmarco76 fmarco76 requested a review from edewata August 13, 2024 13:30
Copy link

sonarcloud bot commented Aug 13, 2024

Copy link
Contributor

@edewata edewata left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +64 to +65
String host = request.getParameter("host");
String port = request.getParameter("port");
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a note, we probably should consider requiring the user to specify the connector ID so that we don't have to generate it. The current findNextConnectorID() might not generate consistent IDs across the cluster which could be problematic.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, the current implementation of findNextConnectorID() does not work across a cluster. The user could provide the ID or we have to implement a way to get the information consistent in a cluster scenario. Do we create a ticket for this?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a design issue, not just the API, but also the storage, which might not be trivial to fix. So far there's nobody asking to fix it so I'd just leave it as is for now. Maybe in the future when we fully move to containers this issue will come up again and we can redesign at that point.

@fmarco76
Copy link
Member Author

@edewata Thanks!

@fmarco76 fmarco76 merged commit eaebd8b into dogtagpki:master Aug 19, 2024
139 of 156 checks passed
@fmarco76 fmarco76 deleted the TPSConnectorService_v2 branch August 19, 2024 11:11
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