Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluene Development License

Francois Du Toit November 22, 2015

Hi,

I have trial license for Confluence but I need to develop a REST client for integration. The integration would be between ARIS and Confluence. The aim is to output content developed in ARIS into Confluence, formatted and linked as an alternative to normal Word or Excel outputs.

 I have 2 questions:

  1. How can I get a Developer license for Confluence to test using my Laptop?
  2. I am using Java for the client connection to the current test website hosted by Atlassian, but I am not getting the authorisation portion to the SSL working. I have built a similar tool for JIRA, but that was for a local HTTP instance, so I think the HTTPS on the cloud is not working. If you have sample code for a JAVA client connecting to the REST API I would appreciate it smile

Please shout if you need more information and if you can enable the Dev license for me.

Thank you,

Francois Du Toit

+27829408406

cfdutoit@gmail.com

https://bpmutils.atlassian.net

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2015

Hi Francois,

  1. You do not need any license to launch development instance. As I understand you are integrating with cloud confluence and here are instructions how to launch local "cloud instance": https://developer.atlassian.com/static/connect/docs/latest/developing/developing-locally.html. In case if you are going to use standard Confluence REST api and do not need to develop connect addon you can start confluence like atlas-run-standalone --product confluence --version 5.8.13

  2. I guess that you need to add certificate from the cloud confluence instance to your java keystore. What error/exception do you get?
0 votes
Francois Du Toit November 23, 2015

Hi Volodymyr,

 

Thank you for the quick response.

  1. I will install and check the SDK you suggested, thank you.
  2. I have not done SSL before, so excuse the stupid questions smile
    1. Will the certificate always work, even if it is a local instance at a client site?
    2. Can I validate a certificate while running the integration so the same code will work in different environments? I would like the code to work for HTTP and HTTPS REST API calls.
    3. CURL does not support HTTPS, how can I test the REST calls to any Atlassian.com sub-domain?

I would appreciate any help with the Java code, as I haven't done this before. Do you prefer Jersey Client classes or URL lasses for the REST calls within Java?

 

Thank You,

Francois Du Toit

bpmutils.atlassion.com

+27829408406

 

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2015

Hi Francois! a. It will work as long as appropriate CA authority that signed the certificate under which is the conlfuence you are accessing is in java keystore. b. It should work. c. It does. You need either to add "-k" parameter to allow insecure connection or pass appropriate certificates. Please see: http://stackoverflow.com/questions/10079707/https-connection-using-curl-from-command-line For the HTTP calls from JIRA I usually use apache HTTP client and the code is the same for HTTP and HTTPS calls. Please see samples: http://hc.apache.org/httpclient-3.x/sslguide.html This article should help you to understand and fix the problem: https://confluence.atlassian.com/display/KB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Building+Failed

TAGS
AUG Leaders

Atlassian Community Events