Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
1a7c70792c | |||
3828e24d8b | |||
e4611ffd07 | |||
474b5e5909 | |||
dea15ab95d | |||
d13678e9e0 | |||
155ef084e9 | |||
0adf7812b4 | |||
c135bc7274 | |||
ac67f46408 | |||
875a580854 | |||
5474eef9f5 | |||
61b7e6d728 | |||
ad92fb5a21 | |||
a68baeae70 | |||
417c419900 | |||
d80c6b9400 | |||
df89b65373 | |||
45b72fd703 | |||
33b38f47cc | |||
9815726895 | |||
669f1e6970 | |||
af196113e2 | |||
52d8f70130 | |||
da7d9e3c5e | |||
8d2be7ad2b | |||
a7d1509c24 | |||
27861a933d | |||
7a6267132e | |||
3756c96cff |
72
README.md
72
README.md
@@ -73,50 +73,61 @@ The following components are useful to users of the BeeDK.
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile) | Intended to be inherited by all Alfresco Platform module projects; Includes ampification, integration testing framework, and more. |
|
||||
| `beedk-acs-share-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile) | Intended to be inherited by all Alfresco Share module projects; Includes ampification, JS compression, integration testing framework, and more. |
|
||||
| `beedk-acs-platform-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile) | Intended to be inherited by all Alfresco Platform web application projects; Includes installing AMPs, integration testing framework, and more. |
|
||||
| `beedk-acs-share-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile) | Intended to be inherited by all Alfresco Share web application projects; Includes installing AMPs, integration testing framework, and more. |
|
||||
| `beedk-acs-platform-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile) | Intended to be inherited by all Alfresco Platform module projects; Includes ampification and more. |
|
||||
| `beedk-acs-share-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile) | Intended to be inherited by all Alfresco Share module projects; Includes ampification, JS compression, and more. |
|
||||
| `beedk-acs-platform-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile) | Intended to be inherited by all Alfresco Platform web application projects; Includes installing AMPs, and more. |
|
||||
| `beedk-acs-share-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile) | Intended to be inherited by all Alfresco Share web application projects; Includes installing AMPs, and more. |
|
||||
| `beedk-ate-springboot` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes dependencies. |
|
||||
| `beedk-ate-springboot-test` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot-test) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes dependencies. |
|
||||
| `beedk-ate-springboot-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot-tile) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes Spring Boot repackaging and more. |
|
||||
| `beedk-aps-ext-tile` | *Coming Soon* | Intended to be inherited by all Alfresco Process Service extension projects; Includes integration testing framework and more. |
|
||||
| `beedk-flowable-ext-tile` | *Coming Soon* | Intended to be inherited by all Flowable extension projects; Includes integration testing framework and more. |
|
||||
| `beedk-camunda-ext-tile` | *Coming Soon* | Intended to be inherited by all Camunda extension projects; Includes integration testing framework and more. |
|
||||
| `beedk-activiti-ext-tile` | *Coming Soon* | Intended to be inherited by all Alfresco Process Services or Activiti extension projects. |
|
||||
| `beedk-flowable-ext-tile` | *Coming Soon* | Intended to be inherited by all Flowable extension projects. |
|
||||
| `beedk-camunda-ext-tile` | *Coming Soon* | Intended to be inherited by all Camunda extension projects. |
|
||||
|
||||
#### ACS Platform Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-platform-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
||||
| `beedk-acs-platform-sibling-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-it-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project. It enables integration testing with the sibling ACS Platform. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, and APS extensions in **all-in-one** style Maven projects. |
|
||||
| `beedk-acs-platform-artifact-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-it-tile) | Intended to be inherited by any Maven project that does not have a sibling Alfresco Platform module or web application Maven project. It enables integration testing with any ACS Platform as an already built Maven Artifact. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, APS extensions, and non-Alfresco applications in **standalone** projects. |
|
||||
| `beedk-acs-search-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality for integration testing purposes. |
|
||||
| `beedk-acs-lts-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality for integration testing purposes. |
|
||||
| `beedk-ats-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality for integration testing purposes. |
|
||||
| `beedk-ate-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality for integration testing purposes. |
|
||||
| `beedk-acs-platform-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile) | Intended to be inherited by any ACS Platform module or web application Maven project. It enables integration testing with the ACS Platform. |
|
||||
| `beedk-acs-platform-sibling-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-it-tile) | Intended to be inherited by any Maven project that has a sibling ACS Platform module or web application Maven project. It enables integration testing with the sibling ACS Platform. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, and APS extensions in **all-in-one** style Maven projects. |
|
||||
| `beedk-acs-platform-artifact-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-it-tile) | Intended to be inherited by any Maven project that does not have a sibling ACS Platform module or web application Maven project. It enables integration testing with any ACS Platform as an already built Maven Artifact. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, APS extensions, and non-Alfresco applications in **standalone** projects. |
|
||||
| `beedk-acs-search-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality for integration testing purposes. |
|
||||
| `beedk-acs-lts-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality for integration testing purposes. |
|
||||
| `beedk-ats-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality for integration testing purposes. |
|
||||
| `beedk-ate-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality for integration testing purposes. |
|
||||
|
||||
#### ACS Share Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-share-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-share-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
||||
| `beedk-acs-share-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile) | Intended to be inherited by any ACS Share module or web application Maven project. It enables integration testing with ACS Share. |
|
||||
|
||||
#### ACS Share Accessories
|
||||
#### Alfresco Transform Engine Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-ate-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-ate-app-tile` tile and wants to deliver a Docker image. |
|
||||
| `beedk-ate-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-docker-tile) | Intended to be inherited by any project that already includes a `beedk-ate-springboot-tile` tile and wants to deliver a Docker image. |
|
||||
|
||||
#### Other Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-springboot-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-springboot-docker-tile) | Intended to be inherited by any Spring Boot project that wants to deliver a Docker image. |
|
||||
|
||||
#### Rapid Application Development
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| -------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-acs-platform-sibling-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-rad-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project; Includes simple startup to assist with development. |
|
||||
| `beedk-acs-platform-artifact-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile) | Intended to be inherited by any Maven project that wants to use the Alfresco Platform web application; Includes simple startup to assist with development. |
|
||||
| `beedk-acs-platform-sibling-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-rad-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project; provides ACS Platform capability to other RAD components. |
|
||||
| `beedk-acs-platform-artifact-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile) | Intended to be inherited by any Maven project that wants to use the Alfresco Platform web application; provides ACS Platform capability to other RAD components. |
|
||||
| `beedk-acs-share-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-ate-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-rad-tile) | Intended to be inherited by any Alfresco Transform Engine projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-acs-search-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality. |
|
||||
| `beedk-acs-lts-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality. |
|
||||
| `beedk-ats-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality. |
|
||||
| `beedk-ate-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality. |
|
||||
|
||||
### Rapid Application Development
|
||||
|
||||
@@ -126,7 +137,7 @@ If your project includes RAD tiles, you can start the application with the follo
|
||||
mvn -Drad process-classes
|
||||
```
|
||||
|
||||
To stop RAD and remove the Docker containers, you will need to do it through Docker commands. This will differ between operating systems.
|
||||
To stop RAD and remove the Docker containers, you will need to do it through Docker commands. This will differ between operating systems. The Maven Archetypes provides scripts to assist with these operations called `rad.sh` or `rad.ps1`.
|
||||
|
||||
#### SH or BASH Shells
|
||||
|
||||
@@ -145,17 +156,15 @@ docker container ls -aq --filter={artifactId}-* | % { docker container rm $_ }
|
||||
### Archetypes
|
||||
|
||||
| Archetype | Folder Link | Details |
|
||||
| --------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-module` | *Coming Soon* | Generates a standalone ACS Platform module project. |
|
||||
| `beedk-acs-platform-webapp` | *Coming Soon* | Generates a standalone ACS Platform webapp project. |
|
||||
| `beedk-acs-share-module` | *Coming Soon* | Generates a standalone ACS Share module project. |
|
||||
| `beedk-acs-share-webapp` | *Coming Soon* | Generates a standalone ACS Share webapp project. |
|
||||
| `beedk-acs-aio` | *Coming Soon* | Generates a parent, ACS Platform webapp, ACS Share webapp, 2 sample ACS Platform module, and 2 sample ACS Share module projects. |
|
||||
| `beedk-ate-app` | *Coming Soon* | Generates a standalone Alfresco Transform Engine project. |
|
||||
| `beedk-ate-aio` | *Coming Soon* | Generates a parent, ATE app, ACS Platform webapp, ACS Share webapp, and a sample ACS Platform module projects. The ACS Platform module will include sample ATE configuration. |
|
||||
| `beedk-activiti-ext` | *Coming Soon* | Generates a standalone APS/Activiti extension project. |
|
||||
| `beedk-flowable-ext` | *Coming Soon* | Generates a standalone [Flowable](https://flowable.com) extension project. Flowable is a fork of Activiti 6. |
|
||||
| `beedk-camunda-ext` | *Coming Soon* | Generates a standalone [Camunda](https://camunda.com) extension project. Camunda is a fork of Activiti 5. |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-archetype) | Generates a standalone ACS Platform module project. |
|
||||
| `beedk-acs-share-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-archetype) | Generates a standalone ACS Share module project. |
|
||||
| `beedk-acs-allinone-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-allinone-archetype) | Generates a parent, ACS Platform webapp, ACS Share webapp, example ACS Platform module, example ACS Share module, and example ATE projects. |
|
||||
| `beedk-ate-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-archetype) | Generates a standalone Alfresco Transform Engine project. |
|
||||
| `beedk-activiti-ext-archetype` | *Coming Soon* | Generates a standalone APS/Activiti extension project. |
|
||||
| `beedk-flowable-ext-archetype` | *Coming Soon* | Generates a standalone [Flowable](https://flowable.com) extension project. Flowable is a fork of Activiti 6. |
|
||||
| `beedk-camunda-ext-archetype` | *Coming Soon* | Generates a standalone [Camunda](https://camunda.com) extension project. Camunda is a fork of Activiti 5. |
|
||||
| `beedk-springboot-api-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-springboot-api-archetype) | Generates a standalone Spring Boot application ready to interface with the ACS APIs (*APS Coming Soon*). |
|
||||
|
||||
You can use one of these Maven Archetypes to generate a new project by executing the following at the command line.
|
||||
|
||||
@@ -185,6 +194,7 @@ The plan is to implement the following engines (and more).
|
||||
| `scaffold-behavior` | `name`, `event` (`onUpdateProperties`, ...) | Generates skeleton code for the configuration and implementation of an Alfresco Policy Behavior; an event listener entrypoint. |
|
||||
| `scaffold-job` | `name`, `schedule` | Generates skeleton code for the configuration and implementation of a Quartz Job; a scheduled periodic execution entrypoint. |
|
||||
| `scaffold-action` | `name` | Generates skeleton code for the configuration and implementation of an Alfresco Action; a function that may be executed through API calls or ACS Share hooks. |
|
||||
| `scaffold-jsroot` | `name` | Generates skeleton code for the configuration and implementation of a JavaScript root object; a root scoped object accessible through JavaScript scripts. |
|
||||
| `scaffold-rendition` | `name` | Generates skeleton code for the configuration of an Alfresco rendition. |
|
||||
| `scaffold-evaluator` | `name`, `type` (**`component`**, `em`) | Generates skeleton code for the configuration and implementation of a Spring Surf (ACS Share) evaluator; a conditional filter on user interface components or extensibility modules. |
|
||||
| `scaffold-extmodule` | `name`, `style` (**`config`**, `webscript`) | Generates skeleton code for the configuration and implementation of a Spring Surf extensibility module. |
|
||||
@@ -234,7 +244,7 @@ git merge personal
|
||||
git push origin
|
||||
git checkout stable
|
||||
git merge develop
|
||||
mvn versions:set
|
||||
mvn versions:set -DprocessAllModules
|
||||
mvn clean deploy
|
||||
git add pom.xml
|
||||
git commit -m "vX.Y.Z poms"
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-allinone-archetype</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>maven-archetype</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Project Scaffolding for multi-module ACS projects</name>
|
||||
|
@@ -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 ]"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package ${package}.annotation;
|
||||
package ${package}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
@@ -1,4 +1,4 @@
|
||||
package ${package}.annotation;
|
||||
package ${package}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
@@ -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>
|
@@ -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 -->
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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 ]"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-lts-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Local Transform Service</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-lts-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Local Transform Service</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-module-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Module Core</name>
|
||||
|
@@ -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 -->
|
||||
@@ -182,7 +203,7 @@
|
||||
<plugin>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>amp-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-amp-file</id>
|
||||
@@ -196,6 +217,46 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin amends the default install and includes the built AMP. -->
|
||||
<plugin>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<executions>
|
||||
<!-- install the AMP -->
|
||||
<execution>
|
||||
<id>install-amp</id>
|
||||
<phase>${amp.install.phase}</phase>
|
||||
<goals><goal>install-file</goal></goals>
|
||||
<configuration>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<packaging>amp</packaging>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin amends the default deploy and includes the built AMP. -->
|
||||
<plugin>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<executions>
|
||||
<!-- deploy the AMP -->
|
||||
<execution>
|
||||
<id>deploy-amp</id>
|
||||
<phase>${amp.deploy.phase}</phase>
|
||||
<goals><goal>deploy-file</goal></goals>
|
||||
<configuration>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<packaging>amp</packaging>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Artifact</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Artifact</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform Core</name>
|
||||
|
@@ -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>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-module-archetype</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>maven-archetype</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>
|
||||
|
@@ -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 ]"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package ${package}.annotation;
|
||||
package ${package}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
@@ -1,4 +1,4 @@
|
||||
package ${package}.annotation;
|
||||
package ${package}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
@@ -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>
|
@@ -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 -->
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-module-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Platform Module</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform Core</name>
|
||||
|
@@ -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>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Sibling Project</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Sibling Project</name>
|
||||
|
9
beedk-acs-platform-webapp-docker-tile/.gitignore
vendored
Normal file
9
beedk-acs-platform-webapp-docker-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
17
beedk-acs-platform-webapp-docker-tile/Dockerfile
Normal file
17
beedk-acs-platform-webapp-docker-tile/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM alfresco/alfresco-content-repository-community:${alfresco.platfrom.version}
|
||||
|
||||
ARG USERNAME=alfresco
|
||||
ARG TOMCAT_DIR=/usr/local/tomcat
|
||||
|
||||
USER root
|
||||
|
||||
COPY catalina.policy /tmp/catalina.policy.ext
|
||||
COPY tomcat-platform-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/alfresco.xml
|
||||
|
||||
RUN mkdir -p ${TOMCAT_DIR}/modules/platform && \
|
||||
cat /tmp/catalina.policy.ext >> ${TOMCAT_DIR}/conf/catalina.policy
|
||||
|
||||
COPY war/${alfresco.war.artifactId}-${alfresco.war.version}.war ${TOMCAT_DIR}/webapps/alfresco.war
|
||||
COPY ext/platform/*.jar ${TOMCAT_DIR}/modules/platform/
|
||||
|
||||
USER ${USERNAME}
|
0
beedk-acs-platform-webapp-docker-tile/README.md
Normal file
0
beedk-acs-platform-webapp-docker-tile/README.md
Normal file
4
beedk-acs-platform-webapp-docker-tile/catalina.policy
Normal file
4
beedk-acs-platform-webapp-docker-tile/catalina.policy
Normal file
@@ -0,0 +1,4 @@
|
||||
grant codeBase "file:${catalina.base}/modules/-" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
48
beedk-acs-platform-webapp-docker-tile/pom.xml
Normal file
48
beedk-acs-platform-webapp-docker-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-webapp-docker-tile</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Platform Web Application Docker Enablement</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
68
beedk-acs-platform-webapp-docker-tile/tile.xml
Normal file
68
beedk-acs-platform-webapp-docker-tile/tile.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>scaffold-acs-platform-webapp-docker</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>scaffold</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- This plugin downloads the required configurations for all modules -->
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.6.1</version>
|
||||
<executions>
|
||||
<!-- TODO eventually replace these with the archetype versions -->
|
||||
<execution>
|
||||
<id>download-dockerfile</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/Dockerfile</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>download-policy</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/catalina.policy</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>download-context</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/tomcat-platform-context.xml</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-docker-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-webapp-docker-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
</project>
|
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Context>
|
||||
<Resources>
|
||||
<PreResources base="${catalina.base}/modules/platform" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
|
||||
</Resources>
|
||||
</Context>
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-webapp-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Platform Web Application</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-search-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for Alfresco Search Services</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-search-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for Alfresco Search Services</name>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-share-module-archetype</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>maven-archetype</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Share Module</name>
|
||||
|
@@ -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 ]"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-share-module-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Share Module</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-share-self-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Share</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-share-self-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Share</name>
|
||||
|
9
beedk-acs-share-webapp-docker-tile/.gitignore
vendored
Normal file
9
beedk-acs-share-webapp-docker-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
17
beedk-acs-share-webapp-docker-tile/Dockerfile
Normal file
17
beedk-acs-share-webapp-docker-tile/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM alfresco/alfresco-share:${alfresco.share.version}
|
||||
|
||||
ARG USERNAME=alfresco
|
||||
ARG TOMCAT_DIR=/usr/local/tomcat
|
||||
|
||||
USER root
|
||||
|
||||
COPY catalina.policy /tmp/catalina.policy.ext
|
||||
COPY tomcat-share-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/share.xml
|
||||
|
||||
RUN mkdir -p ${TOMCAT_DIR}/modules/share && \
|
||||
cat /tmp/catalina.policy.ext >> ${TOMCAT_DIR}/conf/catalina.policy
|
||||
|
||||
COPY war/${alfresco.war.artifactId}-${alfresco.war.version}.war ${TOMCAT_DIR}/webapps/share.war
|
||||
COPY ext/share/*.jar ${TOMCAT_DIR}/modules/share/
|
||||
|
||||
USER ${USERNAME}
|
0
beedk-acs-share-webapp-docker-tile/README.md
Normal file
0
beedk-acs-share-webapp-docker-tile/README.md
Normal file
4
beedk-acs-share-webapp-docker-tile/catalina.policy
Normal file
4
beedk-acs-share-webapp-docker-tile/catalina.policy
Normal file
@@ -0,0 +1,4 @@
|
||||
grant codeBase "file:${catalina.base}/modules/-" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
48
beedk-acs-share-webapp-docker-tile/pom.xml
Normal file
48
beedk-acs-share-webapp-docker-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-share-webapp-docker-tile</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Share Web Application Docker Enablement</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
68
beedk-acs-share-webapp-docker-tile/tile.xml
Normal file
68
beedk-acs-share-webapp-docker-tile/tile.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>scaffold-acs-share-webapp-docker</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>scaffold</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- This plugin downloads the required configurations for all modules -->
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.6.1</version>
|
||||
<executions>
|
||||
<!-- TODO eventually replace these with the archetype versions -->
|
||||
<execution>
|
||||
<id>download-dockerfile</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-share-webapp-docker-tile/Dockerfile</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>download-policy</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-share-webapp-docker-tile/catalina.policy</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>download-context</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-share-webapp-docker-tile/tomcat-share-context.xml</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-docker-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-webapp-docker-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
</project>
|
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Context>
|
||||
<Resources>
|
||||
<PreResources base="${catalina.base}/modules/platform" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
|
||||
</Resources>
|
||||
</Context>
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-share-webapp-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Share Web Application</name>
|
||||
|
@@ -51,7 +51,7 @@
|
||||
<properties>
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.artifactId>share</alfresco.war.artifactId>
|
||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
||||
<alfresco.war.version>${alfresco.share.version}</alfresco.war.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-webapp-artifact-build-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact Builder for Deployment</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-webapp-artifact-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for Testing</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-webapp-artifact-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for RAD</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-webapp-artifact-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Alfreco Web Application Artifact Downloader</name>
|
||||
|
9
beedk-acs-webapp-docker-tile/.gitignore
vendored
Normal file
9
beedk-acs-webapp-docker-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
0
beedk-acs-webapp-docker-tile/README.md
Normal file
0
beedk-acs-webapp-docker-tile/README.md
Normal file
48
beedk-acs-webapp-docker-tile/pom.xml
Normal file
48
beedk-acs-webapp-docker-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-webapp-docker-tile</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Web Application Docker Enablement</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
107
beedk-acs-webapp-docker-tile/tile.xml
Normal file
107
beedk-acs-webapp-docker-tile/tile.xml
Normal file
@@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- This plugin copies the Dockerfile and resources to the base build directory -->
|
||||
<!-- Dockerfile ADD/COPY commands can only use files inside the build directory -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-and-filter-docker-resources</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>add-resource</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${docker.source.directory}</directory>
|
||||
<filtering>true</filtering>
|
||||
<targetPath>${project.build.directory}</targetPath>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
<id>download-jars</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals><goal>copy-dependencies</goal></goals>
|
||||
<configuration>
|
||||
<excludeScope>provided</excludeScope>
|
||||
<includeTypes>jar</includeTypes>
|
||||
<outputDirectory>${project.build.extDirectory}</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin configures the building and pushing of a Docker image -->
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
<artifactId>dockerfile-maven-plugin</artifactId>
|
||||
<version>1.4.13</version>
|
||||
<configuration>
|
||||
<contextDirectory>${project.build.directory}</contextDirectory>
|
||||
<repository>${docker.image.registry}/${docker.image.name}</repository>
|
||||
<tag>${docker.image.tag}</tag>
|
||||
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>docker-build</id>
|
||||
<phase>package</phase>
|
||||
<goals><goal>build</goal></goals>
|
||||
<configuration>
|
||||
<repository>${docker.image.name}</repository>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>docker-tag-registry</id>
|
||||
<phase>install</phase>
|
||||
<goals><goal>tag</goal></goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>docker-push</id>
|
||||
<phase>deploy</phase>
|
||||
<goals><goal>push</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default-props</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!some-prop-that-never-exists</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<project.build.extDirectory>${project.build.directory}/ext/platform</project.build.extDirectory>
|
||||
<docker.source.directory>${basedir}/src/main/docker</docker.source.directory>
|
||||
<docker.image.tag>${project.version}</docker.image.tag>
|
||||
|
||||
<!-- skip deployment of spring boot app -->
|
||||
<beedk.deploy.dockerImageOnly>true</beedk.deploy.dockerImageOnly>
|
||||
<maven.deploy.skip>${beedk.deploy.dockerImageOnly}</maven.deploy.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
9
beedk-activiti-ext-archetype/.gitignore
vendored
Normal file
9
beedk-activiti-ext-archetype/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Maven
|
||||
/target
|
||||
pom.xml.versionsBackup
|
||||
|
||||
# Eclipse
|
||||
.settings
|
||||
.project
|
||||
.classpath
|
||||
|
52
beedk-activiti-ext-archetype/pom.xml
Normal file
52
beedk-activiti-ext-archetype/pom.xml
Normal 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.6</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>
|
@@ -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>
|
8
beedk-activiti-ext-archetype/src/main/resources/archetype-resources/.gitignore
vendored
Normal file
8
beedk-activiti-ext-archetype/src/main/resources/archetype-resources/.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Maven
|
||||
/target
|
||||
pom.xml.versionsBackup
|
||||
|
||||
# Eclipse
|
||||
.settings
|
||||
.project
|
||||
.classpath
|
@@ -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>
|
@@ -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
|
||||
}
|
||||
|
||||
}
|
@@ -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
|
||||
}
|
||||
|
||||
}
|
@@ -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 {
|
||||
|
||||
}
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-amp-check-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: AMP Checker</name>
|
||||
|
@@ -56,7 +56,7 @@
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>regex-maven-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>string-2-boolean-1</id>
|
||||
@@ -112,6 +112,39 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>conditional-maven-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>amp-install-phase</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>boolean-property</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<booleanProperty>beedk.jar.notest.empty</booleanProperty>
|
||||
<trueValue>none</trueValue>
|
||||
<falseValue>install</falseValue>
|
||||
<newProperty>amp.install.phase</newProperty>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>amp-deploy-phase</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>boolean-property</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<booleanProperty>beedk.jar.notest.empty</booleanProperty>
|
||||
<trueValue>none</trueValue>
|
||||
<falseValue>deploy</falseValue>
|
||||
<newProperty>amp.deploy.phase</newProperty>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
9
beedk-aps-ext-rad-tile/.gitignore
vendored
Normal file
9
beedk-aps-ext-rad-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
84
beedk-aps-ext-rad-tile/README.md
Normal file
84
beedk-aps-ext-rad-tile/README.md
Normal file
@@ -0,0 +1,84 @@
|
||||
# BeeDK Abstract ACS Platform Maven Tile for RAD
|
||||
|
||||
This is a component within the proposed [BeeDK](/inteligr8/ootbee-beedk). It is considered to be part of the **Public API** of the BeeDK.
|
||||
|
||||
## Purpose
|
||||
|
||||
This project creates a [Maven Tile](https://github.com/repaint-io/maven-tiles) that provides the basis for rapid application development of any APS extension.
|
||||
|
||||
## Usage
|
||||
|
||||
To use this plugin, just reference it with the Maven Tiles plugin as shown in the following snippet. Do not forget the `extensions` element in the *plugin* configuration.
|
||||
|
||||
```xml
|
||||
<project ...>
|
||||
...
|
||||
<build>
|
||||
...
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>[2.0,3.0)</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-aps-ext-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-aps-ext-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
...
|
||||
</plugins>
|
||||
...
|
||||
</build>
|
||||
...
|
||||
</project>
|
||||
```
|
||||
|
||||
See the [BeeDK documentation](/inteligr8/ootbee-beedk) on instructions for how to start and stop RAD capabilities.
|
||||
|
||||
## Configuration
|
||||
|
||||
In your Maven project, set the following properties to define the behavior of this Maven Tile. Unless otherwise stated, they can only be overridden in the project POM or other Maven Tiles loaded earlier than this Maven Tile.
|
||||
|
||||
### Public API
|
||||
|
||||
The following properties are intended to be exposed by inheriting Public API Maven Tiles.
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| -------------------------- |:--------:| --------------- | ----------- |
|
||||
| `aps.war.groupId` | | `org.alfresco` | |
|
||||
| `aps.war.artifactId` | | `activiti-app` | |
|
||||
| `aps.war.version` | **Yes** | | |
|
||||
| `aps.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `aps-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `aps.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `aps.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
||||
| `aps.timeout` | | 120000 | The time to wait for the startup to complete, in milliseconds. |
|
||||
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
|
||||
| `aps-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |
|
||||
|
||||
### Private API
|
||||
|
||||
The following properties are only intended to be defined by BeeDK components.
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ------------------------------------ |:--------:| ------------------ | ----------- |
|
||||
| `beedk.deploy.aps.warFile` | **Yes** | | The WAR file to deploy in the Apache Tomcat instance. |
|
||||
| `beedk.deploy.aps.classesDirectory` | | | An additional classpath directory to sideload into the web application. |
|
||||
| `beedk.deploy.aps.testClassesDirectory` | | | An additional test classpath directory to sideload into the web application. |
|
||||
| `beedk.deploy.aps.extDirectory` | | | An additional directory of JARs to sideload into the web application. |
|
||||
| `beedk.deploy.aps.warDirectory` | | `${project.build.warDirectory}` | A build directory for WAR files. |
|
||||
| `beedk.deploy.aps.dataDirectory` | | `${project.build.directory}/alf_data` | The temporary binary storage location for ACS. |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
|
||||
## Results
|
||||
|
||||
The ACS Platform, database, and MQ components will be started during the `process-classes` Maven phase.
|
48
beedk-aps-ext-rad-tile/pom.xml
Normal file
48
beedk-aps-ext-rad-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-aps-ext-rad-tile</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for APS Extensions</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
171
beedk-aps-ext-rad-tile/tile.xml
Normal file
171
beedk-aps-ext-rad-tile/tile.xml
Normal file
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>rad-aps</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>rad</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- This plugin downloads the parameterized WAR -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the parameterized WAR -->
|
||||
<execution>
|
||||
<id>download-webapp</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals><goal>copy</goal></goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>${aps.war.groupId}</groupId>
|
||||
<artifactId>${aps.war.artifactId}</artifactId>
|
||||
<version>${aps.war.version}</version>
|
||||
<type>war</type>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
<outputDirectory>${project.build.warDirectory}</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Using Docker to host the web application -->
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>run-aps</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals><goal>start</goal></goals>
|
||||
<configuration>
|
||||
<images>
|
||||
<image>
|
||||
<name>postgres:${aps-postgres.version}</name>
|
||||
<alias>acs-db</alias>
|
||||
<run>
|
||||
<env>
|
||||
<POSTGRES_PASSWORD>activiti</POSTGRES_PASSWORD>
|
||||
<POSTGRES_USER>activiti</POSTGRES_USER>
|
||||
<POSTGRES_DB>activiti</POSTGRES_DB>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${aps-postgres.port}:5432</port>
|
||||
</ports>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
</run>
|
||||
</image>
|
||||
<image>
|
||||
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||
<alias>aps</alias>
|
||||
<run>
|
||||
<env>
|
||||
<JAVA_MEMORY_MAX>${aps.memory}</JAVA_MEMORY_MAX>
|
||||
<CATALINA_OPTS>-Ddir.root=/tmp/alf_data -Ddb.driver=org.postgresql.Driver -Ddb.url=jdbc:postgresql://${project.artifactId}-acs-db:5432/alfresco \
|
||||
-Dmessaging.broker.url=failover:\(tcp://${project.artifactId}-acs-mq:61616\)?timeout\=3000\&jms.useCompression\=true \
|
||||
-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 -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 \
|
||||
${aps.tomcat.opts}</CATALINA_OPTS>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${aps.port}:8080</port>
|
||||
<port>${aps.debugger.port}:8000</port>
|
||||
</ports>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
<volumes>
|
||||
<bind>
|
||||
<volume>${beedk.deploy.aps.warFile}:/var/lib/tomcat/webapps/activiti-app.war:ro</volume>
|
||||
<volume>${beedk.deploy.aps.classesDirectory}:/var/lib/tomcat/dev/classes:ro</volume>
|
||||
<volume>${beedk.deploy.aps.testClassesDirectory}:/var/lib/tomcat/dev/classes-extra1:ro</volume>
|
||||
<volume>${beedk.deploy.aps.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
||||
</bind>
|
||||
</volumes><!--
|
||||
<wait>
|
||||
<http>
|
||||
<url>http://localhost:${aps.port}/activiti-app/service/api/server</url>
|
||||
<method>GET</method>
|
||||
<status>200..399</status>
|
||||
</http>
|
||||
<time>${aps.timeout}</time>
|
||||
</wait>-->
|
||||
</run>
|
||||
</image>
|
||||
</images>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- allow downstream tiles to default this before this tile does -->
|
||||
<profile>
|
||||
<id>tomcat-opts-unspecified</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!aps.tomcat.opts</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<aps.tomcat.opts></aps.tomcat.opts>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>default-props</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!some-prop-that-never-exists</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<aps.war.groupId>org.alfresco</aps.war.groupId>
|
||||
<aps.war.artifactId>activiti-app</aps.war.artifactId>
|
||||
<project.build.warDirectory>${project.build.directory}/war</project.build.warDirectory>
|
||||
<beedk.deploy.aps.classesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.aps.classesDirectory>
|
||||
<beedk.deploy.aps.testClassesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.aps.testClassesDirectory>
|
||||
<beedk.deploy.aps.extDirectory>${project.build.directory}/doesnotexist</beedk.deploy.aps.extDirectory>
|
||||
<beedk.deploy.aps.warDirectory>${project.build.warDirectory}</beedk.deploy.aps.warDirectory>
|
||||
<aps.timeout>60000</aps.timeout>
|
||||
<aps.memory>512m</aps.memory>
|
||||
|
||||
<!-- ports -->
|
||||
<aps-postgres.port>5432</aps-postgres.port>
|
||||
<aps.port>8080</aps.port>
|
||||
<aps.debugger.port>8000</aps.debugger.port>
|
||||
|
||||
<!-- versions -->
|
||||
<aps.version>1.11.1.1</aps.version>
|
||||
<tomcat-rad.version>9-1.3</tomcat-rad.version>
|
||||
|
||||
<!-- results -->
|
||||
<project.build.warFile>${project.build.warDirectory}/${aps.war.artifactId}-${aps.war.version}.war</project.build.warFile>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
</project>
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-archetype</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>maven-archetype</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-docker-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ATE Docker Enablement</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ATE</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-self-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ATE</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-sibling-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ATE by a Maven Sibling Project</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-springboot-test</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ATE Spring Boot Test</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-springboot-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ATE Spring Boot</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ate-springboot</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: ATE Spring Boot</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ats-it-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ATS</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-ats-rad-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ATS</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-run-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Testing Core</name>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-springboot-api-archetype</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</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>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-springboot-docker-base-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Spring Boot Docker Enablement Base</name>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-springboot-docker-tile</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<name>Order of the Bee Development Kit: Spring Boot Docker Enablement</name>
|
||||
|
21
pom.xml
21
pom.xml
@@ -7,10 +7,10 @@
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.6</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Bee Development Kit</name>
|
||||
<name>Order of the Bee Development Kit</name>
|
||||
<description>An alternative development kit for products of interest to the Order of the Bee</description>
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
@@ -49,6 +49,7 @@
|
||||
<module>beedk-acs-share-self-rad-tile</module>
|
||||
<module>beedk-ate-self-rad-tile</module>
|
||||
<module>beedk-ate-sibling-rad-tile</module>
|
||||
<module>beedk-aps-ext-rad-tile</module>
|
||||
|
||||
<module>beedk-acs-search-it-tile</module>
|
||||
<module>beedk-acs-lts-it-tile</module>
|
||||
@@ -71,6 +72,9 @@
|
||||
<module>beedk-ate-springboot-test</module>
|
||||
<module>beedk-ate-springboot-tile</module>
|
||||
|
||||
<module>beedk-acs-webapp-docker-tile</module>
|
||||
<module>beedk-acs-platform-webapp-docker-tile</module>
|
||||
<module>beedk-acs-share-webapp-docker-tile</module>
|
||||
<module>beedk-springboot-docker-base-tile</module>
|
||||
<module>beedk-springboot-docker-tile</module>
|
||||
<module>beedk-ate-docker-tile</module>
|
||||
@@ -80,6 +84,19 @@
|
||||
<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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user