/activeobjects-test-plugin/src/main/resources/atlassian-plugin.xml
XML | 31 lines | 26 code | 5 blank | 0 comment | 0 complexity | edb5a3bd023d7132fb26a5747a2ea85f MD5 | raw file
Possible License(s): Apache-2.0
1<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
2 <plugin-info>
3 <description>${project.description}</description>
4 <version>${project.version}</version>
5 <vendor name="${project.organization.name}" url="${project.organization.url}"/>
6 </plugin-info>
7
8 <ao key="ao-module">
9 <description>The module configuring the Active Objects service used by this plugin</description>
10 <entity>com.atlassian.activeobjects.test.model.Book</entity>
11 <entity>com.atlassian.activeobjects.test.model.Author</entity>
12 <entity>com.atlassian.activeobjects.test.model.Authorship</entity>
13 </ao>
14
15 <component-import key="ao" name="Active Objects components"
16 interface="com.atlassian.activeobjects.external.ActiveObjects">
17 <description>Component to access Active Objects functionality from the plugin</description>
18 </component-import>
19
20 <component key="tx-processor" name="Transactional Annotation Processor"
21 class="com.atlassian.activeobjects.external.TransactionalAnnotationProcessor">
22 <decription>Processes @Transactional annotations.</decription>
23 </component>
24
25 <component-import key="backup" name="Active Objects backup" interface="com.atlassian.activeobjects.spi.Backup"/>
26
27 <servlet name="Backup" class="com.atlassian.activeobjects.testplugin.BackupTestServlet" key="backup-test-servlet">
28 <description>Backups the data in the database when GETing, restores when POSTing, empties when DELETEing</description>
29 <url-pattern>/ao-test</url-pattern>
30 </servlet>
31</atlassian-plugin>