7 Commits

102 changed files with 1912 additions and 1536 deletions

View File

@@ -6,7 +6,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-allinone-archetype</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>maven-archetype</packaging>
<name>Order of the Bee Development Kit: Project Scaffolding for multi-module ACS projects</name>

View File

@@ -13,6 +13,11 @@ function start_ {
mvn -Drad process-classes
}
function start_log {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad "-Ddocker.showLogs" process-classes
}
function stop_ {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -41,6 +46,9 @@ switch ($args[0]) {
"start" {
start_
}
"start_log" {
start_log
}
"stop" {
stop_
}
@@ -58,7 +66,7 @@ switch ($args[0]) {
list
}
default {
echo "Usage: .\rad.ps1 [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: .\rad.ps1 [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
}
}

View File

@@ -1,7 +1,7 @@
#!/bin/sh
discoverArtifactId() {
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
}
rebuild() {
@@ -14,6 +14,11 @@ start() {
mvn -Drad process-classes
}
start_log() {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad -Ddocker.showLogs process-classes
}
stop() {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -38,6 +43,9 @@ case "$1" in
start)
start
;;
start_log)
start_log
;;
stop)
stop
;;
@@ -55,7 +63,7 @@ case "$1" in
list
;;
*)
echo "Usage: ./rad.sh [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: ./rad.sh [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
exit 1
esac

View File

@@ -0,0 +1,8 @@
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:cm="http://www.alfresco.org/model/content/1.0"
xmlns:bfs="http://fiscal.treasury.gov/alfresco/model/common/1.0">
<cm:folder>
<cm:name>Example Folder</cm:name>
</cm:folder>
</view:view>

View File

@@ -9,7 +9,7 @@
<!-- Enable Spring annotation scanning for classes in package -->
<context:component-scan base-package="${package}">
<context:include-filter type="annotation" expression="${package}.annotation.ModuleEarlyComponent" />
<context:include-filter type="annotation" expression="${package}.spring.ModuleEarlyComponent" />
</context:component-scan>
<!-- Example Data Model loading -->

View File

@@ -9,8 +9,8 @@
<!-- Enable Spring annotation scanning for classes in package -->
<context:component-scan base-package="${package}">
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleEarlyComponent" />
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleLateComponent" />
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleEarlyComponent" />
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleLateComponent" />
</context:component-scan>
<bean id="${project.groupId}.${project.artifactId}.jsroot.example" class="${package}.ExampleJavaScriptRootObject" parent="baseJavaScriptExtension">
@@ -19,4 +19,25 @@
<bean id="${project.groupId}.${project.artifactId}.action.example" class="${package}.ExampleActionExecuter" parent="action-executer" />
<bean id="${project.groupId}.${project.artifactId}.dataBootstrap_v1.0"
class="org.alfresco.repo.module.ImporterModuleComponent" parent="module.baseComponent"
depends-on="${project.groupId}.${project.artifactId}.dictionaryBootstrap">
<property name="moduleId" value="${project.artifactId}" />
<property name="name" value="${project.name} Data" />
<property name="description" value="Initial data load for ${project.name}" />
<property name="sinceVersion" value="0.1" />
<property name="appliesFromVersion" value="0.1" />
<property name="importer" ref="spacesBootstrap" />
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/${spaces.company_home.childname}</prop>
<prop key="location">alfresco/module/${project.groupId}.${project.artifactId}/dataset/example_v1.xml</prop>
</props>
</list>
</property>
</bean>
</beans>

View File

@@ -10,7 +10,7 @@
<!-- Enable Spring annotation scanning for classes in package -->
<context:component-scan base-package="${package}">
<context:include-filter type="annotation" expression="${package}.annotation.ModuleLateComponent" />
<context:include-filter type="annotation" expression="${package}.spring.ModuleLateComponent" />
</context:component-scan>
</beans>

View File

@@ -13,6 +13,11 @@ function start_ {
mvn -Drad process-classes
}
function start_log {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad "-Ddocker.showLogs" process-classes
}
function stop_ {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -41,6 +46,9 @@ switch ($args[0]) {
"start" {
start_
}
"start_log" {
start_log
}
"stop" {
stop_
}
@@ -58,7 +66,7 @@ switch ($args[0]) {
list
}
default {
echo "Usage: .\rad.ps1 [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: .\rad.ps1 [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
}
}

View File

@@ -1,7 +1,7 @@
#!/bin/sh
discoverArtifactId() {
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
}
rebuild() {
@@ -14,6 +14,11 @@ start() {
mvn -Drad process-classes
}
start_log() {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad -Ddocker.showLogs process-classes
}
stop() {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -38,6 +43,9 @@ case "$1" in
start)
start
;;
start_log)
start_log
;;
stop)
stop
;;
@@ -55,7 +63,7 @@ case "$1" in
list
;;
*)
echo "Usage: ./rad.sh [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: ./rad.sh [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
exit 1
esac

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-lts-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ACS Local Transform Service</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-lts-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ACS Local Transform Service</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-module-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Module Core</name>

