Introduction
This section provides information on the high-level tasks involved in implementing and publishing analytics extensions in WSO2 Store.
Basic implementation requirements
- Research the area related for which you want to create an analytics extension.
Required template can be created using the maven archetype found with following and using the mentioned command.
https://github.com/wso2-extensions/archetypes/tree/master/analytics-event-receiver-archetype to create input event adapter use following command.
mvn archetype:generate -DarchetypeGroupId=org.wso2.carbon.extension.archetype -DarchetypeArtifactId=org.wso2.carbon.extension.analytics.receiver-archetype -DarchetypeVersion=2.0.0 -DgroupId=org.wso2.carbon.extension.analytics -DartifactId=org.wso2.carbon.extension.analytics.receiver.sample -Dpackage=org.wso2.carbon.extension.analytics.receiver.sample -Dversion=1.0.0 -DarchetypeRepository=http://maven.wso2.org/nexus/content/repositories/wso2-public/
https://github.com/wso2-extensions/archetypes/tree/master/analytics-event-publisher-archetype to create output event adapter use following command.
mvn archetype:generate -DarchetypeGroupId=org.wso2.carbon.extension.archetype -DarchetypeArtifactId=org.wso2.carbon.extension.analytics.publisher-archetype -DarchetypeVersion=2.0.0 -DgroupId=org.wso2.carbon.extension.analytics -DartifactId=org.wso2.carbon.extension.analytics.publisher.sample -Dpackage=org.wso2.carbon.extension.analytics.publisher.sample -Dversion=1.0.0 -DarchetypeRepository=http://maven.wso2.org/nexus/content/repositories/wso2-public/
We strongly recommend the non-use of GPL or LGPL licensed libraries in the development of extensions. If there is a reason to use these licenses, the reason needs to be provided along with the extension submission. Hosting extensions that use GPL or LGPL licenses in WSO2 Store will be done at the sole discretion of WSO2 and provision of a reason for the use of GPL LGPL licensed libraries does not guarantee hosting such extension.
Images required for publishing
You need to have PNG images with the following dimensions so that those can be used in the WSO2 store.
- 580x300
- 220x200
Publishing the extension
When the extension development is complete, create a JIRA under the Analytics Extensions project with the following information:
- Source code can be directly attached to the JIRA or do the development in your own git repo.
- Once we review the code we will create a repo under https://github.com/wso2-extensions, and ask you to send the pull request.
- If GPL or LGPL licensed connectors are used, specify reasons for the use of such libraries.