Compare commits
138 Commits
Author | SHA1 | Date | |
---|---|---|---|
5c05f73fdc | |||
52f237e575 | |||
f4e368fc33 | |||
e68366d1be | |||
b17dcdb5eb | |||
bc093cc69a | |||
d56f4f82fb | |||
adc5caf1c2 | |||
cf03dc8808 | |||
f4f8fa8704 | |||
8a0e38f078 | |||
87a0cb879c | |||
6ed4974f3f | |||
3df287166d | |||
1412e66768 | |||
0c50627eae | |||
5b7a8f1463 | |||
8a77c5a01d | |||
45099b8e8b | |||
9ed1f8454a | |||
eaedecb5a7 | |||
1c9b4e98a2 | |||
88f8d8d3f8 | |||
3b26e76b06 | |||
4514c3cc33 | |||
481321020d | |||
84d8e949bc | |||
24f8257920 | |||
f2468fa6a2 | |||
974d46775f | |||
84a8f38c5a | |||
b3e28997ee | |||
f19e1ce7a7 | |||
00be2e069b | |||
9eab7ba2af | |||
8f3d1e4a04 | |||
0807afbcf9 | |||
a1a1da0cc0 | |||
db795e7e53 | |||
6c3d5ebf52 | |||
c17d8ec3df | |||
f4741d89df | |||
3f73c51c9d | |||
2acc4dc634 | |||
4b7454f9ba | |||
6b32abaefd | |||
189e416014 | |||
f8b92d5c35 | |||
ae0564280c | |||
582beb8f13 | |||
d51874abae | |||
e1cd5245ef | |||
82b2d4b1fe | |||
3d0161908e | |||
cfcfe64167 | |||
439e45e2a5 | |||
d97a201c4f | |||
bd88665b6d | |||
0a1dae6364 | |||
32209000a0 | |||
6e36b90208 | |||
857466995b | |||
0c0fca9dfa | |||
81cf17cb4a | |||
0a9e879875 | |||
f093681260 | |||
8faa33f21c | |||
90b36131f2 | |||
1ed01b865f | |||
dc5665a4a5 | |||
86e232a6b4 | |||
3d5b83eaed | |||
4f98ddab63 | |||
e8c9ec65f3 | |||
932abbe366 | |||
6332b0b194 | |||
3eea7848ea | |||
28e39fc9d2 | |||
c8abe0f374 | |||
e8592abc6f | |||
dac99d1a4c | |||
4a3cebe283 | |||
48c5fb004a | |||
b00b222daf | |||
53c64a9a69 | |||
0931a2c57e | |||
5efedf3fb4 | |||
856c6f4afa | |||
6ea6faa327 | |||
6d70c711c1 | |||
bdd1693cab | |||
d4f8e78425 | |||
012bb361ba | |||
b2104c796a | |||
a49c5a7dbb | |||
0745cc91a7 | |||
fb843bac2c | |||
9fe73068e8 | |||
fb95cc1464 | |||
ad177123ff | |||
05bf7c29e6 | |||
920d858886 | |||
be462b6dd1 | |||
585b2cf745 | |||
c6df90008f | |||
827e693e60 | |||
42d3c38e9f | |||
5dd6dffb62 | |||
46ba0521f3 | |||
17a18d6551 | |||
4df9fcbe11 | |||
be5c04785b | |||
1ff5ab460e | |||
3777dad5c8 | |||
e362b71115 | |||
7c833c2093 | |||
a889607c48 | |||
1a7c70792c | |||
3828e24d8b | |||
e4611ffd07 | |||
474b5e5909 | |||
dea15ab95d | |||
d13678e9e0 | |||
155ef084e9 | |||
0adf7812b4 | |||
c135bc7274 | |||
ac67f46408 | |||
875a580854 | |||
5474eef9f5 | |||
61b7e6d728 | |||
ad92fb5a21 | |||
a68baeae70 | |||
417c419900 | |||
d80c6b9400 | |||
df89b65373 | |||
45b72fd703 | |||
33b38f47cc | |||
9815726895 |
65
README.md
65
README.md
@@ -10,64 +10,13 @@ The sole purpose of this project is to build all the submodule components. It i
|
|||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
There are a couple configurations required to use the components of the BeeDK. Those are covered in the sections below.
|
There is no extra configuration required to use the BeeDK or its modules. Some modules may require tools like Docker, but those are requirements of the module, not the BeeDK.
|
||||||
|
|
||||||
#### Plugin Repository
|
The BeeDK official artifacts are all deployed to Maven Central. There are no 3rd party repositories needed. You may develop and deploy your own extensions in other repositories though. In those cases, the repositories will need to be defined as `pluginRepositories` in order for Maven Tiles to use them during its discovery.
|
||||||
|
|
||||||
First, you will need define a reference to the repository for the BeeDK tiles. This is the case until they find their way into the Maven Central Repository.
|
### Modules
|
||||||
|
|
||||||
You will need to define a plugin repository in your `setting.xml` or your project `pom.xml`. The following snippet is meant to be included in your `~/.m2/settings.xml` file.
|
The following tiles (side-loaded components) are useful to users of the BeeDK. BeeDK makes extensive use of [Maven Tiles](https://github.com/repaint-io/maven-tiles).
|
||||||
|
|
||||||
> If you choose to include it in your project `pom.xml`, ignore the structure outside the `pluginRepositories` element and place that element directly under the `project` element.
|
|
||||||
|
|
||||||
```xml
|
|
||||||
<settings ...>
|
|
||||||
...
|
|
||||||
<profiles>
|
|
||||||
...
|
|
||||||
<profile>
|
|
||||||
<id>inteligr8</id>
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>inteligr8-public</id>
|
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
</profile>
|
|
||||||
...
|
|
||||||
</profiles>
|
|
||||||
...
|
|
||||||
</settings>
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Archetype
|
|
||||||
|
|
||||||
Next, you will need to configure using a repository not named Maven Central for archetypes. Defining a location for archetypes is incredibly bug-laden in the Maven Archetype plugin framework. The only good way to achieve it is by defining an alternative `settings.xml` file. So create a new file called `.m2/beedk-settings.xml` with the following contents.
|
|
||||||
|
|
||||||
```xml
|
|
||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>custom-archetype</id>
|
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>archetype</id>
|
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
<activeProfiles>
|
|
||||||
<activeProfile>custom-archetype</activeProfile>
|
|
||||||
</activeProfiles>
|
|
||||||
</settings>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Components
|
|
||||||
|
|
||||||
The following components are useful to users of the BeeDK.
|
|
||||||
|
|
||||||
#### Public API
|
#### Public API
|
||||||
|
|
||||||
@@ -75,8 +24,8 @@ The following components are useful to users of the BeeDK.
|
|||||||
| ------------------------------------- | ------------- | ------- |
|
| ------------------------------------- | ------------- | ------- |
|
||||||
| `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-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-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-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, loading JARs, 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-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, loading JARs, 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` | [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-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-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. |
|
||||||
@@ -169,7 +118,7 @@ docker container ls -aq --filter={artifactId}-* | % { docker container rm $_ }
|
|||||||
You can use one of these Maven Archetypes to generate a new project by executing the following at the command line.
|
You can use one of these Maven Archetypes to generate a new project by executing the following at the command line.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mvn -s ~/.m2/beedk-settings.xml archetype:generate
|
mvn archetype:generate
|
||||||
```
|
```
|
||||||
|
|
||||||
### Scaffolding
|
### Scaffolding
|
||||||
|
@@ -1,16 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-allinone-archetype</artifactId>
|
<artifactId>beedk-acs-allinone-archetype</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Project Scaffolding for multi-module ACS projects</name>
|
<name>Order of the Bee Development Kit: Project Scaffolding for multi-module ACS projects</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -19,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -32,21 +49,8 @@
|
|||||||
<extension>
|
<extension>
|
||||||
<groupId>org.apache.maven.archetype</groupId>
|
<groupId>org.apache.maven.archetype</groupId>
|
||||||
<artifactId>archetype-packaging</artifactId>
|
<artifactId>archetype-packaging</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>${archetype-packaging.version}</version>
|
||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</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>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -42,7 +42,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.20</version>
|
<version>2.40</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- This assures the parent properties override defaults in the tiles -->
|
<!-- This assures the parent properties override defaults in the tiles -->
|
||||||
|
@@ -5,22 +5,27 @@ function discoverArtifactId {
|
|||||||
|
|
||||||
function rebuild {
|
function rebuild {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_ {
|
function start_ {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
echo "Stopping containers ..."
|
echo "Stopping containers ..."
|
||||||
docker container stop (docker container ls -q --filter name=${ARTIFACT_ID}-*)
|
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
|
||||||
echo "Removing containers ..."
|
echo "Removing containers ..."
|
||||||
docker container rm (docker container ls -aq --filter name=${ARTIFACT_ID}-*)
|
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
|
||||||
}
|
}
|
||||||
|
|
||||||
function tail_logs {
|
function tail_logs {
|
||||||
@@ -29,18 +34,21 @@ function tail_logs {
|
|||||||
)
|
)
|
||||||
|
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container logs -f (docker container ls -q --filter name=${ARTIFACT_ID}-${container})
|
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
|
||||||
}
|
}
|
||||||
|
|
||||||
function list {
|
function list {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($args[0]) {
|
switch ($args[0]) {
|
||||||
"start" {
|
"start" {
|
||||||
start_
|
start_
|
||||||
}
|
}
|
||||||
|
"start_log" {
|
||||||
|
start_log
|
||||||
|
}
|
||||||
"stop" {
|
"stop" {
|
||||||
stop_
|
stop_
|
||||||
}
|
}
|
||||||
@@ -58,7 +66,7 @@ switch ($args[0]) {
|
|||||||
list
|
list
|
||||||
}
|
}
|
||||||
default {
|
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,43 +1,51 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
echo "Stopping containers ..."
|
echo "Stopping containers ..."
|
||||||
docker container stop `docker container ls -q --filter name=${ARTIFACT_ID}-*`
|
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
|
||||||
echo "Removing containers ..."
|
echo "Removing containers ..."
|
||||||
docker container rm `docker container ls -aq --filter name=${ARTIFACT_ID}-*`
|
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
|
||||||
}
|
}
|
||||||
|
|
||||||
tail_logs() {
|
tail_logs() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container logs -f `docker container ls -q --filter name=${ARTIFACT_ID}-$1`
|
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
|
||||||
}
|
}
|
||||||
|
|
||||||
list() {
|
list() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
|
start_log)
|
||||||
|
start_log
|
||||||
|
;;
|
||||||
stop)
|
stop)
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
@@ -55,7 +63,7 @@ case "$1" in
|
|||||||
list
|
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
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||||
@@ -6,27 +20,47 @@ import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransacti
|
|||||||
import org.alfresco.service.ServiceRegistry;
|
import org.alfresco.service.ServiceRegistry;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.DisposableBean;
|
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
|
import org.springframework.context.ApplicationEvent;
|
||||||
|
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is an example of how you can use the Alfresco Java Public API on startup or shutdown.
|
* This class is an example of how you can use the Alfresco Java Public API on startup or shutdown.
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
public class ExampleBootstrap extends AbstractLifecycleBean {
|
||||||
|
|
||||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
||||||
// this is the Alfresco Public Java API entrypoint
|
// this is the Alfresco Public Java API entrypoint
|
||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
@Override
|
@Value("${example.config.value:default}")
|
||||||
public void afterPropertiesSet() throws Exception {
|
private String configValue;
|
||||||
if (this.logger.isTraceEnabled())
|
|
||||||
this.logger.trace("onStartup()");
|
@Value("${example.config.value:#{null}}")
|
||||||
|
private String configValueWithNullDefault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is called after Spring beans and configuration are injected, but
|
||||||
|
* before ACS services are ready. So don't call any ACS services, start an
|
||||||
|
* ACS transaction, or try to create an authentication context.
|
||||||
|
*/
|
||||||
|
@PostConstruct
|
||||||
|
private void init() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is called after @PostConstruct and all the ACS services are
|
||||||
|
* initialized and ready. You will have no authentication or transaction
|
||||||
|
* context.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected void onBootstrap(ApplicationEvent event) {
|
||||||
|
this.logger.trace("onBootstrap()");
|
||||||
|
|
||||||
// provide some authority within the Alfresco context
|
// provide some authority within the Alfresco context
|
||||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||||
@@ -43,11 +77,15 @@ public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
/**
|
||||||
public void destroy() throws Exception {
|
* This is called after @PostConstruct and all the ACS services are
|
||||||
if (this.logger.isTraceEnabled())
|
* initialized and ready. You will have no authentication or transaction
|
||||||
this.logger.trace("onShutdown()");
|
* context.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected void onShutdown(ApplicationEvent event) {
|
||||||
|
this.logger.trace("onShutdown()");
|
||||||
|
|
||||||
// provide some authority within the Alfresco context
|
// provide some authority within the Alfresco context
|
||||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy;
|
import org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy;
|
||||||
@@ -7,15 +21,15 @@ import org.alfresco.service.ServiceRegistry;
|
|||||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is an example of how you can use the Alfresco Java Public API when Alfresco triggers an event.
|
* This class is an example of how you can use the Alfresco Java Public API when Alfresco triggers an event.
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class ExampleEventListener implements InitializingBean, OnCreateNodePolicy {
|
public class ExampleEventListener extends AbstractLifecycleBean implements OnCreateNodePolicy {
|
||||||
|
|
||||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
||||||
@@ -23,24 +37,34 @@ public class ExampleEventListener implements InitializingBean, OnCreateNodePolic
|
|||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
protected void onBootstrap(ApplicationEvent event) {
|
||||||
this.bind();
|
this.bind();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This must be called after the `PolicyComponent` is initialized/ready.
|
||||||
|
* So you cannot call it from with `@PostConstruct` or using
|
||||||
|
* `InitializingBean`.
|
||||||
|
*/
|
||||||
public void bind() {
|
public void bind() {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("bind()");
|
||||||
this.logger.trace("bind()");
|
|
||||||
|
|
||||||
// example listener
|
// example listener
|
||||||
this.serviceRegistry.getPolicyComponent().bindClassBehaviour(OnCreateNodePolicy.QNAME, this,
|
this.serviceRegistry.getPolicyComponent().bindClassBehaviour(OnCreateNodePolicy.QNAME, this,
|
||||||
new JavaBehaviour(this, OnCreateNodePolicy.QNAME.getLocalName(), NotificationFrequency.TRANSACTION_COMMIT));
|
new JavaBehaviour(this, OnCreateNodePolicy.QNAME.getLocalName(), NotificationFrequency.TRANSACTION_COMMIT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This will execute with the same authentication and transaction context
|
||||||
|
* as was used to create the node, unless the binding is
|
||||||
|
* `TRANSACTION_COMMIT`. Then it will only have the same transaction
|
||||||
|
* context and the authentication context used when starting the
|
||||||
|
* transaction.
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onCreateNode(ChildAssociationRef childAssocRef) {
|
public void onCreateNode(ChildAssociationRef childAssocRef) {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("onCreateNode('" + childAssocRef.getChildRef() + "')");
|
||||||
this.logger.trace("onCreateNode('" + childAssocRef.getChildRef() + "')");
|
|
||||||
|
|
||||||
// TODO do some work
|
// TODO do some work
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.service.ServiceRegistry;
|
import org.alfresco.service.ServiceRegistry;
|
||||||
@@ -25,6 +39,11 @@ public class ExampleGetWebScript extends AbstractWebScript {
|
|||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This will have the authentication context of the authenticated user
|
||||||
|
* calling the REST endpoint. The transaction context is defined in the
|
||||||
|
* web script descriptor.
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {
|
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {
|
||||||
if (this.logger.isTraceEnabled())
|
if (this.logger.isTraceEnabled())
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.processor.BaseProcessorExtension;
|
import org.alfresco.repo.processor.BaseProcessorExtension;
|
||||||
@@ -18,11 +32,17 @@ public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
|||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An example method that called from within a JavaScript within the ACS
|
||||||
|
* application: `example.getMessage("example.property")`. All simple
|
||||||
|
* parameter and return types are generally supported.
|
||||||
|
*
|
||||||
|
* The `example` root name comes from the `module-context.xml` file.
|
||||||
|
*/
|
||||||
public String getMessage(String messageKey) {
|
public String getMessage(String messageKey) {
|
||||||
if (this.logger.isTraceEnabled())
|
if (this.logger.isTraceEnabled())
|
||||||
this.logger.trace("getMessage('" + messageKey + "')");
|
this.logger.trace("getMessage('" + messageKey + "')");
|
||||||
|
|
||||||
// just and example method, called in JS with: example.getMessage("example.property");
|
|
||||||
return this.serviceRegistry.getDictionaryService().getMessage(messageKey);
|
return this.serviceRegistry.getDictionaryService().getMessage(messageKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
package ${package}.annotation;
|
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
@Target(ElementType.TYPE)
|
|
||||||
public @interface ModuleEarlyComponent {
|
|
||||||
|
|
||||||
}
|
|
@@ -1,12 +0,0 @@
|
|||||||
package ${package}.annotation;
|
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
@Target(ElementType.TYPE)
|
|
||||||
public @interface ModuleLateComponent {
|
|
||||||
|
|
||||||
}
|
|
@@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ${package}.spring;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
public @interface ModuleEarlyComponent {
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ${package}.spring;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
public @interface ModuleLateComponent {
|
||||||
|
|
||||||
|
}
|
@@ -1,9 +1,10 @@
|
|||||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||||
<webscript>
|
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<shortname>Example Webscript</shortname>
|
xsi:noNamespaceSchemaLocation="https://bitbucket.org/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||||
<description>Example Java-backed webscript description</description>
|
<shortname>Example Webscript</shortname>
|
||||||
<url>/exampleJava?paramName={paramValue}</url>
|
<description>Example Java-backed webscript description</description>
|
||||||
<authentication>user</authentication>
|
<family>${shortname}</family>
|
||||||
<format default="json"></format>
|
<url>/exampleJava?paramName={paramValue}</url>
|
||||||
<family>${shortname}</family>
|
<format default="json"></format>
|
||||||
|
<authentication>user</authentication>
|
||||||
</webscript>
|
</webscript>
|
||||||
|
@@ -1,9 +1,10 @@
|
|||||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||||
<webscript>
|
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<shortname>Example Webscript</shortname>
|
xsi:noNamespaceSchemaLocation="https://bitbucket.org/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||||
<description>Example JS-backed webscript description</description>
|
<shortname>Example Webscript</shortname>
|
||||||
<url>/exampleJs?paramName={paramValue}</url>
|
<description>Example JS-backed webscript description</description>
|
||||||
<authentication>guest</authentication>
|
<family>${shortname}</family>
|
||||||
<format default="json"></format>
|
<url>/exampleJs?paramName={paramValue}</url>
|
||||||
<family>${shortname}</family>
|
<format default="json"></format>
|
||||||
|
<authentication>guest</authentication>
|
||||||
</webscript>
|
</webscript>
|
||||||
|
@@ -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>
|
@@ -0,0 +1,2 @@
|
|||||||
|
logger.example.name=${package}
|
||||||
|
logger.example.level=info
|
@@ -1,24 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<model name="ootbee:exampleDataModel"
|
<model name="ootbee:exampleDataModel"
|
||||||
xmlns="http://www.alfresco.org/model/dictionary/1.0"
|
xmlns="http://www.alfresco.org/model/dictionary/1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 https://raw.githubusercontent.com/Alfresco/alfresco-repository/master/src/main/resources/alfresco/model/modelSchema.xsd">
|
xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 https://raw.githubusercontent.com/Alfresco/alfresco-repository/master/src/main/resources/alfresco/model/modelSchema.xsd">
|
||||||
|
|
||||||
<description>Example Data Model</description>
|
<description>Example Data Model</description>
|
||||||
<author>Order of the Bee</author>
|
<author>Order of the Bee</author>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
|
|
||||||
<imports>
|
<imports>
|
||||||
<!-- Import Alfresco Dictionary Definitions -->
|
<!-- Import Alfresco Dictionary Definitions -->
|
||||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
||||||
<!-- Import Alfresco Content Domain Model Definitions -->
|
<!-- Import Alfresco Content Domain Model Definitions -->
|
||||||
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||||
<!-- Import Alfresco System Model Definitions -->
|
<!-- Import Alfresco System Model Definitions -->
|
||||||
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
||||||
</imports>
|
</imports>
|
||||||
|
|
||||||
<namespaces>
|
<namespaces>
|
||||||
<namespace uri="http://orderofthebee.org/alfresco/model/example/1.0" prefix="example"/>
|
<namespace uri="http://orderofthebee.org/alfresco/model/example/1.0" prefix="example"/>
|
||||||
</namespaces>
|
</namespaces>
|
||||||
|
|
||||||
</model>
|
</model>
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<!-- Enable Spring annotation scanning for classes in package -->
|
<!-- Enable Spring annotation scanning for classes in package -->
|
||||||
<context:component-scan base-package="${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>
|
</context:component-scan>
|
||||||
|
|
||||||
<!-- Example Data Model loading -->
|
<!-- Example Data Model loading -->
|
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
<!-- Enable Spring annotation scanning for classes in package -->
|
<!-- Enable Spring annotation scanning for classes in package -->
|
||||||
<context:component-scan base-package="${package}">
|
<context:component-scan base-package="${package}">
|
||||||
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleEarlyComponent" />
|
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleEarlyComponent" />
|
||||||
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleLateComponent" />
|
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleLateComponent" />
|
||||||
</context:component-scan>
|
</context:component-scan>
|
||||||
|
|
||||||
<bean id="${project.groupId}.${project.artifactId}.jsroot.example" class="${package}.ExampleJavaScriptRootObject" parent="baseJavaScriptExtension">
|
<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}.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>
|
</beans>
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<!-- Enable Spring annotation scanning for classes in package -->
|
<!-- Enable Spring annotation scanning for classes in package -->
|
||||||
<context:component-scan base-package="${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>
|
</context:component-scan>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
module.id=${project.artifactId}
|
module.id=${project.artifactId}
|
||||||
#module.aliases=myModule-123, my-module
|
#module.aliases=myModule-123, my-module
|
||||||
module.title=${project.name}
|
module.title=${project.name}
|
||||||
module.description=${project.description}
|
module.description=${project.description}
|
||||||
module.version=${project.version}
|
module.version=${project.version}
|
||||||
|
@@ -0,0 +1,8 @@
|
|||||||
|
# Module debugging
|
||||||
|
logger.example.level=trace
|
||||||
|
|
||||||
|
# WebScript debugging
|
||||||
|
logger.springframework-extensions-webscripts-ScriptLogger.level=debug
|
||||||
|
|
||||||
|
# non-WebScript JavaScript execution debugging
|
||||||
|
logger.alfresco-repo-jscript-ScriptLogger.level=debug
|
@@ -1,63 +1,63 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||||
<!--
|
<!--
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
this work for additional information regarding copyright ownership.
|
this work for additional information regarding copyright ownership.
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
(the "License"); you may not use this file except in compliance with
|
(the "License"); you may not use this file except in compliance with
|
||||||
the License. You may obtain a copy of the License at
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<beans>
|
<beans>
|
||||||
<!--
|
<!--
|
||||||
To support hot reloading of server side Javascript files in Share, we have to turn on development mode.
|
To support hot reloading of server side Javascript files in Share, we have to turn on development mode.
|
||||||
This setting will tell the Rhinoscript Processor not to compile and cache the JS files.
|
This setting will tell the Rhinoscript Processor not to compile and cache the JS files.
|
||||||
Cool, we can now change server side JS files and have the changes picked up,
|
Cool, we can now change server side JS files and have the changes picked up,
|
||||||
without having to restart or refresh web scripts.
|
without having to restart or refresh web scripts.
|
||||||
|
|
||||||
But… Due to a known bug in the Surf framework (ALF-9970) this will break the admin consoles in Share.
|
But… Due to a known bug in the Surf framework (ALF-9970) this will break the admin consoles in Share.
|
||||||
|
|
||||||
Override this bean and disable javascript compilation so that webscripts can be hot reloaded.
|
Override this bean and disable javascript compilation so that webscripts can be hot reloaded.
|
||||||
We have changed the 'compile' property from true to false.
|
We have changed the 'compile' property from true to false.
|
||||||
-->
|
-->
|
||||||
<bean id="javaScriptProcessor" class="org.alfresco.repo.jscript.RhinoScriptProcessor" init-method="register">
|
<bean id="javaScriptProcessor" class="org.alfresco.repo.jscript.RhinoScriptProcessor" init-method="register">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<value>javascript</value>
|
<value>javascript</value>
|
||||||
</property>
|
</property>
|
||||||
<property name="extension">
|
<property name="extension">
|
||||||
<value>js</value>
|
<value>js</value>
|
||||||
</property>
|
</property>
|
||||||
<!-- Do not "compile javascript and cache compiled scripts" -->
|
<!-- Do not "compile javascript and cache compiled scripts" -->
|
||||||
<property name="compile">
|
<property name="compile">
|
||||||
<value>false</value>
|
<value>false</value>
|
||||||
</property>
|
</property>
|
||||||
<!-- allow sharing of sealed scopes for performance -->
|
<!-- allow sharing of sealed scopes for performance -->
|
||||||
<!-- disable to give each script it's own new scope which can be extended -->
|
<!-- disable to give each script it's own new scope which can be extended -->
|
||||||
<property name="shareSealedScopes">
|
<property name="shareSealedScopes">
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</property>
|
</property>
|
||||||
<property name="scriptService">
|
<property name="scriptService">
|
||||||
<ref bean="scriptService"/>
|
<ref bean="scriptService"/>
|
||||||
</property>
|
</property>
|
||||||
<!-- Creates ScriptNodes which require the ServiceRegistry -->
|
<!-- Creates ScriptNodes which require the ServiceRegistry -->
|
||||||
<property name="serviceRegistry">
|
<property name="serviceRegistry">
|
||||||
<ref bean="ServiceRegistry"/>
|
<ref bean="ServiceRegistry"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="storeUrl">
|
<property name="storeUrl">
|
||||||
<value>${spaces.store}</value>
|
<value>${spaces.store}</value>
|
||||||
</property>
|
</property>
|
||||||
<property name="storePath">
|
<property name="storePath">
|
||||||
<value>${spaces.company_home.childname}</value>
|
<value>${spaces.company_home.childname}</value>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.20</version>
|
<version>2.40</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- This assures the parent properties override defaults in the tiles -->
|
<!-- This assures the parent properties override defaults in the tiles -->
|
||||||
|
@@ -1,52 +1,41 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>${groupId}</groupId>
|
<groupId>${groupId}</groupId>
|
||||||
<artifactId>${artifactId}-parent</artifactId>
|
<artifactId>${artifactId}-parent</artifactId>
|
||||||
<version>${version}</version>
|
<version>${version}</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>${shortname} ACS All-in-one Parent Project</name>
|
<name>${shortname} ACS All-in-one Parent Project</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<alfresco.sdk.version>4.2.0</alfresco.sdk.version>
|
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
|
||||||
<edition>community</edition>
|
<edition>community</edition>
|
||||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
<alfresco.platform.version>7.4.2</alfresco.platform.version>
|
||||||
<alfresco.share.version>6.2.2.2</alfresco.share.version>
|
<alfresco.share.version>22.17</alfresco.share.version>
|
||||||
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>tengine-A</module>
|
<module>tengine-A</module>
|
||||||
|
|
||||||
<module>platform-module-A</module>
|
<module>platform-module-A</module>
|
||||||
<module>platform-webapp</module>
|
<module>platform-webapp</module>
|
||||||
|
|
||||||
<module>share-module-A</module>
|
<module>share-module-A</module>
|
||||||
<module>share-webapp</module>
|
<module>share-webapp</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>inteligr8-releases</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
</repositories>
|
||||||
<id>alfresco-public</id>
|
</project>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>inteligr8-releases</id>
|
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-private</url>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
</project>
|
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.20</version>
|
<version>2.40</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- This assures the parent properties override defaults in the tiles -->
|
<!-- This assures the parent properties override defaults in the tiles -->
|
||||||
|
@@ -5,22 +5,27 @@ function discoverArtifactId {
|
|||||||
|
|
||||||
function rebuild {
|
function rebuild {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_ {
|
function start_ {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
echo "Stopping containers ..."
|
echo "Stopping containers ..."
|
||||||
docker container stop (docker container ls -q --filter name=${ARTIFACT_ID}-*)
|
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
|
||||||
echo "Removing containers ..."
|
echo "Removing containers ..."
|
||||||
docker container rm (docker container ls -aq --filter name=${ARTIFACT_ID}-*)
|
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
|
||||||
}
|
}
|
||||||
|
|
||||||
function tail_logs {
|
function tail_logs {
|
||||||
@@ -29,18 +34,21 @@ function tail_logs {
|
|||||||
)
|
)
|
||||||
|
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container logs -f (docker container ls -q --filter name=${ARTIFACT_ID}-${container})
|
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
|
||||||
}
|
}
|
||||||
|
|
||||||
function list {
|
function list {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($args[0]) {
|
switch ($args[0]) {
|
||||||
"start" {
|
"start" {
|
||||||
start_
|
start_
|
||||||
}
|
}
|
||||||
|
"start_log" {
|
||||||
|
start_log
|
||||||
|
}
|
||||||
"stop" {
|
"stop" {
|
||||||
stop_
|
stop_
|
||||||
}
|
}
|
||||||
@@ -58,7 +66,7 @@ switch ($args[0]) {
|
|||||||
list
|
list
|
||||||
}
|
}
|
||||||
default {
|
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,43 +1,51 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
echo "Stopping containers ..."
|
echo "Stopping containers ..."
|
||||||
docker container stop `docker container ls -q --filter name=${ARTIFACT_ID}-*`
|
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
|
||||||
echo "Removing containers ..."
|
echo "Removing containers ..."
|
||||||
docker container rm `docker container ls -aq --filter name=${ARTIFACT_ID}-*`
|
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
|
||||||
}
|
}
|
||||||
|
|
||||||
tail_logs() {
|
tail_logs() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container logs -f `docker container ls -q --filter name=${ARTIFACT_ID}-$1`
|
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
|
||||||
}
|
}
|
||||||
|
|
||||||
list() {
|
list() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
|
start_log)
|
||||||
|
start_log
|
||||||
|
;;
|
||||||
stop)
|
stop)
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
@@ -55,7 +63,7 @@ case "$1" in
|
|||||||
list
|
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
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@@ -1,334 +1,334 @@
|
|||||||
<alfresco-config>
|
<alfresco-config>
|
||||||
|
|
||||||
<config evaluator="string-compare" condition="DocumentLibrary">
|
<config evaluator="string-compare" condition="DocumentLibrary">
|
||||||
<aspects>
|
<aspects>
|
||||||
<visible>
|
<visible>
|
||||||
<aspect name="example:aspect" />
|
<aspect name="example:aspect" />
|
||||||
</visible>
|
</visible>
|
||||||
<addable> <!-- defaults to visible config -->
|
<addable> <!-- defaults to visible config -->
|
||||||
</addable>
|
</addable>
|
||||||
<removeable> <!-- defaults to visible config -->
|
<removeable> <!-- defaults to visible config -->
|
||||||
</removeable>
|
</removeable>
|
||||||
</aspects>
|
</aspects>
|
||||||
<types>
|
<types>
|
||||||
<type name="cm:content">
|
<type name="cm:content">
|
||||||
<subtype name="example:document"/>
|
<subtype name="example:document"/>
|
||||||
</type>
|
</type>
|
||||||
</types>
|
</types>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
<config evaluator="string-compare" condition="AdvancedSearch" replace="true">
|
<config evaluator="string-compare" condition="AdvancedSearch" replace="true">
|
||||||
<advanced-search>
|
<advanced-search>
|
||||||
<forms>
|
<forms>
|
||||||
<!-- Standard out-of-the-box types -->
|
<!-- Standard out-of-the-box types -->
|
||||||
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
|
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
|
||||||
<form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder</form>
|
<form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder</form>
|
||||||
|
|
||||||
<!-- Custom type -->
|
<!-- Custom type -->
|
||||||
<form labelId="form.label.advancedsearch.exampleDocument" descriptionId="form.description.advancedsearch.exampleDocument">example:document</form>
|
<form labelId="form.label.advancedsearch.exampleDocument" descriptionId="form.description.advancedsearch.exampleDocument">example:document</form>
|
||||||
</forms>
|
</forms>
|
||||||
</advanced-search>
|
</advanced-search>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
<config evaluator="node-type" condition="example:document">
|
<config evaluator="node-type" condition="example:document">
|
||||||
<forms>
|
<forms>
|
||||||
<!-- Default form configuration for the cm:content type -->
|
<!-- Default form configuration for the cm:content type -->
|
||||||
<form>
|
<form>
|
||||||
<field-visibility>
|
<field-visibility>
|
||||||
<show id="cm:name"/>
|
<show id="cm:name"/>
|
||||||
<show id="cm:title" force="true"/>
|
<show id="cm:title" force="true"/>
|
||||||
<show id="cm:description" force="true"/>
|
<show id="cm:description" force="true"/>
|
||||||
<show id="mimetype"/>
|
<show id="mimetype"/>
|
||||||
<show id="cm:author" force="true"/>
|
<show id="cm:author" force="true"/>
|
||||||
<show id="size" for-mode="view"/>
|
<show id="size" for-mode="view"/>
|
||||||
<show id="cm:creator" for-mode="view"/>
|
<show id="cm:creator" for-mode="view"/>
|
||||||
<show id="cm:created" for-mode="view"/>
|
<show id="cm:created" for-mode="view"/>
|
||||||
<show id="cm:modifier" for-mode="view"/>
|
<show id="cm:modifier" for-mode="view"/>
|
||||||
<show id="cm:modified" for-mode="view"/>
|
<show id="cm:modified" for-mode="view"/>
|
||||||
|
|
||||||
<!-- tags and categories -->
|
<!-- tags and categories -->
|
||||||
<show id="cm:taggable" for-mode="edit" force="true"/>
|
<show id="cm:taggable" for-mode="edit" force="true"/>
|
||||||
<show id="cm:categories"/>
|
<show id="cm:categories"/>
|
||||||
|
|
||||||
<!-- cm:dublincore aspect -->
|
<!-- cm:dublincore aspect -->
|
||||||
<show id="cm:publisher"/>
|
<show id="cm:publisher"/>
|
||||||
<show id="cm:contributor"/>
|
<show id="cm:contributor"/>
|
||||||
<show id="cm:type"/>
|
<show id="cm:type"/>
|
||||||
<show id="cm:identifier"/>
|
<show id="cm:identifier"/>
|
||||||
<show id="cm:dcsource"/>
|
<show id="cm:dcsource"/>
|
||||||
<show id="cm:coverage"/>
|
<show id="cm:coverage"/>
|
||||||
<show id="cm:rights"/>
|
<show id="cm:rights"/>
|
||||||
<show id="cm:subject"/>
|
<show id="cm:subject"/>
|
||||||
|
|
||||||
<!-- cm:complianceable aspect -->
|
<!-- cm:complianceable aspect -->
|
||||||
<show id="cm:removeAfter"/>
|
<show id="cm:removeAfter"/>
|
||||||
|
|
||||||
<!-- cm:effectivity aspect -->
|
<!-- cm:effectivity aspect -->
|
||||||
<show id="cm:from"/>
|
<show id="cm:from"/>
|
||||||
<show id="cm:to"/>
|
<show id="cm:to"/>
|
||||||
|
|
||||||
<!-- cm:summarizable aspect -->
|
<!-- cm:summarizable aspect -->
|
||||||
<show id="cm:summary"/>
|
<show id="cm:summary"/>
|
||||||
|
|
||||||
<!-- cm:translatable aspect -->
|
<!-- cm:translatable aspect -->
|
||||||
<show id="cm:translations"/>
|
<show id="cm:translations"/>
|
||||||
|
|
||||||
<!-- cm:localizable aspect -->
|
<!-- cm:localizable aspect -->
|
||||||
<show id="cm:locale"/>
|
<show id="cm:locale"/>
|
||||||
|
|
||||||
<!-- cm:ownable aspect -->
|
<!-- cm:ownable aspect -->
|
||||||
<show id="cm:owner"/>
|
<show id="cm:owner"/>
|
||||||
|
|
||||||
<!-- cm:attachable aspect -->
|
<!-- cm:attachable aspect -->
|
||||||
<show id="cm:attachments"/>
|
<show id="cm:attachments"/>
|
||||||
|
|
||||||
<!-- cm:emailed aspect -->
|
<!-- cm:emailed aspect -->
|
||||||
<show id="cm:originator"/>
|
<show id="cm:originator"/>
|
||||||
<show id="cm:addressee"/>
|
<show id="cm:addressee"/>
|
||||||
<show id="cm:addressees"/>
|
<show id="cm:addressees"/>
|
||||||
<show id="cm:sentdate"/>
|
<show id="cm:sentdate"/>
|
||||||
<show id="cm:subjectline"/>
|
<show id="cm:subjectline"/>
|
||||||
|
|
||||||
<!-- exif:exif aspect -->
|
<!-- exif:exif aspect -->
|
||||||
<show id="exif:dateTimeOriginal"/>
|
<show id="exif:dateTimeOriginal"/>
|
||||||
<show id="exif:pixelXDimension"/>
|
<show id="exif:pixelXDimension"/>
|
||||||
<show id="exif:pixelYDimension"/>
|
<show id="exif:pixelYDimension"/>
|
||||||
<show id="exif:exposureTime"/>
|
<show id="exif:exposureTime"/>
|
||||||
<show id="exif:fNumber"/>
|
<show id="exif:fNumber"/>
|
||||||
<show id="exif:flash"/>
|
<show id="exif:flash"/>
|
||||||
<show id="exif:focalLength"/>
|
<show id="exif:focalLength"/>
|
||||||
<show id="exif:isoSpeedRatings"/>
|
<show id="exif:isoSpeedRatings"/>
|
||||||
<show id="exif:manufacturer"/>
|
<show id="exif:manufacturer"/>
|
||||||
<show id="exif:model"/>
|
<show id="exif:model"/>
|
||||||
<show id="exif:software"/>
|
<show id="exif:software"/>
|
||||||
<show id="exif:orientation"/>
|
<show id="exif:orientation"/>
|
||||||
<show id="exif:xResolution"/>
|
<show id="exif:xResolution"/>
|
||||||
<show id="exif:yResolution"/>
|
<show id="exif:yResolution"/>
|
||||||
<show id="exif:resolutionUnit"/>
|
<show id="exif:resolutionUnit"/>
|
||||||
|
|
||||||
<!-- audio:audio aspect -->
|
<!-- audio:audio aspect -->
|
||||||
<show id="audio:album"/>
|
<show id="audio:album"/>
|
||||||
<show id="audio:artist"/>
|
<show id="audio:artist"/>
|
||||||
<show id="audio:composer"/>
|
<show id="audio:composer"/>
|
||||||
<show id="audio:engineer"/>
|
<show id="audio:engineer"/>
|
||||||
<show id="audio:genre"/>
|
<show id="audio:genre"/>
|
||||||
<show id="audio:trackNumber"/>
|
<show id="audio:trackNumber"/>
|
||||||
<show id="audio:releaseDate"/>
|
<show id="audio:releaseDate"/>
|
||||||
<show id="audio:sampleRate"/>
|
<show id="audio:sampleRate"/>
|
||||||
<show id="audio:sampleType"/>
|
<show id="audio:sampleType"/>
|
||||||
<show id="audio:channelType"/>
|
<show id="audio:channelType"/>
|
||||||
<show id="audio:compressor"/>
|
<show id="audio:compressor"/>
|
||||||
|
|
||||||
<!-- cm:indexControl aspect -->
|
<!-- cm:indexControl aspect -->
|
||||||
<show id="cm:isIndexed"/>
|
<show id="cm:isIndexed"/>
|
||||||
<show id="cm:isContentIndexed"/>
|
<show id="cm:isContentIndexed"/>
|
||||||
|
|
||||||
<!-- cm:geographic aspect -->
|
<!-- cm:geographic aspect -->
|
||||||
<show id="cm:latitude"/>
|
<show id="cm:latitude"/>
|
||||||
<show id="cm:longitude"/>
|
<show id="cm:longitude"/>
|
||||||
|
|
||||||
<!-- surf:widget aspect -->
|
<!-- surf:widget aspect -->
|
||||||
<show id="surf:widgetType"/>
|
<show id="surf:widgetType"/>
|
||||||
<show id="surf:mid"/>
|
<show id="surf:mid"/>
|
||||||
<show id="surf:label"/>
|
<show id="surf:label"/>
|
||||||
</field-visibility>
|
</field-visibility>
|
||||||
<appearance>
|
<appearance>
|
||||||
<field id="cm:name">
|
<field id="cm:name">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="maxLength">255</control-param>
|
<control-param name="maxLength">255</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:title">
|
<field id="cm:title">
|
||||||
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:description">
|
<field id="cm:description">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="activateLinks">true</control-param>
|
<control-param name="activateLinks">true</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<set id="cm:content2cols" template="/org/alfresco/components/form/2-column-set.ftl"/>
|
<set id="cm:content2cols" template="/org/alfresco/components/form/2-column-set.ftl"/>
|
||||||
|
|
||||||
<field set="cm:content2cols" id="mimetype">
|
<field set="cm:content2cols" id="mimetype">
|
||||||
<control template="/org/alfresco/components/form/controls/mimetype.ftl"/>
|
<control template="/org/alfresco/components/form/controls/mimetype.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field set="cm:content2cols" id="size">
|
<field set="cm:content2cols" id="size">
|
||||||
<control template="/org/alfresco/components/form/controls/size.ftl"/>
|
<control template="/org/alfresco/components/form/controls/size.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
<field set="cm:content2cols" id="cm:creator"/>
|
<field set="cm:content2cols" id="cm:creator"/>
|
||||||
<field set="cm:content2cols" id="cm:created"/>
|
<field set="cm:content2cols" id="cm:created"/>
|
||||||
<field set="cm:content2cols" id="cm:modifier"/>
|
<field set="cm:content2cols" id="cm:modifier"/>
|
||||||
<field set="cm:content2cols" id="cm:modified"/>
|
<field set="cm:content2cols" id="cm:modified"/>
|
||||||
|
|
||||||
<field id="cm:taggable">
|
<field id="cm:taggable">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="compactMode">true</control-param>
|
<control-param name="compactMode">true</control-param>
|
||||||
<control-param name="params">aspect=cm:taggable</control-param>
|
<control-param name="params">aspect=cm:taggable</control-param>
|
||||||
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
|
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
|
||||||
<control-param name="createNewItemIcon">tag</control-param>
|
<control-param name="createNewItemIcon">tag</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:categories">
|
<field id="cm:categories">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="compactMode">true</control-param>
|
<control-param name="compactMode">true</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:originator" read-only="true"/>
|
<field id="cm:originator" read-only="true"/>
|
||||||
<field id="cm:addressee" read-only="true"/>
|
<field id="cm:addressee" read-only="true"/>
|
||||||
<field id="cm:addressees" read-only="true"/>
|
<field id="cm:addressees" read-only="true"/>
|
||||||
<field id="cm:sentdate" read-only="true"/>
|
<field id="cm:sentdate" read-only="true"/>
|
||||||
<field id="cm:subjectline" read-only="true"/>
|
<field id="cm:subjectline" read-only="true"/>
|
||||||
|
|
||||||
<!-- Example Properties -->
|
<!-- Example Properties -->
|
||||||
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
||||||
</appearance>
|
</appearance>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- Document Library pop-up Edit Metadata form -->
|
<!-- Document Library pop-up Edit Metadata form -->
|
||||||
<form id="doclib-simple-metadata">
|
<form id="doclib-simple-metadata">
|
||||||
<field-visibility>
|
<field-visibility>
|
||||||
<show id="cm:name"/>
|
<show id="cm:name"/>
|
||||||
<show id="cm:title" force="true"/>
|
<show id="cm:title" force="true"/>
|
||||||
<show id="cm:description" force="true"/>
|
<show id="cm:description" force="true"/>
|
||||||
<!-- tags and categories -->
|
<!-- tags and categories -->
|
||||||
<show id="cm:taggable" for-mode="edit" force="true"/>
|
<show id="cm:taggable" for-mode="edit" force="true"/>
|
||||||
<show id="cm:categories"/>
|
<show id="cm:categories"/>
|
||||||
</field-visibility>
|
</field-visibility>
|
||||||
<edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl"/>
|
<edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl"/>
|
||||||
<appearance>
|
<appearance>
|
||||||
<field id="cm:name">
|
<field id="cm:name">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="maxLength">255</control-param>
|
<control-param name="maxLength">255</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:title">
|
<field id="cm:title">
|
||||||
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:description">
|
<field id="cm:description">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="activateLinks">true</control-param>
|
<control-param name="activateLinks">true</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:taggable">
|
<field id="cm:taggable">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="compactMode">true</control-param>
|
<control-param name="compactMode">true</control-param>
|
||||||
<control-param name="params">aspect=cm:taggable</control-param>
|
<control-param name="params">aspect=cm:taggable</control-param>
|
||||||
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
|
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
|
||||||
<control-param name="createNewItemIcon">tag</control-param>
|
<control-param name="createNewItemIcon">tag</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:categories">
|
<field id="cm:categories">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="compactMode">true</control-param>
|
<control-param name="compactMode">true</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<!-- Example Properties -->
|
<!-- Example Properties -->
|
||||||
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
||||||
</appearance>
|
</appearance>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- Document Library Inline Edit form -->
|
<!-- Document Library Inline Edit form -->
|
||||||
<form id="doclib-inline-edit">
|
<form id="doclib-inline-edit">
|
||||||
<field-visibility>
|
<field-visibility>
|
||||||
<show id="cm:name"/>
|
<show id="cm:name"/>
|
||||||
<show id="cm:content" force="true"/>
|
<show id="cm:content" force="true"/>
|
||||||
<show id="cm:title" force="true"/>
|
<show id="cm:title" force="true"/>
|
||||||
<show id="cm:description" force="true"/>
|
<show id="cm:description" force="true"/>
|
||||||
</field-visibility>
|
</field-visibility>
|
||||||
<appearance>
|
<appearance>
|
||||||
<field id="cm:name">
|
<field id="cm:name">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="maxLength">255</control-param>
|
<control-param name="maxLength">255</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:title">
|
<field id="cm:title">
|
||||||
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:content" label-id="">
|
<field id="cm:content" label-id="">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="editorAppearance">explorer</control-param>
|
<control-param name="editorAppearance">explorer</control-param>
|
||||||
<control-param name="forceEditor">true</control-param>
|
<control-param name="forceEditor">true</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<!-- Example Properties -->
|
<!-- Example Properties -->
|
||||||
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
||||||
</appearance>
|
</appearance>
|
||||||
</form>
|
</form>
|
||||||
</forms>
|
</forms>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
<!-- Create and search forms for acme:document -->
|
<!-- Create and search forms for acme:document -->
|
||||||
<config evaluator="model-type" condition="acme:document">
|
<config evaluator="model-type" condition="acme:document">
|
||||||
<forms>
|
<forms>
|
||||||
<form>
|
<form>
|
||||||
<field-visibility>
|
<field-visibility>
|
||||||
<show id="cm:name"/>
|
<show id="cm:name"/>
|
||||||
<show id="cm:content" force="true"/>
|
<show id="cm:content" force="true"/>
|
||||||
<show id="cm:title" force="true"/>
|
<show id="cm:title" force="true"/>
|
||||||
<show id="cm:description" force="true"/>
|
<show id="cm:description" force="true"/>
|
||||||
<show id="mimetype"/>
|
<show id="mimetype"/>
|
||||||
<show id="app:editInline" force="true"/>
|
<show id="app:editInline" force="true"/>
|
||||||
</field-visibility>
|
</field-visibility>
|
||||||
<appearance>
|
<appearance>
|
||||||
<field id="cm:name">
|
<field id="cm:name">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="maxLength">255</control-param>
|
<control-param name="maxLength">255</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:title">
|
<field id="cm:title">
|
||||||
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:content" label-id="">
|
<field id="cm:content" label-id="">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="editorAppearance">explorer</control-param>
|
<control-param name="editorAppearance">explorer</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="mimetype">
|
<field id="mimetype">
|
||||||
<control template="/org/alfresco/components/form/controls/hidden.ftl">
|
<control template="/org/alfresco/components/form/controls/hidden.ftl">
|
||||||
<control-param name="contextProperty">mimeType</control-param>
|
<control-param name="contextProperty">mimeType</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="app:editInline">
|
<field id="app:editInline">
|
||||||
<control template="/org/alfresco/components/form/controls/hidden.ftl">
|
<control template="/org/alfresco/components/form/controls/hidden.ftl">
|
||||||
<control-param name="contextProperty">editInline</control-param>
|
<control-param name="contextProperty">editInline</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<!-- Example Properties -->
|
<!-- Example Properties -->
|
||||||
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
||||||
</appearance>
|
</appearance>
|
||||||
</form>
|
</form>
|
||||||
<!-- Search form -->
|
<!-- Search form -->
|
||||||
<form id="search">
|
<form id="search">
|
||||||
<field-visibility>
|
<field-visibility>
|
||||||
<show id="cm:name"/>
|
<show id="cm:name"/>
|
||||||
<show id="cm:title" force="true"/>
|
<show id="cm:title" force="true"/>
|
||||||
<show id="cm:description" force="true"/>
|
<show id="cm:description" force="true"/>
|
||||||
<show id="mimetype"/>
|
<show id="mimetype"/>
|
||||||
<show id="cm:modified"/>
|
<show id="cm:modified"/>
|
||||||
<show id="cm:modifier"/>
|
<show id="cm:modifier"/>
|
||||||
</field-visibility>
|
</field-visibility>
|
||||||
<appearance>
|
<appearance>
|
||||||
<field id="mimetype">
|
<field id="mimetype">
|
||||||
<control template="/org/alfresco/components/form/controls/mimetype.ftl"/>
|
<control template="/org/alfresco/components/form/controls/mimetype.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:modifier">
|
<field id="cm:modifier">
|
||||||
<control>
|
<control>
|
||||||
<control-param name="forceEditable">true</control-param>
|
<control-param name="forceEditable">true</control-param>
|
||||||
</control>
|
</control>
|
||||||
</field>
|
</field>
|
||||||
<field id="cm:modified">
|
<field id="cm:modified">
|
||||||
<control template="/org/alfresco/components/form/controls/daterange.ftl"/>
|
<control template="/org/alfresco/components/form/controls/daterange.ftl"/>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<!-- Example Properties -->
|
<!-- Example Properties -->
|
||||||
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
<set id="exampleDocumentSet" appearance="bordered-panel" label-id="form.set.label.example.document"/>
|
||||||
</appearance>
|
</appearance>
|
||||||
</form>
|
</form>
|
||||||
</forms>
|
</forms>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
</alfresco-config>
|
</alfresco-config>
|
||||||
|
@@ -0,0 +1,2 @@
|
|||||||
|
logger.example.name=${package}
|
||||||
|
logger.example.level=info
|
@@ -1,5 +1,5 @@
|
|||||||
module.id=${project.artifactId}
|
module.id=${project.artifactId}
|
||||||
#module.aliases=myModule-123, my-module
|
#module.aliases=myModule-123, my-module
|
||||||
module.title=${project.name}
|
module.title=${project.name}
|
||||||
module.description=${project.description}
|
module.description=${project.description}
|
||||||
module.version=${project.version}
|
module.version=${project.version}
|
||||||
|
@@ -1,95 +1,95 @@
|
|||||||
<alfresco-config>
|
<alfresco-config>
|
||||||
|
|
||||||
<config evaluator="string-compare" condition="WebFramework">
|
<config evaluator="string-compare" condition="WebFramework">
|
||||||
<web-framework>
|
<web-framework>
|
||||||
<autowire>
|
<autowire>
|
||||||
<!-- Changing this to 'development' currently breaks the Admin Console.
|
<!-- Changing this to 'development' currently breaks the Admin Console.
|
||||||
Instead we make a POST to clear Share dependency caches, see 'clear-caches-refresh-ws' profile. -->
|
Instead we make a POST to clear Share dependency caches, see 'clear-caches-refresh-ws' profile. -->
|
||||||
<mode>production</mode> <!-- not really need in the long run, used for YUI - deprecate -->
|
<mode>production</mode> <!-- not really need in the long run, used for YUI - deprecate -->
|
||||||
</autowire>
|
</autowire>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
We don't need to do this when we have the new refresh mojos in the Alfresco plug-in.
|
We don't need to do this when we have the new refresh mojos in the Alfresco plug-in.
|
||||||
|
|
||||||
If resource caching has been disabled then all the dependency caches will be cleared
|
If resource caching has been disabled then all the dependency caches will be cleared
|
||||||
before processing the Aikau jsonModel request...
|
before processing the Aikau jsonModel request...
|
||||||
(i.e. this.dojoDependencyHandler.clearCaches() )
|
(i.e. this.dojoDependencyHandler.clearCaches() )
|
||||||
|
|
||||||
For more information see the Aikau source code: https://github.com/Alfresco/Aikau
|
For more information see the Aikau source code: https://github.com/Alfresco/Aikau
|
||||||
-->
|
-->
|
||||||
<disable-resource-caching>true</disable-resource-caching>
|
<disable-resource-caching>true</disable-resource-caching>
|
||||||
</web-framework>
|
</web-framework>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
||||||
<!-- Global config section -->
|
<!-- Global config section -->
|
||||||
<config replace="true">
|
<config replace="true">
|
||||||
<flags>
|
<flags>
|
||||||
<!--
|
<!--
|
||||||
Developer debugging setting to turn on DEBUG mode for client scripts in the browser
|
Developer debugging setting to turn on DEBUG mode for client scripts in the browser
|
||||||
-->
|
-->
|
||||||
<client-debug>true</client-debug>
|
<client-debug>true</client-debug>
|
||||||
<!--
|
<!--
|
||||||
LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift).
|
LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift).
|
||||||
This flag automatically activates logging on page load.
|
This flag automatically activates logging on page load.
|
||||||
-->
|
-->
|
||||||
<client-debug-autologging>false</client-debug-autologging>
|
<client-debug-autologging>false</client-debug-autologging>
|
||||||
</flags>
|
</flags>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Disable CSRF completely for now
|
Disable CSRF completely for now
|
||||||
It seems Share has issues on 4.2.x with the embedded tomcat and CSRFPolicy
|
It seems Share has issues on 4.2.x with the embedded tomcat and CSRFPolicy
|
||||||
-->
|
-->
|
||||||
<config evaluator="string-compare" condition="CSRFPolicy" replace="true">
|
<config evaluator="string-compare" condition="CSRFPolicy" replace="true">
|
||||||
<filter/>
|
<filter/>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Change so it is picked up from property where the Alfresco Repo Webapp is running
|
Change so it is picked up from property where the Alfresco Repo Webapp is running
|
||||||
(e.g. http://localhost:8080/alfresco)
|
(e.g. http://localhost:8080/alfresco)
|
||||||
-->
|
-->
|
||||||
<config evaluator="string-compare" condition="Remote">
|
<config evaluator="string-compare" condition="Remote">
|
||||||
<remote>
|
<remote>
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<id>alfresco-noauth</id>
|
<id>alfresco-noauth</id>
|
||||||
<name>Alfresco - unauthenticated access</name>
|
<name>Alfresco - unauthenticated access</name>
|
||||||
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
|
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
|
||||||
<connector-id>alfresco</connector-id>
|
<connector-id>alfresco</connector-id>
|
||||||
<endpoint-url>${acs-platform.url}/alfresco/s</endpoint-url>
|
<endpoint-url>${acs-platform.url}/alfresco/s</endpoint-url>
|
||||||
<identity>none</identity>
|
<identity>none</identity>
|
||||||
</endpoint>
|
</endpoint>
|
||||||
|
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<id>alfresco</id>
|
<id>alfresco</id>
|
||||||
<name>Alfresco - user access</name>
|
<name>Alfresco - user access</name>
|
||||||
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
|
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
|
||||||
<connector-id>alfresco</connector-id>
|
<connector-id>alfresco</connector-id>
|
||||||
<endpoint-url>${acs-platform.url}/alfresco/s</endpoint-url>
|
<endpoint-url>${acs-platform.url}/alfresco/s</endpoint-url>
|
||||||
<identity>user</identity>
|
<identity>user</identity>
|
||||||
</endpoint>
|
</endpoint>
|
||||||
|
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<id>alfresco-feed</id>
|
<id>alfresco-feed</id>
|
||||||
<name>Alfresco Feed</name>
|
<name>Alfresco Feed</name>
|
||||||
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
|
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
|
||||||
<connector-id>http</connector-id>
|
<connector-id>http</connector-id>
|
||||||
<endpoint-url>${acs-platform.url}/alfresco/s</endpoint-url>
|
<endpoint-url>${acs-platform.url}/alfresco/s</endpoint-url>
|
||||||
<basic-auth>true</basic-auth>
|
<basic-auth>true</basic-auth>
|
||||||
<identity>user</identity>
|
<identity>user</identity>
|
||||||
</endpoint>
|
</endpoint>
|
||||||
|
|
||||||
<endpoint>
|
<endpoint>
|
||||||
<id>alfresco-api</id>
|
<id>alfresco-api</id>
|
||||||
<parent-id>alfresco</parent-id>
|
<parent-id>alfresco</parent-id>
|
||||||
<name>Alfresco Public API - user access</name>
|
<name>Alfresco Public API - user access</name>
|
||||||
<description>Access to Alfresco Repository Public API that require user authentication.
|
<description>Access to Alfresco Repository Public API that require user authentication.
|
||||||
This makes use of the authentication that is provided by parent 'alfresco' endpoint.</description>
|
This makes use of the authentication that is provided by parent 'alfresco' endpoint.</description>
|
||||||
<connector-id>alfresco</connector-id>
|
<connector-id>alfresco</connector-id>
|
||||||
<endpoint-url>${acs-platform.url}/alfresco/api</endpoint-url>
|
<endpoint-url>${acs-platform.url}/alfresco/api</endpoint-url>
|
||||||
<identity>user</identity>
|
<identity>user</identity>
|
||||||
</endpoint>
|
</endpoint>
|
||||||
</remote>
|
</remote>
|
||||||
</config>
|
</config>
|
||||||
</alfresco-config>
|
</alfresco-config>
|
||||||
|
@@ -1,56 +1,56 @@
|
|||||||
#set( $symbol_pound = '#' )
|
#set( $symbol_pound = '#' )
|
||||||
#set( $symbol_dollar = '$' )
|
#set( $symbol_dollar = '$' )
|
||||||
#set( $symbol_escape = '\' )
|
#set( $symbol_escape = '\' )
|
||||||
# Set root logger level to error
|
# Set root logger level to error
|
||||||
log4j.rootLogger=error, Console, File
|
log4j.rootLogger=error, Console, File
|
||||||
|
|
||||||
# Console appender definition #
|
# Console appender definition #
|
||||||
|
|
||||||
# All outputs currently set to be a ConsoleAppender.
|
# All outputs currently set to be a ConsoleAppender.
|
||||||
log4j.appender.Console=org.apache.log4j.ConsoleAppender
|
log4j.appender.Console=org.apache.log4j.ConsoleAppender
|
||||||
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
|
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
|
||||||
|
|
||||||
# use log4j NDC to replace %x with tenant domain / username
|
# use log4j NDC to replace %x with tenant domain / username
|
||||||
log4j.appender.Console.layout.ConversionPattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %m%n
|
log4j.appender.Console.layout.ConversionPattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %m%n
|
||||||
#log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n
|
#log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n
|
||||||
|
|
||||||
# File appender definition #
|
# File appender definition #
|
||||||
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
|
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
|
||||||
log4j.appender.File.File=share.log
|
log4j.appender.File.File=share.log
|
||||||
log4j.appender.File.Append=true
|
log4j.appender.File.Append=true
|
||||||
log4j.appender.File.DatePattern='.'yyyy-MM-dd
|
log4j.appender.File.DatePattern='.'yyyy-MM-dd
|
||||||
log4j.appender.File.layout=org.apache.log4j.PatternLayout
|
log4j.appender.File.layout=org.apache.log4j.PatternLayout
|
||||||
log4j.appender.File.layout.ConversionPattern=%d{yyyy-MM-dd} %d{ABSOLUTE} %-5p [%c] [%t] %m%n
|
log4j.appender.File.layout.ConversionPattern=%d{yyyy-MM-dd} %d{ABSOLUTE} %-5p [%c] [%t] %m%n
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
log4j.logger.org.springframework=warn
|
log4j.logger.org.springframework=warn
|
||||||
# Turn off Spring remoting warnings that should really be info or debug.
|
# Turn off Spring remoting warnings that should really be info or debug.
|
||||||
log4j.logger.org.springframework.remoting.support=error
|
log4j.logger.org.springframework.remoting.support=error
|
||||||
log4j.logger.org.springframework.util=error
|
log4j.logger.org.springframework.util=error
|
||||||
|
|
||||||
# MyFaces
|
# MyFaces
|
||||||
log4j.logger.org.apache.myfaces.util.DebugUtils=info
|
log4j.logger.org.apache.myfaces.util.DebugUtils=info
|
||||||
log4j.logger.org.apache.myfaces.el.VariableResolverImpl=error
|
log4j.logger.org.apache.myfaces.el.VariableResolverImpl=error
|
||||||
log4j.logger.org.apache.myfaces.application.jsp.JspViewHandlerImpl=error
|
log4j.logger.org.apache.myfaces.application.jsp.JspViewHandlerImpl=error
|
||||||
log4j.logger.org.apache.myfaces.taglib=error
|
log4j.logger.org.apache.myfaces.taglib=error
|
||||||
|
|
||||||
# Alfresco
|
# Alfresco
|
||||||
log4j.logger.org.alfresco=error
|
log4j.logger.org.alfresco=error
|
||||||
log4j.logger.org.alfresco.config=warn
|
log4j.logger.org.alfresco.config=warn
|
||||||
log4j.logger.org.alfresco.config.JndiObjectFactoryBean=warn
|
log4j.logger.org.alfresco.config.JndiObjectFactoryBean=warn
|
||||||
log4j.logger.org.alfresco.web=info
|
log4j.logger.org.alfresco.web=info
|
||||||
|
|
||||||
# Web Framework
|
# Web Framework
|
||||||
log4j.logger.org.springframework.extensions.webscripts=info
|
log4j.logger.org.springframework.extensions.webscripts=info
|
||||||
log4j.logger.org.springframework.extensions.webscripts.ScriptLogger=info
|
log4j.logger.org.springframework.extensions.webscripts.ScriptLogger=info
|
||||||
log4j.logger.org.springframework.extensions.webscripts.ScriptDebugger=off
|
log4j.logger.org.springframework.extensions.webscripts.ScriptDebugger=off
|
||||||
|
|
||||||
# Freemarker
|
# Freemarker
|
||||||
# Note the freemarker.runtime logger is used to log non-fatal errors that are handled by Alfresco's retrying transaction handler
|
# Note the freemarker.runtime logger is used to log non-fatal errors that are handled by Alfresco's retrying transaction handler
|
||||||
log4j.logger.freemarker.runtime=
|
log4j.logger.freemarker.runtime=
|
||||||
|
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
# Custom Share module logging goes here...
|
# Custom Share module logging goes here...
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
|
|
||||||
log4j.logger.${package}=debug
|
log4j.logger.${package}=debug
|
||||||
|
@@ -0,0 +1,74 @@
|
|||||||
|
#set( $symbol_pound = '#' )
|
||||||
|
#set( $symbol_dollar = '$' )
|
||||||
|
#set( $symbol_escape = '\' )
|
||||||
|
# Set root logger level to error
|
||||||
|
rootLogger.level=error
|
||||||
|
rootLogger.appenderRef.stdout.ref=ConsoleAppender
|
||||||
|
rootLogger.appenderRef.rolling.ref=RollingAppender
|
||||||
|
|
||||||
|
# All outputs currently set to be a ConsoleAppender.
|
||||||
|
appender.console.type=Console
|
||||||
|
appender.console.name=ConsoleAppender
|
||||||
|
appender.console.layout.type=PatternLayout
|
||||||
|
appender.console.layout.pattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %replace{%m}{[\r\n]+}{}%n
|
||||||
|
|
||||||
|
###### File appender definition #######
|
||||||
|
appender.rolling.type=RollingFile
|
||||||
|
appender.rolling.name=RollingAppender
|
||||||
|
appender.rolling.fileName=share.log
|
||||||
|
appender.rolling.filePattern=share.log.%d{yyyy-MM-dd}
|
||||||
|
appender.rolling.layout.type=PatternLayout
|
||||||
|
appender.rolling.layout.pattern=%d{yyyy-MM-dd} %d{ABSOLUTE} %-5p [%c] [%t] %replace{%m}{[\r\n]+}{}%n
|
||||||
|
appender.rolling.policies.type = Policies
|
||||||
|
appender.rolling.policies.time.type=TimeBasedTriggeringPolicy
|
||||||
|
appender.rolling.policies.time.interval=1
|
||||||
|
|
||||||
|
# Spring
|
||||||
|
logger.springframework.name=org.springframework
|
||||||
|
logger.springframework.level=warn
|
||||||
|
|
||||||
|
# Turn off Spring remoting warnings that should really be info or debug.
|
||||||
|
logger.springframework-remoting-support.name=org.springframework.remoting.support
|
||||||
|
logger.springframework-remoting-support.level=error
|
||||||
|
logger.springframework-util.name=org.springframework.util
|
||||||
|
logger.springframework-util.level=error
|
||||||
|
|
||||||
|
# MyFaces
|
||||||
|
logger.apache-myfaces-util-DebugUtils.name=org.apache.myfaces.util.DebugUtils
|
||||||
|
logger.apache-myfaces-util-DebugUtils.level=info
|
||||||
|
logger.apache-myfaces-el-VariableResolverImpl.name=org.apache.myfaces.el.VariableResolverImpl
|
||||||
|
logger.apache-myfaces-el-VariableResolverImpl.level=error
|
||||||
|
logger.apache-myfaces-application-jsp-JspViewHandlerImpl.name=org.apache.myfaces.application.jsp.JspViewHandlerImpl
|
||||||
|
logger.apache-myfaces-application-jsp-JspViewHandlerImpl.level=error
|
||||||
|
logger.apache-myfaces-taglib.name=org.apache.myfaces.taglib
|
||||||
|
logger.apache-myfaces-taglib.level=error
|
||||||
|
|
||||||
|
# Alfresco
|
||||||
|
logger.alfresco.name=org.alfresco
|
||||||
|
logger.alfresco.level=error
|
||||||
|
logger.alfresco-config.name=org.alfresco.config
|
||||||
|
logger.alfresco-config.level=warn
|
||||||
|
logger.alfresco-config-JndiObjectFactoryBean.name=org.alfresco.config.JndiObjectFactoryBean
|
||||||
|
logger.alfresco-config-JndiObjectFactoryBean.level=warn
|
||||||
|
logger.alfresco-web.name=org.alfresco.web
|
||||||
|
logger.alfresco-web.level=info
|
||||||
|
|
||||||
|
# Web Framework
|
||||||
|
logger.springframework-extensions-webscripts.name=org.springframework.extensions.webscripts
|
||||||
|
logger.springframework-extensions-webscripts.level=info
|
||||||
|
logger.springframework-extensions-webscripts-ScriptLogger.name=org.springframework.extensions.webscripts.ScriptLogger
|
||||||
|
logger.springframework-extensions-webscripts-ScriptLogger.level=warn
|
||||||
|
logger.springframework-extensions-webscripts-ScriptDebugger.name=org.springframework.extensions.webscripts.ScriptDebugger
|
||||||
|
logger.springframework-extensions-webscripts-ScriptDebugger.level=off
|
||||||
|
|
||||||
|
# Freemarker
|
||||||
|
# Note the freemarker.runtime logger is used to log non-fatal errors that are handled by Alfresco's retrying transaction handler
|
||||||
|
logger.freemarker-runtime.name=freemarker.runtime
|
||||||
|
logger.freemarker-runtime.level=
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
# Custom Share module logging goes here...
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
|
||||||
|
logger.example.name=${package}
|
||||||
|
logger.example.level=debug
|
@@ -35,7 +35,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.20</version>
|
<version>2.40</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- This assures the parent properties override defaults in the tiles -->
|
<!-- This assures the parent properties override defaults in the tiles -->
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.20</version>
|
<version>2.40</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- This assures the parent properties override defaults in the tiles -->
|
<!-- This assures the parent properties override defaults in the tiles -->
|
||||||
|
@@ -5,12 +5,12 @@ function discoverArtifactId {
|
|||||||
|
|
||||||
function rebuild {
|
function rebuild {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_ {
|
function start_ {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
|
@@ -6,12 +6,12 @@ discoverArtifactId() {
|
|||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${groupId};
|
package ${groupId};
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${groupId};
|
package ${groupId};
|
||||||
|
|
||||||
import org.alfresco.transformer.AbstractTransformerController;
|
import org.alfresco.transformer.AbstractTransformerController;
|
||||||
|
@@ -52,19 +52,12 @@ This tile is meant to be used in conjunction with the `beedk-acs-platform-it-til
|
|||||||
|
|
||||||
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.
|
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 |
|
|
||||||
| -------------------------------- |:--------:| --------------- | ----------- |
|
|
||||||
| `alfresco.transform-aio.version` | | *not important* | The version of the [Alfresco Transform Core Engine Docker Image](https://hub.docker.com/r/alfresco/alfresco-transform-core-aio/tags). |
|
|
||||||
|
|
||||||
### Other APIs
|
### Other APIs
|
||||||
|
|
||||||
Additional less important configurations are inherited from the following Maven Tiles.
|
Additional less important configurations are inherited from the following Maven Tiles.
|
||||||
|
|
||||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||||
|
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ate-test-tile)
|
||||||
|
|
||||||
## Results
|
## Results
|
||||||
|
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-lts-it-tile</artifactId>
|
<artifactId>beedk-acs-lts-it-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Local Transform Service</name>
|
<name>Order of the Bee Development Kit: Integration Testing for ACS Local Transform Service</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -9,7 +24,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>docker-maven-plugin</artifactId>
|
<artifactId>docker-maven-plugin</artifactId>
|
||||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>start-alts</id>
|
<id>start-alts</id>
|
||||||
@@ -18,7 +32,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
|
<name>alfresco/alfresco-transform-core-aio:${ate-aio.version}</name>
|
||||||
<alias>ate-aio</alias>
|
<alias>ate-aio</alias>
|
||||||
<run>
|
<run>
|
||||||
<skip>${skipTests}</skip>
|
<skip>${skipTests}</skip>
|
||||||
@@ -38,7 +52,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
|
<name>alfresco/alfresco-transform-core-aio:${ate-aio.version}</name>
|
||||||
<alias>ate-aio</alias>
|
<alias>ate-aio</alias>
|
||||||
</image>
|
</image>
|
||||||
</images>
|
</images>
|
||||||
@@ -58,9 +72,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- versions -->
|
|
||||||
<alfresco.transform-aio.version>2.3.6</alfresco.transform-aio.version>
|
|
||||||
|
|
||||||
<!-- configuring beedk-acs-platform-it-tile -->
|
<!-- configuring beedk-acs-platform-it-tile -->
|
||||||
<beedk.deploy.alts.enabled>true</beedk.deploy.alts.enabled>
|
<beedk.deploy.alts.enabled>true</beedk.deploy.alts.enabled>
|
||||||
</properties>
|
</properties>
|
||||||
@@ -70,6 +81,8 @@
|
|||||||
<tiles>
|
<tiles>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||||
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-ate-test-tile -->
|
||||||
|
<tile>@project.groupId@:beedk-ate-test-tile:@project.version@</tile>
|
||||||
</tiles>
|
</tiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -56,16 +56,16 @@ In your Maven project, set the following properties to define the behavior of th
|
|||||||
|
|
||||||
The following properties are intended to be exposed by inheriting Public API Maven Tiles.
|
The following properties are intended to be exposed by inheriting Public API Maven Tiles.
|
||||||
|
|
||||||
| Maven Property | Required | Default | Description |
|
| Maven Property | Required | Default | Description |
|
||||||
| ------------------------------------- |:--------:| --------------- | ----------- |
|
| ---------------------- |:--------:| --------------- | ----------- |
|
||||||
| `alfresco.transform-aio.port` | | 8091 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
| `ate-aio.port` | | 8091 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||||
| `alfresco.transform-aio.version` | | *not important* | The version of the [Alfresco Transform Core Engine Docker Image](https://hub.docker.com/r/alfresco/alfresco-transform-core-aio/tags). |
|
|
||||||
|
|
||||||
### Other APIs
|
### Other APIs
|
||||||
|
|
||||||
Additional less important configurations are inherited from the following Maven Tiles.
|
Additional less important configurations are inherited from the following Maven Tiles.
|
||||||
|
|
||||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||||
|
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ate-test-tile)
|
||||||
|
|
||||||
## Results
|
## Results
|
||||||
|
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-lts-rad-tile</artifactId>
|
<artifactId>beedk-acs-lts-rad-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Local Transform Service</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Local Transform Service</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -17,20 +32,19 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>docker-maven-plugin</artifactId>
|
<artifactId>docker-maven-plugin</artifactId>
|
||||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>run-alts</id>
|
<id>run-alts</id>
|
||||||
<phase>process-classes</phase>
|
<phase>process-test-classes</phase>
|
||||||
<goals><goal>start</goal></goals>
|
<goals><goal>start</goal></goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
|
<name>alfresco/alfresco-transform-core-aio:${ate-aio.version}</name>
|
||||||
<alias>ate-aio</alias>
|
<alias>ate-aio</alias>
|
||||||
<run>
|
<run>
|
||||||
<ports>
|
<ports>
|
||||||
<port>${alfresco.transform-aio.port}:8090</port>
|
<port>${ate-aio.port}:8090</port>
|
||||||
</ports>
|
</ports>
|
||||||
<network>
|
<network>
|
||||||
<mode>custom</mode>
|
<mode>custom</mode>
|
||||||
@@ -55,10 +69,7 @@
|
|||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- configurable -->
|
<!-- configurable -->
|
||||||
<alfresco.transform-aio.port>8091</alfresco.transform-aio.port>
|
<ate-aio.port>8091</ate-aio.port>
|
||||||
|
|
||||||
<!-- versions -->
|
|
||||||
<alfresco.transform-aio.version>2.3.6</alfresco.transform-aio.version>
|
|
||||||
|
|
||||||
<!-- configuring beedk-acs-platform-rad-tile -->
|
<!-- configuring beedk-acs-platform-rad-tile -->
|
||||||
<beedk.rad.alts.enabled>true</beedk.rad.alts.enabled>
|
<beedk.rad.alts.enabled>true</beedk.rad.alts.enabled>
|
||||||
@@ -69,6 +80,8 @@
|
|||||||
<tiles>
|
<tiles>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||||
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-ate-test-tile -->
|
||||||
|
<tile>@project.groupId@:beedk-ate-test-tile:@project.version@</tile>
|
||||||
</tiles>
|
</tiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -50,6 +50,8 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
|||||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||||
| `project.build.packageDirectory` | | `target/package` | A variable specifying the folder name of consolidated resources for packaging. |
|
| `project.build.packageDirectory` | | `target/package` | A variable specifying the folder name of consolidated resources for packaging. |
|
||||||
| `alfresco.module.pathname` | | `${project.groupId}.${project.artifactId}` | A variable specifying the folder name of module resources. Use this property to help reference module resources. It should rarely ever be overridden. |
|
| `alfresco.module.pathname` | | `${project.groupId}.${project.artifactId}` | A variable specifying the folder name of module resources. Use this property to help reference module resources. It should rarely ever be overridden. |
|
||||||
|
| `alfresco.module.classifier` | | *None* | A Maven classifier for the artifact. |
|
||||||
|
| `alfresco.module.noAmp` | | *Automatic* | Set to `false` to force AMP generation; `true` to force JAR. A value of `true` could produce a non-functional module. |
|
||||||
|
|
||||||
## Results
|
## Results
|
||||||
|
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-module-tile</artifactId>
|
<artifactId>beedk-acs-module-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Module Core</name>
|
<name>Order of the Bee Development Kit: ACS Module Core</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -15,6 +30,51 @@
|
|||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>module-snapshot-timestamp</id>
|
||||||
|
<phase>initialize</phase>
|
||||||
|
<goals><goal>timestamp-property</goal></goals>
|
||||||
|
<configuration>
|
||||||
|
<name>module.timestamp</name>
|
||||||
|
<timeSource>build</timeSource>
|
||||||
|
<pattern>yyyyMMddHHmmss</pattern>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.inteligr8</groupId>
|
||||||
|
<artifactId>regex-maven-plugin</artifactId>
|
||||||
|
<version>1.0.5</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>acs-module-version</id>
|
||||||
|
<phase>initialize</phase>
|
||||||
|
<goals><goal>replace-text</goal></goals>
|
||||||
|
<configuration>
|
||||||
|
<text>${project.version}</text>
|
||||||
|
<newProperty>module.version</newProperty>
|
||||||
|
<regexes>
|
||||||
|
<!-- turn -SNAPSHOT into ATIMESTAMP -->
|
||||||
|
<regex>
|
||||||
|
<pattern>^(.*)-SNAPSHOT$</pattern>
|
||||||
|
<replacement>$1-A${module.timestamp}</replacement>
|
||||||
|
</regex>
|
||||||
|
<!-- all others are just a copy -->
|
||||||
|
<regex>
|
||||||
|
<pattern>^(.*)$</pattern>
|
||||||
|
<replacement>$1</replacement>
|
||||||
|
</regex>
|
||||||
|
</regexes>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
@@ -110,7 +170,7 @@
|
|||||||
</nonFilteredFileExtensions>
|
</nonFilteredFileExtensions>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<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>
|
<execution>
|
||||||
<id>consolidate-resources</id>
|
<id>consolidate-resources</id>
|
||||||
<phase>process-resources</phase>
|
<phase>process-resources</phase>
|
||||||
@@ -121,6 +181,9 @@
|
|||||||
<resource>
|
<resource>
|
||||||
<directory>${project.build.outputDirectory}</directory>
|
<directory>${project.build.outputDirectory}</directory>
|
||||||
<filtering>false</filtering>
|
<filtering>false</filtering>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/*.class</exclude>
|
||||||
|
</excludes>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>${project.build.directory}/module-classes</directory>
|
<directory>${project.build.directory}/module-classes</directory>
|
||||||
@@ -133,6 +196,24 @@
|
|||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<!-- This plugin execution consolidates the compiled resources into one directory for packaging -->
|
||||||
|
<execution>
|
||||||
|
<id>consolidate-classes</id>
|
||||||
|
<phase>process-test-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>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- This plugin minifies (compresses) JavaScript files -->
|
<!-- This plugin minifies (compresses) JavaScript files -->
|
||||||
@@ -181,8 +262,8 @@
|
|||||||
<!-- This plugin builds an AMP file during the package phase -->
|
<!-- This plugin builds an AMP file during the package phase -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
<artifactId>amp-plugin</artifactId>
|
<artifactId>amp-maven-plugin</artifactId>
|
||||||
<version>1.0.1</version>
|
<version>1.1.4</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>build-amp-file</id>
|
<id>build-amp-file</id>
|
||||||
@@ -191,7 +272,83 @@
|
|||||||
<goal>amp</goal>
|
<goal>amp</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<skip>${beedk.jar.notest.empty}</skip>
|
<classifier>${alfresco.module.classifier}</classifier>
|
||||||
|
<skip>${alfresco.module.noAmp}</skip>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- This plugin checks for an AMP file produced during the package phase -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.inteligr8</groupId>
|
||||||
|
<artifactId>conditional-maven-plugin</artifactId>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>check-amp-file</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>file-existence</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||||
|
<trueValue>false</trueValue>
|
||||||
|
<falseValue>true</falseValue>
|
||||||
|
<newProperty>beedk.noAmp</newProperty>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>check-amp-classifier-file</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>file-existence</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
|
||||||
|
<trueValue>false</trueValue>
|
||||||
|
<falseValue>true</falseValue>
|
||||||
|
<newProperty>beedk.noAmpClassifier</newProperty>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- This plugin enables/disables the AMP file during the install/deploy phases -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-amp</id>
|
||||||
|
<phase>post-integration-test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>attach-artifact</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifacts>
|
||||||
|
<artifact>
|
||||||
|
<type>amp</type>
|
||||||
|
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||||
|
</artifact>
|
||||||
|
</artifacts>
|
||||||
|
<skipAttach>${beedk.noAmp}</skipAttach>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>attach-amp-classifier</id>
|
||||||
|
<phase>post-integration-test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>attach-artifact</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifacts>
|
||||||
|
<artifact>
|
||||||
|
<type>amp</type>
|
||||||
|
<classifier>${alfresco.module.classifier}</classifier>
|
||||||
|
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
|
||||||
|
</artifact>
|
||||||
|
</artifacts>
|
||||||
|
<skipAttach>${beedk.noAmpClassifier}</skipAttach>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
@@ -242,6 +399,8 @@
|
|||||||
<!-- configurable -->
|
<!-- configurable -->
|
||||||
<project.build.packageDirectory>${project.build.directory}/package</project.build.packageDirectory>
|
<project.build.packageDirectory>${project.build.directory}/package</project.build.packageDirectory>
|
||||||
<alfresco.module.pathname>${project.groupId}.${project.artifactId}</alfresco.module.pathname>
|
<alfresco.module.pathname>${project.groupId}.${project.artifactId}</alfresco.module.pathname>
|
||||||
|
<alfresco.module.classifier></alfresco.module.classifier>
|
||||||
|
<alfresco.module.noAmp>${beedk.jar.notest.empty}</alfresco.module.noAmp>
|
||||||
|
|
||||||
<!-- output -->
|
<!-- output -->
|
||||||
<alfresco.module.path>alfresco/module/${alfresco.module.pathname}</alfresco.module.path>
|
<alfresco.module.path>alfresco/module/${alfresco.module.pathname}</alfresco.module.path>
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Artifact</name>
|
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Artifact</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -8,14 +23,15 @@
|
|||||||
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>3.1.2</version>
|
<version>3.6.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- This execution downloads the Platform WAR -->
|
<!-- This execution downloads the Platform WAR -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>download-platform-webapp</id>
|
<id>download-platform-webapp</id>
|
||||||
<phase>pre-integration-test</phase>
|
<phase>package</phase>
|
||||||
<goals><goal>copy</goal></goals>
|
<goals><goal>copy</goal></goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<skip>${skipTests}</skip>
|
||||||
<artifactItems>
|
<artifactItems>
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>${alfresco.platform.war.groupId}</groupId>
|
<groupId>${alfresco.platform.war.groupId}</groupId>
|
||||||
@@ -30,9 +46,10 @@
|
|||||||
<!-- This execution downloads the postgreSQL JDBC JAR -->
|
<!-- This execution downloads the postgreSQL JDBC JAR -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>download-platform-jdbc</id>
|
<id>download-platform-jdbc</id>
|
||||||
<phase>pre-integration-test</phase>
|
<phase>package</phase>
|
||||||
<goals><goal>copy</goal></goals>
|
<goals><goal>copy</goal></goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<skip>${skipTests}</skip>
|
||||||
<artifactItems>
|
<artifactItems>
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Artifact</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Artifact</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -16,7 +31,7 @@
|
|||||||
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>3.1.2</version>
|
<version>3.6.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- This execution downloads the Platform WAR -->
|
<!-- This execution downloads the Platform WAR -->
|
||||||
<execution>
|
<execution>
|
||||||
|
@@ -48,10 +48,13 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
|||||||
| Maven Property | Required | Default | Description |
|
| Maven Property | Required | Default | Description |
|
||||||
| -------------------------- |:--------:| --------------- | ----------- |
|
| -------------------------- |:--------:| --------------- | ----------- |
|
||||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
||||||
|
| `acs-platform-ha.port` | | 8081 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
||||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
||||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
|
||||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
||||||
| `acs-platform.timeout` | | 120000 | The time to wait for the startup to complete, in milliseconds. |
|
| `acs-platform.timeout` | | 120000 | The time to wait for the startup to complete, in milliseconds. |
|
||||||
|
| `alfresco.license.directory` | | `${user.home}/alfresco/license` | The base path to search for Alfresco licenses. |
|
||||||
|
| `acs.license.directory` | | `${alfresco.license.directory}/acs` | The base path to search for an ACS license. |
|
||||||
| `acs-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |
|
| `acs-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |
|
||||||
| `acs-activemq.version` | | *not important* | The version of Alfresco ActiveMQ to use in the integration testing infrastructure. |
|
| `acs-activemq.version` | | *not important* | The version of Alfresco ActiveMQ to use in the integration testing infrastructure. |
|
||||||
|
|
||||||
@@ -65,6 +68,7 @@ The following properties are only intended to be defined by BeeDK components.
|
|||||||
| `beedk.deploy.platform.testClassesDirectory` | | | An additional test classpath directory to sideload into the web application. |
|
| `beedk.deploy.platform.testClassesDirectory` | | | An additional test classpath directory to sideload into the web application. |
|
||||||
| `beedk.deploy.platform.extDirectory` | | | An additional directory of JARs to sideload into the web application. |
|
| `beedk.deploy.platform.extDirectory` | | | An additional directory of JARs to sideload into the web application. |
|
||||||
| `beedk.deploy.platform.dataDirectory` | | `${project.build.directory}/alf_data` | The temporary binary storage location for ACS. |
|
| `beedk.deploy.platform.dataDirectory` | | `${project.build.directory}/alf_data` | The temporary binary storage location for ACS. |
|
||||||
|
| `beedk.deploy.acs-ha.enabled` | | false | Start an additional instance of the ACS platform for cluster-related testing. |
|
||||||
| `beedk.deploy.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) tile **AFTER** this tile. |
|
| `beedk.deploy.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) tile **AFTER** this tile. |
|
||||||
| `beedk.deploy.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) tile **AFTER** this tile. |
|
| `beedk.deploy.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) tile **AFTER** this tile. |
|
||||||
| `beedk.deploy.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) tile **AFTER** this tile. |
|
| `beedk.deploy.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) tile **AFTER** this tile. |
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-it-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform Core</name>
|
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform Core</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -16,6 +31,7 @@
|
|||||||
<phase>pre-integration-test</phase>
|
<phase>pre-integration-test</phase>
|
||||||
<goals><goal>start</goal></goals>
|
<goals><goal>start</goal></goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<startParallel>true</startParallel>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
<name>postgres:${acs-postgres.version}</name>
|
<name>postgres:${acs-postgres.version}</name>
|
||||||
@@ -37,10 +53,17 @@
|
|||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
<image>
|
<image>
|
||||||
<name>alfresco/alfresco-activemq:${acs-activemq.version}</name>
|
<name>apache/activemq-classic:${acs-activemq.version}</name>
|
||||||
<alias>acs-mq</alias>
|
<alias>acs-mq</alias>
|
||||||
<run>
|
<run>
|
||||||
<skip>${skipTests}</skip>
|
<skip>${skipTests}</skip>
|
||||||
|
<env>
|
||||||
|
<ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>false</ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>
|
||||||
|
<ACTIVEMQ_USERNAME>alfresco</ACTIVEMQ_USERNAME>
|
||||||
|
<ACTIVEMQ_PASSWORD>alfresco</ACTIVEMQ_PASSWORD>
|
||||||
|
<ACTIVEMQ_WEBADMIN_USERNAME>admin</ACTIVEMQ_WEBADMIN_USERNAME>
|
||||||
|
<ACTIVEMQ_WEBADMIN_PASSWORD>admin</ACTIVEMQ_WEBADMIN_PASSWORD>
|
||||||
|
</env>
|
||||||
<ports>
|
<ports>
|
||||||
<port>${acs-activemq.port}:8161</port>
|
<port>${acs-activemq.port}:8161</port>
|
||||||
</ports>
|
</ports>
|
||||||
@@ -57,29 +80,59 @@
|
|||||||
<skip>${skipTests}</skip>
|
<skip>${skipTests}</skip>
|
||||||
<env>
|
<env>
|
||||||
<JAVA_MEMORY_MAX>${acs-platform.memory}</JAVA_MEMORY_MAX>
|
<JAVA_MEMORY_MAX>${acs-platform.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 \
|
<ENABLE_JDWP>false</ENABLE_JDWP>
|
||||||
|
<ENABLE_HOTSWAP>false</ENABLE_HOTSWAP>
|
||||||
|
<CATALINA_OPTS>--add-opens=java.base/java.net=ALL-UNNAMED \
|
||||||
|
-Dencryption.keystore.location=/tmp/metadata.keystore \
|
||||||
|
-Dmetadata-keystore.password=alfresco \
|
||||||
|
-Dmetadata-keystore.aliases=metadata \
|
||||||
|
-Dmetadata-keystore.metadata.password=alfresco \
|
||||||
|
-Dmetadata-keystore.metadata.algorithm=AES \
|
||||||
|
-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 \
|
-Dmessaging.broker.url=failover:\(tcp://${project.artifactId}-acs-mq:61616\)?timeout\=3000\&jms.useCompression\=true \
|
||||||
-Dtransform.service.enabled=${beedk.deploy.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
-Dmessaging.broker.username=alfresco \
|
||||||
|
-Dmessaging.broker.password=alfresco \
|
||||||
|
-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} \
|
-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 \
|
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 \
|
||||||
|
-DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||||
-Djodconverter.enabled=false \
|
-Djodconverter.enabled=false \
|
||||||
-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 \
|
-Dsystem.workflow.engine.activiti.enabled=false \
|
||||||
-Dindex.subsystem.name=${beedk.deploy.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
-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=secret \
|
||||||
|
-Dsolr.sharedSecret=alfresco-secret \
|
||||||
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
||||||
</env>
|
</env>
|
||||||
<ports>
|
<ports>
|
||||||
<port>${acs-platform.port}:8080</port>
|
<port>${acs-platform.port}:8080</port>
|
||||||
</ports>
|
</ports>
|
||||||
|
<links>
|
||||||
|
<link>acs-db</link>
|
||||||
|
<link>acs-mq</link>
|
||||||
|
</links>
|
||||||
<network>
|
<network>
|
||||||
<mode>custom</mode>
|
<mode>custom</mode>
|
||||||
<name>${project.artifactId}</name>
|
<name>${project.artifactId}</name>
|
||||||
</network>
|
</network>
|
||||||
<volumes>
|
<volumes>
|
||||||
<bind>
|
<bind>
|
||||||
|
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
|
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.testClassesDirectory}:/var/lib/tomcat/dev/classes:ro</volume>
|
<volume>${beedk.deploy.platform.classesDirectory}:/var/lib/tomcat/dev/classes:ro</volume>
|
||||||
|
<volume>${beedk.deploy.platform.testClassesDirectory}:/var/lib/tomcat/dev/classes-extra1:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
||||||
|
<volume>${basedir}/metadata.keystore:/tmp/metadata.keystore:ro</volume>
|
||||||
</bind>
|
</bind>
|
||||||
</volumes>
|
</volumes>
|
||||||
<wait>
|
<wait>
|
||||||
@@ -92,6 +145,77 @@
|
|||||||
</wait>
|
</wait>
|
||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
|
<image>
|
||||||
|
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||||
|
<alias>acs-platform-ha</alias>
|
||||||
|
<run>
|
||||||
|
<skip>${beedk.deploy.acs-ha.skip}</skip>
|
||||||
|
<env>
|
||||||
|
<JAVA_MEMORY_MAX>${acs-platform.memory}</JAVA_MEMORY_MAX>
|
||||||
|
<ENABLE_JDWP>false</ENABLE_JDWP>
|
||||||
|
<ENABLE_HOTSWAP>false</ENABLE_HOTSWAP>
|
||||||
|
<CATALINA_OPTS>--add-opens=java.base/java.net=ALL-UNNAMED \
|
||||||
|
-Dencryption.keystore.location=/tmp/metadata.keystore \
|
||||||
|
-Dmetadata-keystore.password=alfresco \
|
||||||
|
-Dmetadata-keystore.aliases=metadata \
|
||||||
|
-Dmetadata-keystore.metadata.password=alfresco \
|
||||||
|
-Dmetadata-keystore.metadata.algorithm=AES \
|
||||||
|
-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 \
|
||||||
|
-Dmessaging.broker.username=alfresco \
|
||||||
|
-Dmessaging.broker.password=alfresco \
|
||||||
|
-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 \
|
||||||
|
-Dsystem.workflow.engine.activiti.enabled=false \
|
||||||
|
-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=secret \
|
||||||
|
-Dsolr.sharedSecret=alfresco-secret \
|
||||||
|
${acs-platform-ha.tomcat.opts}</CATALINA_OPTS>
|
||||||
|
</env>
|
||||||
|
<ports>
|
||||||
|
<port>${acs-platform-ha.port}:8080</port>
|
||||||
|
</ports>
|
||||||
|
<links>
|
||||||
|
<link>acs-db</link>
|
||||||
|
<link>acs-mq</link>
|
||||||
|
</links>
|
||||||
|
<network>
|
||||||
|
<mode>custom</mode>
|
||||||
|
<name>${project.artifactId}</name>
|
||||||
|
</network>
|
||||||
|
<volumes>
|
||||||
|
<bind>
|
||||||
|
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
|
||||||
|
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
|
||||||
|
<volume>${beedk.deploy.platform.classesDirectory}:/var/lib/tomcat/dev/classes:ro</volume>
|
||||||
|
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
||||||
|
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
||||||
|
<volume>${basedir}/metadata.keystore:/tmp/metadata.keystore:ro</volume>
|
||||||
|
</bind>
|
||||||
|
</volumes>
|
||||||
|
<wait>
|
||||||
|
<http>
|
||||||
|
<url>http://localhost:${acs-platform-ha.port}/alfresco/service/api/server</url>
|
||||||
|
<method>GET</method>
|
||||||
|
<status>200..399</status>
|
||||||
|
</http>
|
||||||
|
<time>${acs-platform.timeout}</time>
|
||||||
|
</wait>
|
||||||
|
</run>
|
||||||
|
</image>
|
||||||
</images>
|
</images>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@@ -106,13 +230,17 @@
|
|||||||
<alias>acs-db</alias>
|
<alias>acs-db</alias>
|
||||||
</image>
|
</image>
|
||||||
<image>
|
<image>
|
||||||
<name>alfresco/alfresco-activemq:${acs-activemq.version}</name>
|
<name>apache/activemq-classic:${acs-activemq.version}</name>
|
||||||
<alias>acs-mq</alias>
|
<alias>acs-mq</alias>
|
||||||
</image>
|
</image>
|
||||||
<image>
|
<image>
|
||||||
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||||
<alias>acs-platform</alias>
|
<alias>acs-platform</alias>
|
||||||
</image>
|
</image>
|
||||||
|
<image>
|
||||||
|
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||||
|
<alias>acs-platform-ha</alias>
|
||||||
|
</image>
|
||||||
</images>
|
</images>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@@ -122,6 +250,28 @@
|
|||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>acs-ha-disabled</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>!beedk.deploy.acs-ha.enabled</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<beedk.deploy.acs-ha.skip>true</beedk.deploy.acs-ha.skip>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>acs-ha-enabled</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>beedk.deploy.acs-ha.enabled</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<beedk.deploy.acs-ha.skip>${skipTests}</beedk.deploy.acs-ha.skip>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>acs-search-disabled</id>
|
<id>acs-search-disabled</id>
|
||||||
<activation>
|
<activation>
|
||||||
@@ -189,21 +339,25 @@
|
|||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- configurable -->
|
<!-- configurable -->
|
||||||
|
<beedk.deploy.platform.classesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.classesDirectory>
|
||||||
<beedk.deploy.platform.testClassesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.testClassesDirectory>
|
<beedk.deploy.platform.testClassesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.testClassesDirectory>
|
||||||
<beedk.deploy.platform.extDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.extDirectory>
|
<beedk.deploy.platform.extDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.extDirectory>
|
||||||
<beedk.deploy.platform.dataDirectory>${project.build.directory}/alf_data</beedk.deploy.platform.dataDirectory>
|
<beedk.deploy.platform.dataDirectory>${project.build.directory}/alf_data</beedk.deploy.platform.dataDirectory>
|
||||||
<acs-platform.timeout>120000</acs-platform.timeout>
|
<acs-platform.timeout>120000</acs-platform.timeout>
|
||||||
<acs-platform.memory>1g</acs-platform.memory>
|
<acs-platform.memory>1g</acs-platform.memory>
|
||||||
|
<alfresco.license.directory>${user.home}/alfresco/license</alfresco.license.directory>
|
||||||
|
<acs.license.directory>${alfresco.license.directory}/acs</acs.license.directory>
|
||||||
|
|
||||||
<!-- ports -->
|
<!-- ports -->
|
||||||
<acs-postgres.port>5432</acs-postgres.port>
|
<acs-postgres.port>5432</acs-postgres.port>
|
||||||
<acs-activemq.port>8161</acs-activemq.port>
|
<acs-activemq.port>8161</acs-activemq.port>
|
||||||
<acs-platform.port>8080</acs-platform.port>
|
<acs-platform.port>8080</acs-platform.port>
|
||||||
|
<acs-platform-ha.port>8081</acs-platform-ha.port>
|
||||||
|
|
||||||
<!-- versions -->
|
<!-- versions -->
|
||||||
<acs-postgres.version>9.6</acs-postgres.version>
|
<acs-postgres.version>12</acs-postgres.version>
|
||||||
<acs-activemq.version>5.15.8</acs-activemq.version>
|
<acs-activemq.version>5.18.4</acs-activemq.version>
|
||||||
<tomcat-rad.version>9-1.3</tomcat-rad.version>
|
<tomcat-rad.version>9-2.1</tomcat-rad.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
@@ -1,16 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-module-archetype</artifactId>
|
<artifactId>beedk-acs-platform-module-archetype</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>
|
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -19,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -32,21 +49,8 @@
|
|||||||
<extension>
|
<extension>
|
||||||
<groupId>org.apache.maven.archetype</groupId>
|
<groupId>org.apache.maven.archetype</groupId>
|
||||||
<artifactId>archetype-packaging</artifactId>
|
<artifactId>archetype-packaging</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>${archetype-packaging.version}</version>
|
||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</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>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
Binary file not shown.
@@ -1,82 +1,71 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>${groupId}</groupId>
|
<groupId>${groupId}</groupId>
|
||||||
<artifactId>${artifactId}</artifactId>
|
<artifactId>${artifactId}</artifactId>
|
||||||
<version>${version}</version>
|
<version>${version}</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>${shortname} ACS Platform Module</name>
|
<name>${shortname} ACS Platform Module</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
|
|
||||||
<alfresco.sdk.version>4.2.0</alfresco.sdk.version>
|
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
|
||||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
<alfresco.platform.version>7.4.2</alfresco.platform.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>${alfresco.platform.version}</version>
|
<version>${alfresco.platform.version}</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- Very popular, but not required, dependency -->
|
<!-- Very popular, but not required, dependency -->
|
||||||
<!-- Provided as an example -->
|
<!-- Provided as an example -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-repository</artifactId>
|
<artifactId>alfresco-repository</artifactId>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.20</version>
|
<version>2.40</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tiles>
|
<tiles>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile -->
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile -->
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:${beedkVersion}</tile>
|
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:${beedkVersion}</tile>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile -->
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile -->
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:${beedkVersion}</tile>
|
<tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:${beedkVersion}</tile>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:${beedkVersion}</tile> -->
|
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:${beedkVersion}</tile> -->
|
||||||
</tiles>
|
</tiles>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>inteligr8-releases</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
</repositories>
|
||||||
<id>alfresco-public</id>
|
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>inteligr8-releases</id>
|
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
</project>
|
</project>
|
@@ -5,22 +5,27 @@ function discoverArtifactId {
|
|||||||
|
|
||||||
function rebuild {
|
function rebuild {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_ {
|
function start_ {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
echo "Stopping containers ..."
|
echo "Stopping containers ..."
|
||||||
docker container stop (docker container ls -q --filter name=${ARTIFACT_ID}-*)
|
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
|
||||||
echo "Removing containers ..."
|
echo "Removing containers ..."
|
||||||
docker container rm (docker container ls -aq --filter name=${ARTIFACT_ID}-*)
|
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
|
||||||
}
|
}
|
||||||
|
|
||||||
function tail_logs {
|
function tail_logs {
|
||||||
@@ -29,18 +34,21 @@ function tail_logs {
|
|||||||
)
|
)
|
||||||
|
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container logs -f (docker container ls -q --filter name=${ARTIFACT_ID}-${container})
|
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
|
||||||
}
|
}
|
||||||
|
|
||||||
function list {
|
function list {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($args[0]) {
|
switch ($args[0]) {
|
||||||
"start" {
|
"start" {
|
||||||
start_
|
start_
|
||||||
}
|
}
|
||||||
|
"start_log" {
|
||||||
|
start_log
|
||||||
|
}
|
||||||
"stop" {
|
"stop" {
|
||||||
stop_
|
stop_
|
||||||
}
|
}
|
||||||
@@ -58,7 +66,7 @@ switch ($args[0]) {
|
|||||||
list
|
list
|
||||||
}
|
}
|
||||||
default {
|
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,43 +1,51 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
echo "Rebuilding project ..."
|
echo "Rebuilding project ..."
|
||||||
mvn process-classes
|
mvn process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
mvn -Drad process-classes
|
mvn -Drad process-test-classes
|
||||||
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-test-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
echo "Stopping containers ..."
|
echo "Stopping containers ..."
|
||||||
docker container stop `docker container ls -q --filter name=${ARTIFACT_ID}-*`
|
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
|
||||||
echo "Removing containers ..."
|
echo "Removing containers ..."
|
||||||
docker container rm `docker container ls -aq --filter name=${ARTIFACT_ID}-*`
|
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
|
||||||
}
|
}
|
||||||
|
|
||||||
tail_logs() {
|
tail_logs() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container logs -f `docker container ls -q --filter name=${ARTIFACT_ID}-$1`
|
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
|
||||||
}
|
}
|
||||||
|
|
||||||
list() {
|
list() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
|
start_log)
|
||||||
|
start_log
|
||||||
|
;;
|
||||||
stop)
|
stop)
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
@@ -55,7 +63,7 @@ case "$1" in
|
|||||||
list
|
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
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -16,6 +30,8 @@ import org.springframework.stereotype.Component;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is an example of how you can use the Alfresco Java Public API in Alfresco Actions.
|
* This class is an example of how you can use the Alfresco Java Public API in Alfresco Actions.
|
||||||
|
*
|
||||||
|
* The bean must be declared in the XML and not through annotations.
|
||||||
*/
|
*/
|
||||||
public class ExampleActionExecuter extends ActionExecuterAbstractBase {
|
public class ExampleActionExecuter extends ActionExecuterAbstractBase {
|
||||||
|
|
||||||
@@ -31,9 +47,8 @@ public class ExampleActionExecuter extends ActionExecuterAbstractBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void executeImpl(Action action, NodeRef actionedUponNoderef) {
|
protected void executeImpl(Action action, NodeRef actionedUponNodeRef) {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("executeImpl({})", actionedUponNodeRef);
|
||||||
this.logger.trace("executeImpl('" + actionedUponNoderef + "')");
|
|
||||||
|
|
||||||
String value = (String)action.getParameterValue("example.param");
|
String value = (String)action.getParameterValue("example.param");
|
||||||
// TODO do some work
|
// TODO do some work
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||||
@@ -6,27 +20,47 @@ import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransacti
|
|||||||
import org.alfresco.service.ServiceRegistry;
|
import org.alfresco.service.ServiceRegistry;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.DisposableBean;
|
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
|
import org.springframework.context.ApplicationEvent;
|
||||||
|
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is an example of how you can use the Alfresco Java Public API on startup or shutdown.
|
* This class is an example of how you can use the Alfresco Java Public API on startup or shutdown.
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
public class ExampleBootstrap extends AbstractLifecycleBean {
|
||||||
|
|
||||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
||||||
// this is the Alfresco Public Java API entrypoint
|
// this is the Alfresco Public Java API entrypoint
|
||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
@Override
|
@Value("${example.config.value:default}")
|
||||||
public void afterPropertiesSet() throws Exception {
|
private String configValue;
|
||||||
if (this.logger.isTraceEnabled())
|
|
||||||
this.logger.trace("onStartup()");
|
@Value("${example.config.value:#{null}}")
|
||||||
|
private String configValueWithNullDefault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is called after Spring beans and configuration are injected, but
|
||||||
|
* before ACS services are ready. So don't call any ACS services, start an
|
||||||
|
* ACS transaction, or try to create an authentication context.
|
||||||
|
*/
|
||||||
|
@PostConstruct
|
||||||
|
private void init() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is called after @PostConstruct and all the ACS services are
|
||||||
|
* initialized and ready. You will have no authentication or transaction
|
||||||
|
* context.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected void onBootstrap(ApplicationEvent event) {
|
||||||
|
this.logger.trace("onBootstrap()");
|
||||||
|
|
||||||
// provide some authority within the Alfresco context
|
// provide some authority within the Alfresco context
|
||||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||||
@@ -43,11 +77,15 @@ public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
/**
|
||||||
public void destroy() throws Exception {
|
* This is called after @PostConstruct and all the ACS services are
|
||||||
if (this.logger.isTraceEnabled())
|
* initialized and ready. You will have no authentication or transaction
|
||||||
this.logger.trace("onShutdown()");
|
* context.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected void onShutdown(ApplicationEvent event) {
|
||||||
|
this.logger.trace("onShutdown()");
|
||||||
|
|
||||||
// provide some authority within the Alfresco context
|
// provide some authority within the Alfresco context
|
||||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||||
|
@@ -1,21 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy;
|
import org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy;
|
||||||
|
import org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy;
|
||||||
|
import org.alfresco.repo.policy.annotation.Behaviour;
|
||||||
|
import org.alfresco.repo.policy.annotation.BehaviourBean;
|
||||||
|
import org.alfresco.repo.policy.annotation.BehaviourKind;
|
||||||
import org.alfresco.repo.policy.Behaviour.NotificationFrequency;
|
import org.alfresco.repo.policy.Behaviour.NotificationFrequency;
|
||||||
import org.alfresco.repo.policy.JavaBehaviour;
|
import org.alfresco.repo.policy.JavaBehaviour;
|
||||||
import org.alfresco.service.ServiceRegistry;
|
import org.alfresco.service.ServiceRegistry;
|
||||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||||
|
import org.alfresco.service.namespace.QName;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is an example of how you can use the Alfresco Java Public API when Alfresco triggers an event.
|
* This class is an example of how you can use the Alfresco Java Public API when Alfresco triggers an event.
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class ExampleEventListener implements InitializingBean, OnCreateNodePolicy {
|
@BehaviourBean
|
||||||
|
public class ExampleEventListener extends AbstractLifecycleBean implements OnCreateNodePolicy, OnUpdatePropertiesPolicy {
|
||||||
|
|
||||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
||||||
@@ -23,26 +46,44 @@ public class ExampleEventListener implements InitializingBean, OnCreateNodePolic
|
|||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
protected void onBootstrap(ApplicationEvent event) {
|
||||||
this.bind();
|
this.bind();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This must be called after the `PolicyComponent` is initialized/ready.
|
||||||
|
* So you cannot call it from with `@PostConstruct` or using
|
||||||
|
* `InitializingBean`.
|
||||||
|
*/
|
||||||
public void bind() {
|
public void bind() {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("bind()");
|
||||||
this.logger.trace("bind()");
|
|
||||||
|
|
||||||
// example listener
|
// example listener
|
||||||
this.serviceRegistry.getPolicyComponent().bindClassBehaviour(OnCreateNodePolicy.QNAME, this,
|
this.serviceRegistry.getPolicyComponent().bindClassBehaviour(OnCreateNodePolicy.QNAME, this,
|
||||||
new JavaBehaviour(this, OnCreateNodePolicy.QNAME.getLocalName(), NotificationFrequency.TRANSACTION_COMMIT));
|
new JavaBehaviour(this, OnCreateNodePolicy.QNAME.getLocalName(), NotificationFrequency.TRANSACTION_COMMIT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This will execute with the same authentication and transaction context
|
||||||
|
* as was used to create the node, unless the binding is
|
||||||
|
* `TRANSACTION_COMMIT`. Then it will only have the same transaction
|
||||||
|
* context and the authentication context used when starting the
|
||||||
|
* transaction.
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onCreateNode(ChildAssociationRef childAssocRef) {
|
public void onCreateNode(ChildAssociationRef childAssocRef) {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("onCreateNode({})", childAssocRef.getChildRef());
|
||||||
this.logger.trace("onCreateNode('" + childAssocRef.getChildRef() + "')");
|
|
||||||
|
|
||||||
// TODO do some work
|
// TODO do some work
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Behaviour(kind = BehaviorKind.CLASS, NotificationFrequency = NotificationFrequency.FIRST_EVENT)
|
||||||
|
public void onUpdateProperties(NodeRef nodeRef, Map<QName, Serializable> before, Map<QName, Serializable> after) {
|
||||||
|
this.logger.trace("onUpdateProperties({})", nodeRef);
|
||||||
|
|
||||||
|
// TODO do some work
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.service.ServiceRegistry;
|
import org.alfresco.service.ServiceRegistry;
|
||||||
@@ -25,10 +39,14 @@ public class ExampleGetWebScript extends AbstractWebScript {
|
|||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This will have the authentication context of the authenticated user
|
||||||
|
* calling the REST endpoint. The transaction context is defined in the
|
||||||
|
* web script descriptor.
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {
|
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("execute()");
|
||||||
this.logger.trace("execute()");
|
|
||||||
|
|
||||||
// TODO do some work
|
// TODO do some work
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.processor.BaseProcessorExtension;
|
import org.alfresco.repo.processor.BaseProcessorExtension;
|
||||||
@@ -9,6 +23,8 @@ import org.springframework.stereotype.Component;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is an example of how you can use the Alfresco Java Public API to extend the JavaScript engine.
|
* This class is an example of how you can use the Alfresco Java Public API to extend the JavaScript engine.
|
||||||
|
*
|
||||||
|
* The bean must be declared in the XML and not through annotations.
|
||||||
*/
|
*/
|
||||||
public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
||||||
|
|
||||||
@@ -18,11 +34,16 @@ public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
|||||||
@Autowired
|
@Autowired
|
||||||
protected ServiceRegistry serviceRegistry;
|
protected ServiceRegistry serviceRegistry;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An example method that called from within a JavaScript within the ACS
|
||||||
|
* application: `example.getMessage("example.property")`. All simple
|
||||||
|
* parameter and return types are generally supported.
|
||||||
|
*
|
||||||
|
* The `example` root name comes from the `module-context.xml` file.
|
||||||
|
*/
|
||||||
public String getMessage(String messageKey) {
|
public String getMessage(String messageKey) {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("getMessage({})", messageKey);
|
||||||
this.logger.trace("getMessage('" + messageKey + "')");
|
|
||||||
|
|
||||||
// just and example method, called in JS with: example.getMessage("example.property");
|
|
||||||
return this.serviceRegistry.getDictionaryService().getMessage(messageKey);
|
return this.serviceRegistry.getDictionaryService().getMessage(messageKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package ${package};
|
package ${package};
|
||||||
|
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||||
@@ -47,8 +61,7 @@ public class ExampleJob implements Job {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(JobExecutionContext context) throws JobExecutionException {
|
public void execute(JobExecutionContext context) throws JobExecutionException {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("execute({})", context.getFireInstanceId());
|
||||||
this.logger.trace("execute('" + context.getFireInstanceId() + "')");
|
|
||||||
|
|
||||||
// provide some authority within the Alfresco context
|
// provide some authority within the Alfresco context
|
||||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||||
@@ -67,8 +80,7 @@ public class ExampleJob implements Job {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void fire(JobExecutionContext context) throws JobExecutionException {
|
public void fire(JobExecutionContext context) throws JobExecutionException {
|
||||||
if (this.logger.isTraceEnabled())
|
this.logger.trace("fire({})", context.getFireInstanceId());
|
||||||
this.logger.trace("fire('" + context.getFireInstanceId() + "')");
|
|
||||||
|
|
||||||
// TODO do some work
|
// TODO do some work
|
||||||
}
|
}
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
package ${package}.annotation;
|
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
@Target(ElementType.TYPE)
|
|
||||||
public @interface ModuleEarlyComponent {
|
|
||||||
|
|
||||||
}
|
|
@@ -1,12 +0,0 @@
|
|||||||
package ${package}.annotation;
|
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
|
||||||
@Target(ElementType.TYPE)
|
|
||||||
public @interface ModuleLateComponent {
|
|
||||||
|
|
||||||
}
|
|
@@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ${package}.spring;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
public @interface ModuleEarlyComponent {
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ${package}.spring;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
public @interface ModuleLateComponent {
|
||||||
|
|
||||||
|
}
|
@@ -1,9 +1,10 @@
|
|||||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||||
<webscript>
|
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<shortname>Example Webscript</shortname>
|
xsi:noNamespaceSchemaLocation="https://bitbucket.org/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||||
<description>Example Java-backed webscript description</description>
|
<shortname>Example Webscript</shortname>
|
||||||
<url>/exampleJava?paramName={paramValue}</url>
|
<description>Example Java-backed webscript description</description>
|
||||||
<authentication>user</authentication>
|
<family>${shortname}</family>
|
||||||
<format default="json"></format>
|
<url>/exampleJava?paramName={paramValue}</url>
|
||||||
<family>${shortname}</family>
|
<format default="json"></format>
|
||||||
|
<authentication>user</authentication>
|
||||||
</webscript>
|
</webscript>
|
||||||
|
@@ -1,9 +1,10 @@
|
|||||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||||
<webscript>
|
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<shortname>Example Webscript</shortname>
|
xsi:noNamespaceSchemaLocation="https://bitbucket.org/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||||
<description>Example JS-backed webscript description</description>
|
<shortname>Example Webscript</shortname>
|
||||||
<url>/exampleJs?paramName={paramValue}</url>
|
<description>Example JS-backed webscript description</description>
|
||||||
<authentication>guest</authentication>
|
<family>${shortname}</family>
|
||||||
<format default="json"></format>
|
<url>/exampleJs?paramName={paramValue}</url>
|
||||||
<family>${shortname}</family>
|
<format default="json"></format>
|
||||||
|
<authentication>guest</authentication>
|
||||||
</webscript>
|
</webscript>
|
||||||
|
@@ -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>
|
@@ -0,0 +1,2 @@
|
|||||||
|
logger.example.name=${package}
|
||||||
|
logger.example.level=info
|
@@ -1,24 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<model name="ootbee:exampleDataModel"
|
<model name="ootbee:exampleDataModel"
|
||||||
xmlns="http://www.alfresco.org/model/dictionary/1.0"
|
xmlns="http://www.alfresco.org/model/dictionary/1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 https://raw.githubusercontent.com/Alfresco/alfresco-repository/master/src/main/resources/alfresco/model/modelSchema.xsd">
|
xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 https://raw.githubusercontent.com/Alfresco/alfresco-repository/master/src/main/resources/alfresco/model/modelSchema.xsd">
|
||||||
|
|
||||||
<description>Example Data Model</description>
|
<description>Example Data Model</description>
|
||||||
<author>Order of the Bee</author>
|
<author>Order of the Bee</author>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
|
|
||||||
<imports>
|
<imports>
|
||||||
<!-- Import Alfresco Dictionary Definitions -->
|
<!-- Import Alfresco Dictionary Definitions -->
|
||||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
||||||
<!-- Import Alfresco Content Domain Model Definitions -->
|
<!-- Import Alfresco Content Domain Model Definitions -->
|
||||||
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||||
<!-- Import Alfresco System Model Definitions -->
|
<!-- Import Alfresco System Model Definitions -->
|
||||||
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
||||||
</imports>
|
</imports>
|
||||||
|
|
||||||
<namespaces>
|
<namespaces>
|
||||||
<namespace uri="http://orderofthebee.org/alfresco/model/example/1.0" prefix="example"/>
|
<namespace uri="http://orderofthebee.org/alfresco/model/example/1.0" prefix="example"/>
|
||||||
</namespaces>
|
</namespaces>
|
||||||
|
|
||||||
</model>
|
</model>
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<!-- Enable Spring annotation scanning for classes in package -->
|
<!-- Enable Spring annotation scanning for classes in package -->
|
||||||
<context:component-scan base-package="${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>
|
</context:component-scan>
|
||||||
|
|
||||||
<!-- Example Data Model loading -->
|
<!-- Example Data Model loading -->
|
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
<!-- Enable Spring annotation scanning for classes in package -->
|
<!-- Enable Spring annotation scanning for classes in package -->
|
||||||
<context:component-scan base-package="${package}">
|
<context:component-scan base-package="${package}">
|
||||||
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleEarlyComponent" />
|
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleEarlyComponent" />
|
||||||
<context:exclude-filter type="annotation" expression="${package}.annotation.ModuleLateComponent" />
|
<context:exclude-filter type="annotation" expression="${package}.spring.ModuleLateComponent" />
|
||||||
</context:component-scan>
|
</context:component-scan>
|
||||||
|
|
||||||
<bean id="${project.groupId}.${project.artifactId}.jsroot.example" class="${package}.ExampleJavaScriptRootObject" parent="baseJavaScriptExtension">
|
<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}.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>
|
</beans>
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<!-- Enable Spring annotation scanning for classes in package -->
|
<!-- Enable Spring annotation scanning for classes in package -->
|
||||||
<context:component-scan base-package="${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>
|
</context:component-scan>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
module.id=${project.artifactId}
|
module.id=${project.artifactId}
|
||||||
#module.aliases=myModule-123, my-module
|
#module.aliases=myModule-123, my-module
|
||||||
module.title=${project.name}
|
module.title=${project.name}
|
||||||
module.description=${project.description}
|
module.description=${project.description}
|
||||||
module.version=${project.version}
|
module.version=${project.version}
|
||||||
|
@@ -0,0 +1,8 @@
|
|||||||
|
# Module debugging
|
||||||
|
logger.example.level=trace
|
||||||
|
|
||||||
|
# WebScript debugging
|
||||||
|
logger.springframework-extensions-webscripts-ScriptLogger.level=debug
|
||||||
|
|
||||||
|
# non-WebScript JavaScript execution debugging
|
||||||
|
logger.alfresco-repo-jscript-ScriptLogger.level=debug
|
@@ -1,63 +1,63 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||||
<!--
|
<!--
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
this work for additional information regarding copyright ownership.
|
this work for additional information regarding copyright ownership.
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
(the "License"); you may not use this file except in compliance with
|
(the "License"); you may not use this file except in compliance with
|
||||||
the License. You may obtain a copy of the License at
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<beans>
|
<beans>
|
||||||
<!--
|
<!--
|
||||||
To support hot reloading of server side Javascript files in Share, we have to turn on development mode.
|
To support hot reloading of server side Javascript files in Share, we have to turn on development mode.
|
||||||
This setting will tell the Rhinoscript Processor not to compile and cache the JS files.
|
This setting will tell the Rhinoscript Processor not to compile and cache the JS files.
|
||||||
Cool, we can now change server side JS files and have the changes picked up,
|
Cool, we can now change server side JS files and have the changes picked up,
|
||||||
without having to restart or refresh web scripts.
|
without having to restart or refresh web scripts.
|
||||||
|
|
||||||
But… Due to a known bug in the Surf framework (ALF-9970) this will break the admin consoles in Share.
|
But… Due to a known bug in the Surf framework (ALF-9970) this will break the admin consoles in Share.
|
||||||
|
|
||||||
Override this bean and disable javascript compilation so that webscripts can be hot reloaded.
|
Override this bean and disable javascript compilation so that webscripts can be hot reloaded.
|
||||||
We have changed the 'compile' property from true to false.
|
We have changed the 'compile' property from true to false.
|
||||||
-->
|
-->
|
||||||
<bean id="javaScriptProcessor" class="org.alfresco.repo.jscript.RhinoScriptProcessor" init-method="register">
|
<bean id="javaScriptProcessor" class="org.alfresco.repo.jscript.RhinoScriptProcessor" init-method="register">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<value>javascript</value>
|
<value>javascript</value>
|
||||||
</property>
|
</property>
|
||||||
<property name="extension">
|
<property name="extension">
|
||||||
<value>js</value>
|
<value>js</value>
|
||||||
</property>
|
</property>
|
||||||
<!-- Do not "compile javascript and cache compiled scripts" -->
|
<!-- Do not "compile javascript and cache compiled scripts" -->
|
||||||
<property name="compile">
|
<property name="compile">
|
||||||
<value>false</value>
|
<value>false</value>
|
||||||
</property>
|
</property>
|
||||||
<!-- allow sharing of sealed scopes for performance -->
|
<!-- allow sharing of sealed scopes for performance -->
|
||||||
<!-- disable to give each script it's own new scope which can be extended -->
|
<!-- disable to give each script it's own new scope which can be extended -->
|
||||||
<property name="shareSealedScopes">
|
<property name="shareSealedScopes">
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</property>
|
</property>
|
||||||
<property name="scriptService">
|
<property name="scriptService">
|
||||||
<ref bean="scriptService"/>
|
<ref bean="scriptService"/>
|
||||||
</property>
|
</property>
|
||||||
<!-- Creates ScriptNodes which require the ServiceRegistry -->
|
<!-- Creates ScriptNodes which require the ServiceRegistry -->
|
||||||
<property name="serviceRegistry">
|
<property name="serviceRegistry">
|
||||||
<ref bean="ServiceRegistry"/>
|
<ref bean="ServiceRegistry"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="storeUrl">
|
<property name="storeUrl">
|
||||||
<value>${spaces.store}</value>
|
<value>${spaces.store}</value>
|
||||||
</property>
|
</property>
|
||||||
<property name="storePath">
|
<property name="storePath">
|
||||||
<value>${spaces.company_home.childname}</value>
|
<value>${spaces.company_home.childname}</value>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-module-tile</artifactId>
|
<artifactId>beedk-acs-platform-module-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Platform Module</name>
|
<name>Order of the Bee Development Kit: ACS Platform Module</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
|
@@ -49,12 +49,17 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
|||||||
|
|
||||||
| Maven Property | Required | Default | Description |
|
| Maven Property | Required | Default | Description |
|
||||||
| -------------------------- |:--------:| --------------- | ----------- |
|
| -------------------------- |:--------:| --------------- | ----------- |
|
||||||
|
| `acs-platform.hotswap.enabled` | | true | Enable the HotSwap Agent for live classpath reloading. |
|
||||||
|
| `acs-platform.hotswap.disablePlugins` | | Hibernate | Do not enable the HotSwap Agent with the following plugins. All plugins are documented here: https://github.com/HotswapProjects/HotswapAgent/tree/master/plugin |
|
||||||
|
| `acs-platform.debugger.enabled` | | true | Enable the JDWP debugger. |
|
||||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
||||||
| `acs-platform.timeout` | | 120000 | The time to wait for the startup to complete, in milliseconds. |
|
| `acs-platform.timeout` | | 120000 | The time to wait for the startup to complete, in milliseconds. |
|
||||||
|
| `alfresco.license.directory` | | `${user.home}/alfresco/license` | The base path to search for Alfresco licenses. |
|
||||||
|
| `acs.license.directory` | | `${alfresco.license.directory}/acs` | The base path to search for an ACS license. |
|
||||||
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
|
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
|
||||||
| `acs-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |
|
| `acs-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |
|
||||||
| `acs-activemq.version` | | *not important* | The version of Alfresco ActiveMQ to use in the integration testing infrastructure. |
|
| `acs-activemq.version` | | *not important* | The version of Alfresco ActiveMQ to use in the integration testing infrastructure. |
|
||||||
@@ -80,7 +85,7 @@ The following properties are only intended to be defined by BeeDK components.
|
|||||||
| `beedk.rad.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile) tile **AFTER** this tile. |
|
| `beedk.rad.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile) tile **AFTER** this tile. |
|
||||||
| `beedk.rad.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile) tile **AFTER** this tile. |
|
| `beedk.rad.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile) tile **AFTER** this tile. |
|
||||||
| `beedk.rad.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ats-rad-tile) tile **AFTER** this tile. |
|
| `beedk.rad.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ats-rad-tile) tile **AFTER** this tile. |
|
||||||
| `acs-api-explorer.version` | | `6.2.0` | The API Explorer version. You could use `${alfresco.platform.version}` in ACS Enterprise. This will eventually parse the ACS Platform version for the right value. |
|
| `acs-api-explorer.version` | | `7.4.2` | The API Explorer version. You could use `${alfresco.platform.version}` in ACS Enterprise. This will eventually parse the ACS Platform version for the right value. |
|
||||||
|
|
||||||
### Other APIs
|
### Other APIs
|
||||||
|
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-rad-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Platform Core</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Platform Core</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -16,7 +31,7 @@
|
|||||||
<!-- This plugin downloads ancillary WARs -->
|
<!-- This plugin downloads ancillary WARs -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>3.1.2</version>
|
<version>3.6.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- This execution downloads the API Explorer WAR -->
|
<!-- This execution downloads the API Explorer WAR -->
|
||||||
<execution>
|
<execution>
|
||||||
@@ -58,11 +73,10 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>docker-maven-plugin</artifactId>
|
<artifactId>docker-maven-plugin</artifactId>
|
||||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>run-acs-platform</id>
|
<id>run-acs-platform</id>
|
||||||
<phase>process-classes</phase>
|
<phase>process-test-classes</phase>
|
||||||
<goals><goal>start</goal></goals>
|
<goals><goal>start</goal></goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<images>
|
<images>
|
||||||
@@ -85,9 +99,16 @@
|
|||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
<image>
|
<image>
|
||||||
<name>alfresco/alfresco-activemq:${acs-activemq.version}</name>
|
<name>apache/activemq-classic:${acs-activemq.version}</name>
|
||||||
<alias>acs-mq</alias>
|
<alias>acs-mq</alias>
|
||||||
<run>
|
<run>
|
||||||
|
<env>
|
||||||
|
<ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>false</ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>
|
||||||
|
<ACTIVEMQ_USERNAME>alfresco</ACTIVEMQ_USERNAME>
|
||||||
|
<ACTIVEMQ_PASSWORD>alfresco</ACTIVEMQ_PASSWORD>
|
||||||
|
<ACTIVEMQ_WEBADMIN_USERNAME>admin</ACTIVEMQ_WEBADMIN_USERNAME>
|
||||||
|
<ACTIVEMQ_WEBADMIN_PASSWORD>admin</ACTIVEMQ_WEBADMIN_PASSWORD>
|
||||||
|
</env>
|
||||||
<ports>
|
<ports>
|
||||||
<port>${acs-activemq.port}:8161</port>
|
<port>${acs-activemq.port}:8161</port>
|
||||||
</ports>
|
</ports>
|
||||||
@@ -103,14 +124,39 @@
|
|||||||
<run>
|
<run>
|
||||||
<env>
|
<env>
|
||||||
<JAVA_MEMORY_MAX>${acs-platform.memory}</JAVA_MEMORY_MAX>
|
<JAVA_MEMORY_MAX>${acs-platform.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 \
|
<ENABLE_JDWP>${acs-platform.debugger.enabled}</ENABLE_JDWP>
|
||||||
|
<ENABLE_HOTSWAP>${acs-platform.hotswap.enabled}</ENABLE_HOTSWAP>
|
||||||
|
<DISABLE_HOTSWAP_PLUGINS>${acs-platform.hotswap.disablePlugins}</DISABLE_HOTSWAP_PLUGINS>
|
||||||
|
<CATALINA_OPTS>--add-opens=java.base/java.net=ALL-UNNAMED \
|
||||||
|
-Dencryption.keystore.location=/tmp/metadata.keystore \
|
||||||
|
-Dmetadata-keystore.password=alfresco \
|
||||||
|
-Dmetadata-keystore.aliases=metadata \
|
||||||
|
-Dmetadata-keystore.metadata.password=alfresco \
|
||||||
|
-Dmetadata-keystore.metadata.algorithm=AES \
|
||||||
|
-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 \
|
-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 \
|
-Dmessaging.broker.username=alfresco \
|
||||||
|
-Dmessaging.broker.password=alfresco \
|
||||||
|
-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} \
|
-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 \
|
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 \
|
||||||
|
-DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||||
-Djodconverter.enabled=false \
|
-Djodconverter.enabled=false \
|
||||||
-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 \
|
-Dsystem.workflow.engine.activiti.enabled=false \
|
||||||
-Dindex.subsystem.name=${beedk.rad.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
-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=secret \
|
||||||
|
-Dsolr.sharedSecret=alfresco-secret \
|
||||||
|
-Dcsrf.filter.enabled=false \
|
||||||
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
||||||
</env>
|
</env>
|
||||||
<ports>
|
<ports>
|
||||||
@@ -123,6 +169,7 @@
|
|||||||
</network>
|
</network>
|
||||||
<volumes>
|
<volumes>
|
||||||
<bind>
|
<bind>
|
||||||
|
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
|
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
|
||||||
<volume>${beedk.deploy.api-explorer.warFile}:/var/lib/tomcat/webapps/api-explorer.war:ro</volume>
|
<volume>${beedk.deploy.api-explorer.warFile}:/var/lib/tomcat/webapps/api-explorer.war:ro</volume>
|
||||||
<volume>${beedk.deploy.aos.warFile}:/var/lib/tomcat/webapps/_vti_bin.war:ro</volume>
|
<volume>${beedk.deploy.aos.warFile}:/var/lib/tomcat/webapps/_vti_bin.war:ro</volume>
|
||||||
@@ -133,6 +180,7 @@
|
|||||||
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.webDirectory}:/var/lib/tomcat/dev/web:ro</volume>
|
<volume>${beedk.deploy.platform.webDirectory}:/var/lib/tomcat/dev/web:ro</volume>
|
||||||
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
||||||
|
<volume>${basedir}/metadata.keystore:/tmp/metadata.keystore:ro</volume>
|
||||||
</bind>
|
</bind>
|
||||||
</volumes>
|
</volumes>
|
||||||
<wait>
|
<wait>
|
||||||
@@ -230,11 +278,16 @@
|
|||||||
<beedk.deploy.platform.warDirectory>${project.build.warDirectory}</beedk.deploy.platform.warDirectory>
|
<beedk.deploy.platform.warDirectory>${project.build.warDirectory}</beedk.deploy.platform.warDirectory>
|
||||||
<acs-platform.timeout>150000</acs-platform.timeout>
|
<acs-platform.timeout>150000</acs-platform.timeout>
|
||||||
<acs-platform.memory>1g</acs-platform.memory>
|
<acs-platform.memory>1g</acs-platform.memory>
|
||||||
|
<acs-platform.debugger.enabled>true</acs-platform.debugger.enabled>
|
||||||
|
<acs-platform.hotswap.enabled>true</acs-platform.hotswap.enabled>
|
||||||
|
<acs-platform.hotswap.disablePlugins>Hibernate</acs-platform.hotswap.disablePlugins>
|
||||||
<acs-api-explorer.war.groupId>org.alfresco</acs-api-explorer.war.groupId>
|
<acs-api-explorer.war.groupId>org.alfresco</acs-api-explorer.war.groupId>
|
||||||
<acs-api-explorer.war.artifactId>api-explorer</acs-api-explorer.war.artifactId>
|
<acs-api-explorer.war.artifactId>api-explorer</acs-api-explorer.war.artifactId>
|
||||||
<acs-api-explorer.war.version>${acs-api-explorer.version}</acs-api-explorer.war.version>
|
<acs-api-explorer.war.version>${acs-api-explorer.version}</acs-api-explorer.war.version>
|
||||||
<beedk.deploy.api-explorer.warFile>${beedk.deploy.platform.warDirectory}/${acs-api-explorer.war.artifactId}-${acs-api-explorer.war.version}.war</beedk.deploy.api-explorer.warFile>
|
<beedk.deploy.api-explorer.warFile>${beedk.deploy.platform.warDirectory}/${acs-api-explorer.war.artifactId}-${acs-api-explorer.war.version}.war</beedk.deploy.api-explorer.warFile>
|
||||||
<beedk.deploy.aos.warFile>${beedk.deploy.platform.warDirectory}/alfresco-vti-bin-${acs-aos.war.version}.war</beedk.deploy.aos.warFile>
|
<beedk.deploy.aos.warFile>${beedk.deploy.platform.warDirectory}/alfresco-vti-bin-${acs-aos.war.version}.war</beedk.deploy.aos.warFile>
|
||||||
|
<alfresco.license.directory>${user.home}/alfresco/license</alfresco.license.directory>
|
||||||
|
<acs.license.directory>${alfresco.license.directory}/acs</acs.license.directory>
|
||||||
|
|
||||||
<!-- ports -->
|
<!-- ports -->
|
||||||
<acs-postgres.port>5432</acs-postgres.port>
|
<acs-postgres.port>5432</acs-postgres.port>
|
||||||
@@ -243,11 +296,11 @@
|
|||||||
<acs-platform.debugger.port>8000</acs-platform.debugger.port>
|
<acs-platform.debugger.port>8000</acs-platform.debugger.port>
|
||||||
|
|
||||||
<!-- versions -->
|
<!-- versions -->
|
||||||
<acs-api-explorer.version>6.2.0</acs-api-explorer.version> <!-- TODO use and parse alfresco.platform.version -->
|
<acs-api-explorer.version>7.4.0</acs-api-explorer.version> <!-- TODO use and parse alfresco.platform.version -->
|
||||||
<acs-aos.war.version>1.3.2.1</acs-aos.war.version>
|
<acs-aos.war.version>1.3.2.1</acs-aos.war.version>
|
||||||
<acs-postgres.version>9.6</acs-postgres.version>
|
<acs-postgres.version>12</acs-postgres.version>
|
||||||
<acs-activemq.version>5.15.8</acs-activemq.version>
|
<acs-activemq.version>5.18.4</acs-activemq.version>
|
||||||
<tomcat-rad.version>9-1.3</tomcat-rad.version>
|
<tomcat-rad.version>9-2.1</tomcat-rad.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform</name>
|
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -8,7 +23,7 @@
|
|||||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>3.1.2</version>
|
<version>3.6.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||||
<execution>
|
<execution>
|
||||||
@@ -84,14 +99,16 @@
|
|||||||
|
|
||||||
<!-- versions -->
|
<!-- versions -->
|
||||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||||
|
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
||||||
|
|
||||||
<!-- configuring beedk-acs-platform-it-tile -->
|
<!-- configuring beedk-acs-platform-it-tile -->
|
||||||
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
||||||
|
<beedk.deploy.platform.classesDirectory>${project.build.outputDirectory}</beedk.deploy.platform.classesDirectory>
|
||||||
<beedk.deploy.platform.testClassesDirectory>${project.build.testOutputDirectory}</beedk.deploy.platform.testClassesDirectory>
|
<beedk.deploy.platform.testClassesDirectory>${project.build.testOutputDirectory}</beedk.deploy.platform.testClassesDirectory>
|
||||||
<beedk.deploy.platform.extDirectory>${project.build.extDirectory}</beedk.deploy.platform.extDirectory>
|
<beedk.deploy.platform.extDirectory>${project.build.extDirectory}</beedk.deploy.platform.extDirectory>
|
||||||
|
|
||||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
@@ -60,11 +60,10 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
|||||||
|
|
||||||
| Maven Property | Required | Default | Description |
|
| Maven Property | Required | Default | Description |
|
||||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-aritfact-rad-tile)* |
|
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-rad-tile)* |
|
||||||
| `alfresco.platform.version` | *Maybe* | | The Alfresco Platform version to use for RAD. See below for more details. |
|
| `alfresco.platform.version` | *Maybe* | | The Alfresco Platform version to use for RAD. See below for more details. |
|
||||||
| `edition` | | `community` | The Alfresco Platform edition used for RAD. `community` or `enterprise`. See below for more details. |
|
| `edition` | | `community` | The Alfresco Platform edition used for RAD. `community` or `enterprise`. See below for more details. |
|
||||||
| `alfresco.war.version` | *Maybe* | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository.<br/>*Inherited from [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-tile)* |
|
| `alfresco.war.version` | *Maybe* | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository.<br/>*Inherited from [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-tile)* |
|
||||||
| `project.build.extDirectory` | | `${project.build.directory}/ext/platform` | An additional directory of JARs to add to the ACS Platform at runtime. |
|
|
||||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
@@ -16,7 +31,7 @@
|
|||||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>3.1.2</version>
|
<version>3.6.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||||
<execution>
|
<execution>
|
||||||
@@ -88,6 +103,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<!-- versions -->
|
<!-- versions -->
|
||||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||||
|
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
||||||
|
|
||||||
<!-- configuring beedk-acs-platform-rad-tile -->
|
<!-- configuring beedk-acs-platform-rad-tile -->
|
||||||
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
||||||
@@ -100,7 +116,7 @@
|
|||||||
<beedk.deploy.platform.webDirectory>${project.build.directory}/web-resources</beedk.deploy.platform.webDirectory>
|
<beedk.deploy.platform.webDirectory>${project.build.directory}/web-resources</beedk.deploy.platform.webDirectory>
|
||||||
|
|
||||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Sibling Project</name>
|
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Sibling Project</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
-->
|
||||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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">
|
||||||
|
@@ -1,17 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
|
||||||
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-parent</artifactId>
|
||||||
|
<version>1.1.13</version>
|
||||||
|
<relativePath>..</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Sibling Project</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Sibling Project</name>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||||
|
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
<connection>scm:git:https://bitbucket.org/inteligr8/ootbee-beedk.git</connection>
|
||||||
|
<developerConnection>scm:git:git@bitbucket.org:inteligr8/ootbee-beedk.git</developerConnection>
|
||||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
</scm>
|
</scm>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -20,6 +35,7 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
<id>brian.long</id>
|
||||||
<name>Brian Long</name>
|
<name>Brian Long</name>
|
||||||
<email>brian@inteligr8.com</email>
|
<email>brian@inteligr8.com</email>
|
||||||
<organization>Inteligr8</organization>
|
<organization>Inteligr8</organization>
|
||||||
@@ -33,16 +49,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<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>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user