View File

@@ -110,7 +110,7 @@
</nonFilteredFileExtensions>
</configuration>
<executions>
<!-- This plugin execution consolidates the compiled/generated/filtered resources into one directory for packaging -->
<!-- This plugin execution consolidates the generated/filtered resources into one directory for compiling -->
<execution>
<id>consolidate-resources</id>
<phase>process-resources</phase>
@@ -121,6 +121,9 @@
<resource>
<directory>${project.build.outputDirectory}</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.class</exclude>
</excludes>
</resource>
<resource>
<directory>${project.build.directory}/module-classes</directory>
@@ -133,6 +136,24 @@
</resources>
</configuration>
</execution>
<!-- This plugin execution consolidates the compiled resources into one directory for packaging -->
<execution>
<id>consolidate-classes</id>
<phase>process-classes</phase>
<goals><goal>copy-resources</goal></goals>
<configuration>
<outputDirectory>${project.build.packageDirectory}</outputDirectory>
<resources>
<resource>
<directory>${project.build.outputDirectory}</directory>
<filtering>false</filtering>
<includes>
<include>**/*.class</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<!-- This plugin minifies (compresses) JavaScript files -->

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Artifact</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Artifact</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform Core</name>

View File

@@ -62,7 +62,7 @@
-Dtransform.service.enabled=${beedk.deploy.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
-Dlocal.transform.service.enabled=${beedk.deploy.alts.enabled} \
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 -DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
-Djodconverter.enabled=false \
-Djodconverter.enabled=false -Dsystem.workflow.engine.activiti.enabled=true \
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
-Dindex.subsystem.name=${beedk.deploy.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
${acs-platform.tomcat.opts}</CATALINA_OPTS>

View File

@@ -6,7 +6,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-module-archetype</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>maven-archetype</packaging>
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>

View File

@@ -13,6 +13,11 @@ function start_ {
mvn -Drad process-classes
}
function start_log {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad "-Ddocker.showLogs" process-classes
}
function stop_ {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -41,6 +46,9 @@ switch ($args[0]) {
"start" {
start_
}
"start_log" {
start_log
}
"stop" {
stop_
}
@@ -58,7 +66,7 @@ switch ($args[0]) {
list
}
default {
echo "Usage: .\rad.ps1 [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: .\rad.ps1 [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
}
}

View File

@@ -1,7 +1,7 @@
#!/bin/sh
discoverArtifactId() {
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
}
rebuild() {
@@ -14,6 +14,11 @@ start() {
mvn -Drad process-classes
}
start_log() {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad -Ddocker.showLogs process-classes
}
stop() {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -38,6 +43,9 @@ case "$1" in
start)
start
;;
start_log)
start_log
;;
stop)
stop
;;
@@ -55,7 +63,7 @@ case "$1" in
list
;;
*)
echo "Usage: ./rad.sh [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: ./rad.sh [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
exit 1
esac

View File

@@ -1,4 +1,4 @@
package ${package}.annotation;
package ${package}.spring;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View File

@@ -1,4 +1,4 @@
package ${package}.annotation;
package ${package}.spring;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View File

@@ -0,0 +1,8 @@
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:cm="http://www.alfresco.org/model/content/1.0"
xmlns:bfs="http://fiscal.treasury.gov/alfresco/model/common/1.0">
<cm:folder>
<cm:name>Example Folder</cm:name>
</cm:folder>
</view:view>

View File

@@ -9,7 +9,7 @@
<!-- Enable Spring annotation scanning for classes in package -->
<context:component-scan base-package="${package}">
<context:include-filter type="annotation" expression="${package}.annotation.ModuleEarlyComponent" />
<context:include-filter type="annotation" expression="${package}.spring.ModuleEarlyComponent" />
</context:component-scan>
<!-- Example Data Model loading -->

View File

@@ -9,8 +9,8 @@
<!-- Enable Spring annotation scanning for classes in package -->
<context:component-scan base-package="${package}">
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleEarlyComponent" />
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleLateComponent" />
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleEarlyComponent" />
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleLateComponent" />
</context:component-scan>
<bean id="${project.groupId}.${project.artifactId}.jsroot.example" class="${package}.ExampleJavaScriptRootObject" parent="baseJavaScriptExtension">
@@ -19,4 +19,25 @@
<bean id="${project.groupId}.${project.artifactId}.action.example" class="${package}.ExampleActionExecuter" parent="action-executer" />
<bean id="${project.groupId}.${project.artifactId}.dataBootstrap_v1.0"
class="org.alfresco.repo.module.ImporterModuleComponent" parent="module.baseComponent"
depends-on="${project.groupId}.${project.artifactId}.dictionaryBootstrap">
<property name="moduleId" value="${project.artifactId}" />
<property name="name" value="${project.name} Data" />
<property name="description" value="Initial data load for ${project.name}" />
<property name="sinceVersion" value="0.1" />
<property name="appliesFromVersion" value="0.1" />
<property name="importer" ref="spacesBootstrap" />
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/${spaces.company_home.childname}</prop>
<prop key="location">alfresco/module/${project.groupId}.${project.artifactId}/dataset/example_v1.xml</prop>
</props>
</list>
</property>
</bean>
</beans>

View File

@@ -10,7 +10,7 @@
<!-- Enable Spring annotation scanning for classes in package -->
<context:component-scan base-package="${package}">
<context:include-filter type="annotation" expression="${package}.annotation.ModuleLateComponent" />
<context:include-filter type="annotation" expression="${package}.spring.ModuleLateComponent" />
</context:component-scan>
</beans>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-module-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Platform Module</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ACS Platform Core</name>

View File

@@ -108,7 +108,7 @@
-Dtransform.service.enabled=${beedk.rad.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
-Dlocal.transform.service.enabled=${beedk.rad.alts.enabled} \
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 -DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
-Djodconverter.enabled=false \
-Djodconverter.enabled=false -Dsystem.workflow.engine.activiti.enabled=true \
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
-Dindex.subsystem.name=${beedk.rad.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
${acs-platform.tomcat.opts}</CATALINA_OPTS>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Sibling Project</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Sibling Project</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-webapp-docker-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Platform Web Application Docker Enablement</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-platform-webapp-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Platform Web Application</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-search-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for Alfresco Search Services</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-search-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for Alfresco Search Services</name>

View File

@@ -6,7 +6,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-share-module-archetype</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>maven-archetype</packaging>
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Share Module</name>

View File

@@ -13,6 +13,11 @@ function start_ {
mvn -Drad process-classes
}
function start_log {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad "-Ddocker.showLogs" process-classes
}
function stop_ {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -41,6 +46,9 @@ switch ($args[0]) {
"start" {
start_
}
"start_log" {
start_log
}
"stop" {
stop_
}
@@ -58,7 +66,7 @@ switch ($args[0]) {
list
}
default {
echo "Usage: .\rad.ps1 [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: .\rad.ps1 [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
}
}

View File

@@ -1,7 +1,7 @@
#!/bin/sh
discoverArtifactId() {
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
}
rebuild() {
@@ -14,6 +14,11 @@ start() {
mvn -Drad process-classes
}
start_log() {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad -Ddocker.showLogs process-classes
}
stop() {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
@@ -38,6 +43,9 @@ case "$1" in
start)
start
;;
start_log)
start_log
;;
stop)
stop
;;
@@ -55,7 +63,7 @@ case "$1" in
list
;;
*)
echo "Usage: ./rad.sh [ start | stop | restart | rebuild | tail {container} | containers ]"
echo "Usage: ./rad.sh [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
exit 1
esac

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-share-module-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Share Module</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-share-self-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ACS Share</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-share-self-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ACS Share</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-share-webapp-docker-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Share Web Application Docker Enablement</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-share-webapp-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Share Web Application</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-webapp-artifact-build-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact Builder for Deployment</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-webapp-artifact-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for Testing</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-webapp-artifact-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for RAD</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-webapp-artifact-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Alfreco Web Application Artifact Downloader</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-acs-webapp-docker-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ACS Web Application Docker Enablement</name>

View File

@@ -0,0 +1,9 @@
# Maven
/target
pom.xml.versionsBackup
# Eclipse
.settings
.project
.classpath

View File

@@ -0,0 +1,52 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-activiti-ext-archetype</artifactId>
<version>1.0.2</version>
<packaging>maven-archetype</packaging>
<name>Order of the Bee Development Kit: Project Scaffolding for an Activiti Extension</name>
<scm>
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
</scm>
<organization>
<name>Order of the Bee</name>
<url>https://orderofthebee.net</url>
</organization>
<developers>
<developer>
<name>Brian Long</name>
<email>brian@inteligr8.com</email>
<organization>Inteligr8</organization>
<organizationUrl>https://www.inteligr8.com</organizationUrl>
<url>https://twitter.com/brianmlong</url>
</developer>
</developers>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>3.1.1</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.20</version>
<extensions>true</extensions>
<configuration>
<tiles>
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
</tiles>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,48 @@
<archetype-descriptor name="${project.artifactId}"
xmlns="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0 https://maven.apache.org/xsd/archetype-descriptor-1.1.0.xsd">
<requiredProperties>
<requiredProperty key="shortname">
<validationRegex>[A-Za-z0-9]+</validationRegex>
</requiredProperty>
<requiredProperty key="dockerRegistryHost">
<defaultValue>quay.io</defaultValue>
</requiredProperty>
<requiredProperty key="dockerImagePrefix">
<defaultValue>local</defaultValue>
</requiredProperty>
<requiredProperty key="beedkVersion">
<defaultValue>[1.0.0,2.0.0)</defaultValue>
</requiredProperty>
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="true">
<directory>src/test/java</directory>
<includes>
<include>*.java</include>
</includes>
</fileSet>
<fileSet filtered="true">
<directory>src</directory>
<excludes>
<exclude>main/java/*.java</exclude>
<exclude>test/java/*.java</exclude>
</excludes>
</fileSet>
<fileSet filtered="false">
<directory></directory>
<includes>
<include>.gitignore</include>
<include>rad.*</include>
<include>*.md</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>

View File

@@ -0,0 +1,8 @@
# Maven
/target
pom.xml.versionsBackup
# Eclipse
.settings
.project
.classpath

View File

@@ -0,0 +1,43 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<packaging>jar</packaging>
<name>${shortname} Activiti Extension</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<activiti.version>5.23.0</activiti.version>
<spring.version>4.3.20.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
<version>${activiti.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>alfresco-public</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>
</repositories>
</project>

View File

@@ -0,0 +1,31 @@
package ${package};
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* This class is an example of how you can implement an Activiti Execution Listener.
* You can reference it in your BPMN with:
* <activiti:executionListener delegateExpression="${exampleExecutionListener}" event="start" />
* <activiti:executionListener expression="${exampleExecutionListener.exampleMethod('example parameter')}" event="end" />
*/
@Component("exampleExecutionListener")
public class ExampleExecutionListener implements ExecutionListener {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
public void notify(DelegateExecution execution) throws Exception {
if (this.logger.isTraceEnabled())
this.logger.trace("execute('" + execution.getId() + "')");
// TODO do some stuff
}
public void exampleMethod(String param) throws Exception {
// another example
}
}

