Skip to content

Adopt Azure sdk for Objectstore#1781

Merged
Yavor16 merged 2 commits intomasterfrom
adopt-azure-sdk
Mar 18, 2026
Merged

Adopt Azure sdk for Objectstore#1781
Yavor16 merged 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
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.

vkalapov
vkalapov previously approved these changes Mar 12, 2026
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
79.1% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@Yavor16 Yavor16 merged commit c534e80 into master Mar 18, 2026
6 of 8 checks passed
@Yavor16 Yavor16 deleted the adopt-azure-sdk branch March 18, 2026 11:48
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