Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Currently, the Aspire Confluence Plugin considers the following structure. Below is the detail of the required classes and implementation proposed for version 1 of the plugin.

Image RemovedImage Added

1.1        Installation Dependencies

  • Currently, the The only dependency to build the aspire-confluence-plugin is to have installed the Atlassian SDK framework described in section 4.

1.2        Running Installation Dependencies

Currently, the The aspire-confluence-plugin is only supported by the connector Framework 4.0. You need to have the following components configured and running to make sure requests send by the plugin are getting processed to Aspire.

...

  • Go to the aspire 4.0 distribution where requests are going to get the process and go to the Services tab. Ex Example: http://10.89.26.135:50505/aspire/admin/ui/files/#/svmanager
  • Click on Add Service and look for “Aspire Updates Listener”. If this option is not available, click on the Custom button and complete the information requested as follows.

Image RemovedImage Added


This listener does not require any additional configuration, however, make sure you use the Servlet name this service is using when you update the aspire-confluence-plugin.


Image RemovedImage Added


1.2.2       Aspire Confluence Connector

...

  • On the Aspire Content Source Manager view, select the option Add Source.
  • Click on the Confluence button and enter the information requested as shown in the example below
    Note: Keep in mind that Confluence Connector requires a specific configuration to include attachments and comments, so event when the aspire-plugin-listener will monitor comments and attachments events, content will not be added into the publisher, if the connector is not set up properly.

Image RemovedImage Added


Also, keep in mind you need to use the same connector name in the plugin configuration so Confluence can publish its changes as expected.

Image RemovedImage Added


1.2.3       Test dependencies setup

You can use Postman to test the setup of the plugin and connector.  You  You can follow the examples described on described in the files below to get a better understanding of the format and required parameters


Image RemovedImage Added


1.3        Set up Aspire Confluence Code locally

  • Go to bitbucket clone the aspire-confluence-connector project. Make sure you use the proper branch. (Currently, plugin code is part of the implement-batch processing tab)
    Image Added
  • Navigate to the aspire-confluence-plugin folder and run the atlas-package command
    Image RemovedImage Added
    Image RemovedImage Added

  • Make sure the plugin was built success fully successfully and the jar is available at the target folder.
    Image RemovedImage Added
    Image RemovedImage Added



1.

...

4       

...

Install and configure the plugin into Confluence


Note: To install the plugin, you need to have administration permissions within the Confluence Server.

...

  • Login into Confluence.
  • Click on the Cog button at the right upper corner and select “Manage apps”
    Image RemovedImage Added
  • Once the Confluence administration page has loaded. Click on the button “Upload app”.

Image RemovedImage Added

  • You will get a prompt window. Click on Choose File and browse to the location where the aspire-confluence-plugin.jar (generated on section 5.3) is located and click Upload.
    Image RemovedImage Added
  • Wait until the installation process is completed.
    Image RemovedImage Added
  • When the installation process is completed, you will get a confirmation from Confluence as shown below.
    Image RemovedImage Added
  • Make sure all modules are loaded and enable successfully before entering the configuration.
    Image RemovedImage Added

To configure the plugin parameters, click on the “Configure” button and enter the information requested.

...

  • Batch timeout (Milliseconds
  • Batch size
  • Include Attachments
  • Include Comments

Image RemovedImage Added

By default, the Confluence will install the plugin with the following parameters.

...

  • To refresh configuration parameters, go back to Manage Apps selection, open the plugin configuration and click on the disable button.
    Image RemovedImage Added
  • Finally, click back on Enable to finish the Plugin Configuration.
    Image RemovedImage Added