View File

@@ -0,0 +1,31 @@
package ${package};
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* This class is an example of how you can implement an Activiti Service Task.
* You can reference it in your BPMN with:
* <serviceTask id="serviceTask" activiti:delegateExpression="${exampleServiceTask}" />
* <serviceTask id="serviceTask" activiti:expression="${exampleServiceTask.exampleMethod('example parameter')}" />
*/
@Component("exampleServiceTask")
public class ExampleServiceTask implements JavaDelegate {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
public void execute(DelegateExecution execution) throws Exception {
if (this.logger.isTraceEnabled())
this.logger.trace("execute('" + execution.getId() + "')");
// TODO do some stuff
}
public void exampleMethod(String param) throws Exception {
// another example
}
}

View File

@@ -0,0 +1,10 @@
package com.activiti.extension.conf;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan(basePackages = {"${package}"})
public class ${shortname}SpringComponentScanner {
}

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-amp-check-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: AMP Checker</name>

View File

@@ -6,7 +6,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-archetype</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>maven-archetype</packaging>
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-docker-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ATE Docker Enablement</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ATE</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-self-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ATE</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-sibling-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ATE by a Maven Sibling Project</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-springboot-test</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>pom</packaging>
<name>Order of the Bee Development Kit: ATE Spring Boot Test</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-springboot-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: ATE Spring Boot</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-springboot</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>pom</packaging>
<name>Order of the Bee Development Kit: ATE Spring Boot</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ats-it-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Integration Testing for ATS</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ats-rad-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: RAD for ATS</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-run-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Testing Core</name>

View File

@@ -6,7 +6,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-springboot-api-archetype</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>maven-archetype</packaging>
<name>Order of the Bee Development Kit: Project Scaffolding for a Spring Boot application using ACS/API remote APIs</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-springboot-docker-base-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Spring Boot Docker Enablement Base</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-springboot-docker-tile</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>tile</packaging>
<name>Order of the Bee Development Kit: Spring Boot Docker Enablement</name>

View File

@@ -7,7 +7,7 @@
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>pom</packaging>
<name>Order of the Bee Development Kit</name>
@@ -83,6 +83,7 @@
<module>beedk-ate-archetype</module>
<module>beedk-acs-allinone-archetype</module>
<module>beedk-springboot-api-archetype</module>
<module>beedk-activiti-ext-archetype</module>
</modules>
<build>