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

Incorrect confluence RPC service URL creation #1

Merged
merged 1 commit into from Apr 25, 2011

Conversation

jcsirot
Copy link
Member

@jcsirot jcsirot commented Apr 23, 2011

When confluence is not installed on the "/" path of the server (e.g. http://example.com/confluence/) the path element of the base URL is truncated (e.g. http://example.com/rpc/soap-axis/confluenceservice-v1) and the RPC service URL is incorrect leading to HTTP 404 error.

@jhansche jhansche merged commit dd0ecf4 into jenkinsci:master Apr 25, 2011
jhansche pushed a commit that referenced this pull request Jun 19, 2011
The change made in dd0ecf4 fixed the URLs for Confluence
installations in non-root paths (e.g., http://foo.example.com/confluence/*),
but that broke root installations, because URI#resolve()
interprets "//foo/bar" to mean that the host should become "foo".

Instead of using getPath(), and appending a /-anchored
RPC path, just pass a relative path to URI#resolve().
This should solve both problems.
jhansche pushed a commit that referenced this pull request Jan 13, 2020
Due to https://issues.jenkins-ci.org/browse/JENKINS-47309
and as stated at https://developer.atlassian.com/server/confluence/confluence-xml-rpc-and-soap-apis/
"The XML-RPC and SOAP APIs are deprecated since Confluence 5.5, and may not work as expected."
this PR is intended to introduce an upgrade of confluence-publisher-plugin with com.atlassian.confluence:confluence-rest-client:6.15.7

* cleanup + upgrade with confluence-rest-client

* upgrade with confluence-rest-client + some cleanup

* rewrite performEditComment/createComment

* add ancestors inheritance.

* add type to createPage

* editComment + previousComment lookup

* corrected parent set, saves pages hierarchy
jhansche added a commit that referenced this pull request Jan 13, 2020
Confluence rest client (#1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants