Skip to content

Adopt Azure sdk for Objectstore#1781

Open
Yavor16 wants to merge 2 commits intomasterfrom
adopt-azure-sdk
Open

Adopt Azure sdk for Objectstore#1781
Yavor16 wants to merge 2 commits intomasterfrom
adopt-azure-sdk

Conversation

@Yavor16
Copy link
Contributor

@Yavor16 Yavor16 commented Feb 19, 2026

No description provided.

@Yavor16 Yavor16 force-pushed the adopt-azure-sdk branch 3 times, most recently from 8abfeec to 0f289a1 Compare February 23, 2026 12:31
@sonarqubecloud
Copy link

Comment on lines +156 to +166
public String getContainerUriEndpoint(Map<String, Object> credentials) {
if (!credentials.containsKey(CONTAINER_URI)) {
return null;
}
try {
URL containerUri = new URL((String) credentials.get(CONTAINER_URI));
return new URL(containerUri.getProtocol(), containerUri.getHost(), containerUri.getPort(), "").toString();
} catch (MalformedURLException e) {
throw new IllegalStateException(Messages.CANNOT_PARSE_CONTAINER_URI_OF_OBJECT_STORE, e);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this method is only referenced by a protected method within the same class. Should we consider reducing its visibility from public to protected?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made it public so I can test it better using unit tests.

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.

4 participants