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

Allow DAVS protocol for TURLs in StoRM Backend #174

Closed
wants to merge 3 commits into from

Conversation

enricovianello
Copy link
Member

@@ -1283,7 +1283,7 @@ public String toString() {
}

public String getHTTPTURLPrefix() {
return cr.getConfiguration().getString(HTTP_TURL_PREFIX, "/fileTransfer");
return cr.getConfiguration().getString(HTTP_TURL_PREFIX, "");
Copy link
Member

Choose a reason for hiding this comment

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

or "/"?

@@ -564,6 +566,24 @@ private TTURL buildHTTPTURL(Protocol p, Authority authority) {
return TTURL.makeFromString(sb.toString());
}

private TTURL buildDAVTURL(Protocol p, Authority authority) {
Copy link
Member

Choose a reason for hiding this comment

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

This function seems identical to buildHTTPTURL, apart from the logging, which may be parameterized. Cannot we reuse that function? also in the call site

@enricovianello
Copy link
Member Author

Replaced by #175

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