Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
875a580854 | |||
5474eef9f5 | |||
61b7e6d728 | |||
ad92fb5a21 | |||
a68baeae70 | |||
417c419900 | |||
d80c6b9400 | |||
df89b65373 | |||
45b72fd703 | |||
33b38f47cc | |||
9815726895 | |||
669f1e6970 | |||
af196113e2 | |||
52d8f70130 | |||
da7d9e3c5e | |||
8d2be7ad2b | |||
a7d1509c24 | |||
27861a933d | |||
7a6267132e | |||
3756c96cff |
74
README.md
74
README.md
@@ -73,50 +73,61 @@ The following components are useful to users of the BeeDK.
|
|||||||
|
|
||||||
| Component | Folder Link | Details |
|
| Component | Folder Link | Details |
|
||||||
| ------------------------------------- | ------------- | ------- |
|
| ------------------------------------- | ------------- | ------- |
|
||||||
| `beedk-acs-platform-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile) | Intended to be inherited by all Alfresco Platform module projects; Includes ampification, integration testing framework, and more. |
|
| `beedk-acs-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, integration testing framework, and more. |
|
| `beedk-acs-share-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile) | Intended to be inherited by all Alfresco Share module projects; Includes ampification, JS compression, and more. |
|
||||||
| `beedk-acs-platform-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile) | Intended to be inherited by all Alfresco Platform web application projects; Includes installing AMPs, integration testing framework, and more. |
|
| `beedk-acs-platform-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile) | Intended to be inherited by all Alfresco Platform web application projects; Includes installing AMPs, and more. |
|
||||||
| `beedk-acs-share-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile) | Intended to be inherited by all Alfresco Share web application projects; Includes installing AMPs, integration testing framework, and more. |
|
| `beedk-acs-share-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile) | Intended to be inherited by all Alfresco Share web application projects; Includes installing AMPs, 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. |
|
||||||
| `beedk-aps-ext-tile` | *Coming Soon* | Intended to be inherited by all Alfresco Process Service extension projects; Includes integration testing framework and more. |
|
| `beedk-activiti-ext-tile` | *Coming Soon* | Intended to be inherited by all Alfresco Process Services or Activiti extension projects. |
|
||||||
| `beedk-flowable-ext-tile` | *Coming Soon* | Intended to be inherited by all Flowable extension projects; Includes integration testing framework and more. |
|
| `beedk-flowable-ext-tile` | *Coming Soon* | Intended to be inherited by all Flowable extension projects. |
|
||||||
| `beedk-camunda-ext-tile` | *Coming Soon* | Intended to be inherited by all Camunda extension projects; Includes integration testing framework and more. |
|
| `beedk-camunda-ext-tile` | *Coming Soon* | Intended to be inherited by all Camunda extension projects. |
|
||||||
|
|
||||||
#### ACS Platform Accessories
|
#### ACS Platform Accessories
|
||||||
|
|
||||||
| Component | Folder Link | Details |
|
| Component | Folder Link | Details |
|
||||||
| ------------------------------------- | ------------- | ------- |
|
| ------------------------------------- | ------------- | ------- |
|
||||||
| `beedk-acs-platform-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-platform-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
| `beedk-acs-platform-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-platform-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
||||||
| `beedk-acs-platform-sibling-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-it-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project. It enables integration testing with the sibling ACS Platform. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, and APS extensions in **all-in-one** style Maven projects. |
|
| `beedk-acs-platform-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile) | Intended to be inherited by any ACS Platform module or web application Maven project. It enables integration testing with the ACS Platform. |
|
||||||
| `beedk-acs-platform-artifact-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-it-tile) | Intended to be inherited by any Maven project that does not have a sibling Alfresco Platform module or web application Maven project. It enables integration testing with any ACS Platform as an already built Maven Artifact. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, APS extensions, and non-Alfresco applications in **standalone** projects. |
|
| `beedk-acs-platform-sibling-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-it-tile) | Intended to be inherited by any Maven project that has a sibling ACS Platform module or web application Maven project. It enables integration testing with the sibling ACS Platform. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, and APS extensions in **all-in-one** style Maven projects. |
|
||||||
| `beedk-acs-search-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality for integration testing purposes. |
|
| `beedk-acs-platform-artifact-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-it-tile) | Intended to be inherited by any Maven project that does not have a sibling ACS Platform module or web application Maven project. It enables integration testing with any ACS Platform as an already built Maven Artifact. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, APS extensions, and non-Alfresco applications in **standalone** projects. |
|
||||||
| `beedk-acs-lts-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality for integration testing purposes. |
|
| `beedk-acs-search-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality for integration testing purposes. |
|
||||||
| `beedk-ats-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality for integration testing purposes. |
|
| `beedk-acs-lts-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality for integration testing purposes. |
|
||||||
| `beedk-ate-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-tile` Maven Tile. It enables integration testing of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality for integration testing purposes. |
|
| `beedk-ats-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality for integration testing purposes. |
|
||||||
|
| `beedk-ate-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality for integration testing purposes. |
|
||||||
|
|
||||||
#### ACS Share Accessories
|
#### ACS Share Accessories
|
||||||
|
|
||||||
| Component | Folder Link | Details |
|
| Component | Folder Link | Details |
|
||||||
| ------------------------------------- | ------------- | ------- |
|
| ------------------------------------- | ------------- | ------- |
|
||||||
| `beedk-acs-share-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-share-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
| `beedk-acs-share-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-share-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
||||||
|
| `beedk-acs-share-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile) | Intended to be inherited by any ACS Share module or web application Maven project. It enables integration testing with ACS Share. |
|
||||||
|
|
||||||
#### ACS Share Accessories
|
#### Alfresco Transform Engine Accessories
|
||||||
|
|
||||||
| Component | Folder Link | Details |
|
| Component | Folder Link | Details |
|
||||||
| ------------------------------------- | ------------- | ------- |
|
| ------------------------------------- | ------------- | ------- |
|
||||||
| `beedk-ate-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-ate-app-tile` tile and wants to deliver a Docker image. |
|
| `beedk-ate-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-docker-tile) | Intended to be inherited by any project that already includes a `beedk-ate-springboot-tile` tile and wants to deliver a Docker image. |
|
||||||
|
|
||||||
|
#### Other Accessories
|
||||||
|
|
||||||
|
| Component | Folder Link | Details |
|
||||||
|
| ------------------------------------- | ------------- | ------- |
|
||||||
|
| `beedk-springboot-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-springboot-docker-tile) | Intended to be inherited by any Spring Boot project that wants to deliver a Docker image. |
|
||||||
|
|
||||||
#### Rapid Application Development
|
#### Rapid Application Development
|
||||||
|
|
||||||
| Component | Folder Link | Details |
|
| Component | Folder Link | Details |
|
||||||
| -------------------------------------- | ------------- | ------- |
|
| -------------------------------------- | ------------- | ------- |
|
||||||
| `beedk-acs-platform-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
| `beedk-acs-platform-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||||
| `beedk-acs-platform-sibling-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-rad-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project; Includes simple startup to assist with development. |
|
| `beedk-acs-platform-sibling-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-rad-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project; provides ACS Platform capability to other RAD components. |
|
||||||
| `beedk-acs-platform-artifact-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile) | Intended to be inherited by any Maven project that wants to use the Alfresco Platform web application; Includes simple startup to assist with development. |
|
| `beedk-acs-platform-artifact-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile) | Intended to be inherited by any Maven project that wants to use the Alfresco Platform web application; provides ACS Platform capability to other RAD components. |
|
||||||
| `beedk-acs-share-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
| `beedk-acs-share-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||||
| `beedk-ate-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-rad-tile) | Intended to be inherited by any Alfresco Transform Engine projects; Includes startup with partial hot reloading. |
|
| `beedk-acs-search-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality. |
|
||||||
|
| `beedk-acs-lts-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality. |
|
||||||
|
| `beedk-ats-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality. |
|
||||||
|
| `beedk-ate-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality. |
|
||||||
|
|
||||||
### Rapid Application Development
|
### Rapid Application Development
|
||||||
|
|
||||||
@@ -126,7 +137,7 @@ If your project includes RAD tiles, you can start the application with the follo
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
```
|
```
|
||||||
|
|
||||||
To stop RAD and remove the Docker containers, you will need to do it through Docker commands. This will differ between operating systems.
|
To stop RAD and remove the Docker containers, you will need to do it through Docker commands. This will differ between operating systems. The Maven Archetypes provides scripts to assist with these operations called `rad.sh` or `rad.ps1`.
|
||||||
|
|
||||||
#### SH or BASH Shells
|
#### SH or BASH Shells
|
||||||
|
|
||||||
@@ -144,18 +155,16 @@ docker container ls -aq --filter={artifactId}-* | % { docker container rm $_ }
|
|||||||
|
|
||||||
### Archetypes
|
### Archetypes
|
||||||
|
|
||||||
| Archetype | Folder Link | Details |
|
| Archetype | Folder Link | Details |
|
||||||
| --------------------------- | ------------- | ------- |
|
| ------------------------------------- | ------------- | ------- |
|
||||||
| `beedk-acs-platform-module` | *Coming Soon* | Generates a standalone ACS Platform module project. |
|
| `beedk-acs-platform-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-archetype) | Generates a standalone ACS Platform module project. |
|
||||||
| `beedk-acs-platform-webapp` | *Coming Soon* | Generates a standalone ACS Platform webapp project. |
|
| `beedk-acs-share-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-archetype) | Generates a standalone ACS Share module project. |
|
||||||
| `beedk-acs-share-module` | *Coming Soon* | Generates a standalone ACS Share module project. |
|
| `beedk-acs-allinone-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-allinone-archetype) | Generates a parent, ACS Platform webapp, ACS Share webapp, example ACS Platform module, example ACS Share module, and example ATE projects. |
|
||||||
| `beedk-acs-share-webapp` | *Coming Soon* | Generates a standalone ACS Share webapp project. |
|
| `beedk-ate-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-archetype) | Generates a standalone Alfresco Transform Engine project. |
|
||||||
| `beedk-acs-aio` | *Coming Soon* | Generates a parent, ACS Platform webapp, ACS Share webapp, 2 sample ACS Platform module, and 2 sample ACS Share module projects. |
|
| `beedk-activiti-ext-archetype` | *Coming Soon* | Generates a standalone APS/Activiti extension project. |
|
||||||
| `beedk-ate-app` | *Coming Soon* | Generates a standalone Alfresco Transform Engine project. |
|
| `beedk-flowable-ext-archetype` | *Coming Soon* | Generates a standalone [Flowable](https://flowable.com) extension project. Flowable is a fork of Activiti 6. |
|
||||||
| `beedk-ate-aio` | *Coming Soon* | Generates a parent, ATE app, ACS Platform webapp, ACS Share webapp, and a sample ACS Platform module projects. The ACS Platform module will include sample ATE configuration. |
|
| `beedk-camunda-ext-archetype` | *Coming Soon* | Generates a standalone [Camunda](https://camunda.com) extension project. Camunda is a fork of Activiti 5. |
|
||||||
| `beedk-activiti-ext` | *Coming Soon* | Generates a standalone APS/Activiti extension project. |
|
| `beedk-springboot-api-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-springboot-api-archetype) | Generates a standalone Spring Boot application ready to interface with the ACS APIs (*APS Coming Soon*). |
|
||||||
| `beedk-flowable-ext` | *Coming Soon* | Generates a standalone [Flowable](https://flowable.com) extension project. Flowable is a fork of Activiti 6. |
|
|
||||||
| `beedk-camunda-ext` | *Coming Soon* | Generates a standalone [Camunda](https://camunda.com) extension project. Camunda is a fork of Activiti 5. |
|
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
@@ -185,6 +194,7 @@ The plan is to implement the following engines (and more).
|
|||||||
| `scaffold-behavior` | `name`, `event` (`onUpdateProperties`, ...) | Generates skeleton code for the configuration and implementation of an Alfresco Policy Behavior; an event listener entrypoint. |
|
| `scaffold-behavior` | `name`, `event` (`onUpdateProperties`, ...) | Generates skeleton code for the configuration and implementation of an Alfresco Policy Behavior; an event listener entrypoint. |
|
||||||
| `scaffold-job` | `name`, `schedule` | Generates skeleton code for the configuration and implementation of a Quartz Job; a scheduled periodic execution entrypoint. |
|
| `scaffold-job` | `name`, `schedule` | Generates skeleton code for the configuration and implementation of a Quartz Job; a scheduled periodic execution entrypoint. |
|
||||||
| `scaffold-action` | `name` | Generates skeleton code for the configuration and implementation of an Alfresco Action; a function that may be executed through API calls or ACS Share hooks. |
|
| `scaffold-action` | `name` | Generates skeleton code for the configuration and implementation of an Alfresco Action; a function that may be executed through API calls or ACS Share hooks. |
|
||||||
|
| `scaffold-jsroot` | `name` | Generates skeleton code for the configuration and implementation of a JavaScript root object; a root scoped object accessible through JavaScript scripts. |
|
||||||
| `scaffold-rendition` | `name` | Generates skeleton code for the configuration of an Alfresco rendition. |
|
| `scaffold-rendition` | `name` | Generates skeleton code for the configuration of an Alfresco rendition. |
|
||||||
| `scaffold-evaluator` | `name`, `type` (**`component`**, `em`) | Generates skeleton code for the configuration and implementation of a Spring Surf (ACS Share) evaluator; a conditional filter on user interface components or extensibility modules. |
|
| `scaffold-evaluator` | `name`, `type` (**`component`**, `em`) | Generates skeleton code for the configuration and implementation of a Spring Surf (ACS Share) evaluator; a conditional filter on user interface components or extensibility modules. |
|
||||||
| `scaffold-extmodule` | `name`, `style` (**`config`**, `webscript`) | Generates skeleton code for the configuration and implementation of a Spring Surf extensibility module. |
|
| `scaffold-extmodule` | `name`, `style` (**`config`**, `webscript`) | Generates skeleton code for the configuration and implementation of a Spring Surf extensibility module. |
|
||||||
@@ -234,7 +244,7 @@ git merge personal
|
|||||||
git push origin
|
git push origin
|
||||||
git checkout stable
|
git checkout stable
|
||||||
git merge develop
|
git merge develop
|
||||||
mvn versions:set
|
mvn versions:set -DprocessAllModules
|
||||||
mvn clean deploy
|
mvn clean deploy
|
||||||
git add pom.xml
|
git add pom.xml
|
||||||
git commit -m "vX.Y.Z poms"
|
git commit -m "vX.Y.Z poms"
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-allinone-archetype</artifactId>
|
<artifactId>beedk-acs-allinone-archetype</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -13,6 +13,11 @@ function start_ {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||||
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -41,6 +46,9 @@ 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,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
@@ -14,6 +14,11 @@ start() {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-classes
|
||||||
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -38,6 +43,9 @@ 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,4 +1,4 @@
|
|||||||
package ${package}.annotation;
|
package ${package}.spring;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
@@ -1,4 +1,4 @@
|
|||||||
package ${package}.annotation;
|
package ${package}.spring;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
@@ -1,9 +1,9 @@
|
|||||||
<!-- 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>
|
||||||
<shortname>Example Webscript</shortname>
|
<shortname>Example Webscript</shortname>
|
||||||
<description>Example Java-backed webscript description</description>
|
<description>Example Java-backed webscript description</description>
|
||||||
<url>/exampleJava?paramName={paramValue}</url>
|
<url>/exampleJava?paramName={paramValue}</url>
|
||||||
<authentication>user</authentication>
|
<authentication>user</authentication>
|
||||||
<format default="json"></format>
|
<format default="json"></format>
|
||||||
<family>${shortname}</family>
|
<family>${shortname}</family>
|
||||||
</webscript>
|
</webscript>
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
<!-- 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>
|
||||||
<shortname>Example Webscript</shortname>
|
<shortname>Example Webscript</shortname>
|
||||||
<description>Example JS-backed webscript description</description>
|
<description>Example JS-backed webscript description</description>
|
||||||
<url>/exampleJs?paramName={paramValue}</url>
|
<url>/exampleJs?paramName={paramValue}</url>
|
||||||
<authentication>guest</authentication>
|
<authentication>guest</authentication>
|
||||||
<format default="json"></format>
|
<format default="json"></format>
|
||||||
<family>${shortname}</family>
|
<family>${shortname}</family>
|
||||||
</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>
|
@@ -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}
|
||||||
|
@@ -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,52 +1,52 @@
|
|||||||
<?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 http://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.2.0</alfresco.sdk.version>
|
||||||
<edition>community</edition>
|
<edition>community</edition>
|
||||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
||||||
<alfresco.share.version>6.2.2.2</alfresco.share.version>
|
<alfresco.share.version>6.2.2.2</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>inteligr8-releases</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>alfresco-public</id>
|
<id>alfresco-public</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>inteligr8-releases</id>
|
<id>inteligr8-releases</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-private</url>
|
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-private</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -13,6 +13,11 @@ function start_ {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||||
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -41,6 +46,9 @@ 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,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
@@ -14,6 +14,11 @@ start() {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-classes
|
||||||
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -38,6 +43,9 @@ 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>
|
||||||
|
@@ -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
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-lts-it-tile</artifactId>
|
<artifactId>beedk-acs-lts-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-lts-rad-tile</artifactId>
|
<artifactId>beedk-acs-lts-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-module-tile</artifactId>
|
<artifactId>beedk-acs-module-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Module Core</name>
|
<name>Order of the Bee Development Kit: ACS Module Core</name>
|
||||||
|
@@ -110,7 +110,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 +121,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 +136,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-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 -->
|
||||||
@@ -182,7 +203,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
<artifactId>amp-plugin</artifactId>
|
<artifactId>amp-plugin</artifactId>
|
||||||
<version>1.0.1</version>
|
<version>1.0.2</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>build-amp-file</id>
|
<id>build-amp-file</id>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -62,7 +62,7 @@
|
|||||||
-Dtransform.service.enabled=${beedk.deploy.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
-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 -Dsystem.workflow.engine.activiti.enabled=true \
|
||||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||||
-Dindex.subsystem.name=${beedk.deploy.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
-Dindex.subsystem.name=${beedk.deploy.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
||||||
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-module-archetype</artifactId>
|
<artifactId>beedk-acs-platform-module-archetype</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -1,47 +1,47 @@
|
|||||||
<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.2.0</alfresco.sdk.version>
|
||||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
<alfresco.platform.version>6.2.0-ga</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>
|
||||||
@@ -50,33 +50,33 @@
|
|||||||
<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>inteligr8-releases</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>alfresco-public</id>
|
<id>alfresco-public</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>inteligr8-releases</id>
|
<id>inteligr8-releases</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
</project>
|
</project>
|
@@ -13,6 +13,11 @@ function start_ {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||||
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -41,6 +46,9 @@ 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,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
@@ -14,6 +14,11 @@ start() {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-classes
|
||||||
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -38,6 +43,9 @@ 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,4 +1,4 @@
|
|||||||
package ${package}.annotation;
|
package ${package}.spring;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
@@ -1,4 +1,4 @@
|
|||||||
package ${package}.annotation;
|
package ${package}.spring;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
@@ -1,9 +1,9 @@
|
|||||||
<!-- 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>
|
||||||
<shortname>Example Webscript</shortname>
|
<shortname>Example Webscript</shortname>
|
||||||
<description>Example Java-backed webscript description</description>
|
<description>Example Java-backed webscript description</description>
|
||||||
<url>/exampleJava?paramName={paramValue}</url>
|
<url>/exampleJava?paramName={paramValue}</url>
|
||||||
<authentication>user</authentication>
|
<authentication>user</authentication>
|
||||||
<format default="json"></format>
|
<format default="json"></format>
|
||||||
<family>${shortname}</family>
|
<family>${shortname}</family>
|
||||||
</webscript>
|
</webscript>
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
<!-- 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>
|
||||||
<shortname>Example Webscript</shortname>
|
<shortname>Example Webscript</shortname>
|
||||||
<description>Example JS-backed webscript description</description>
|
<description>Example JS-backed webscript description</description>
|
||||||
<url>/exampleJs?paramName={paramValue}</url>
|
<url>/exampleJs?paramName={paramValue}</url>
|
||||||
<authentication>guest</authentication>
|
<authentication>guest</authentication>
|
||||||
<format default="json"></format>
|
<format default="json"></format>
|
||||||
<family>${shortname}</family>
|
<family>${shortname}</family>
|
||||||
</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>
|
@@ -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}
|
||||||
|
@@ -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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-module-tile</artifactId>
|
<artifactId>beedk-acs-platform-module-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Platform Module</name>
|
<name>Order of the Bee Development Kit: ACS Platform Module</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -108,7 +108,7 @@
|
|||||||
-Dtransform.service.enabled=${beedk.rad.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
-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 -Dsystem.workflow.engine.activiti.enabled=true \
|
||||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||||
-Dindex.subsystem.name=${beedk.rad.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
-Dindex.subsystem.name=${beedk.rad.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
||||||
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
|
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
|
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<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>
|
||||||
|
9
beedk-acs-platform-webapp-docker-tile/.gitignore
vendored
Normal file
9
beedk-acs-platform-webapp-docker-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Eclipse
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.settings
|
||||||
|
|
||||||
|
# Maven
|
||||||
|
pom.xml.versionsBackup
|
||||||
|
target
|
||||||
|
|
17
beedk-acs-platform-webapp-docker-tile/Dockerfile
Normal file
17
beedk-acs-platform-webapp-docker-tile/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
FROM alfresco/alfresco-content-repository-community:${alfresco.platfrom.version}
|
||||||
|
|
||||||
|
ARG USERNAME=alfresco
|
||||||
|
ARG TOMCAT_DIR=/usr/local/tomcat
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
COPY catalina.policy /tmp/catalina.policy.ext
|
||||||
|
COPY tomcat-platform-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/alfresco.xml
|
||||||
|
|
||||||
|
RUN mkdir -p ${TOMCAT_DIR}/modules/platform && \
|
||||||
|
cat /tmp/catalina.policy.ext >> ${TOMCAT_DIR}/conf/catalina.policy
|
||||||
|
|
||||||
|
COPY war/${alfresco.war.artifactId}-${alfresco.war.version}.war ${TOMCAT_DIR}/webapps/alfresco.war
|
||||||
|
COPY ext/platform/*.jar ${TOMCAT_DIR}/modules/platform/
|
||||||
|
|
||||||
|
USER ${USERNAME}
|
0
beedk-acs-platform-webapp-docker-tile/README.md
Normal file
0
beedk-acs-platform-webapp-docker-tile/README.md
Normal file
4
beedk-acs-platform-webapp-docker-tile/catalina.policy
Normal file
4
beedk-acs-platform-webapp-docker-tile/catalina.policy
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
grant codeBase "file:${catalina.base}/modules/-" {
|
||||||
|
permission java.security.AllPermission;
|
||||||
|
};
|
||||||
|
|
48
beedk-acs-platform-webapp-docker-tile/pom.xml
Normal file
48
beedk-acs-platform-webapp-docker-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-acs-platform-webapp-docker-tile</artifactId>
|
||||||
|
<version>1.0.3</version>
|
||||||
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<name>Order of the Bee Development Kit: ACS Platform Web Application Docker Enablement</name>
|
||||||
|
<scm>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
</scm>
|
||||||
|
<organization>
|
||||||
|
<name>Order of the Bee</name>
|
||||||
|
<url>https://orderofthebee.net</url>
|
||||||
|
</organization>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<name>Brian Long</name>
|
||||||
|
<email>brian@inteligr8.com</email>
|
||||||
|
<organization>Inteligr8</organization>
|
||||||
|
<organizationUrl>https://www.inteligr8.com</organizationUrl>
|
||||||
|
<url>https://twitter.com/brianmlong</url>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>io.repaint.maven</groupId>
|
||||||
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
|
<version>2.20</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<tiles>
|
||||||
|
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||||
|
</tiles>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
68
beedk-acs-platform-webapp-docker-tile/tile.xml
Normal file
68
beedk-acs-platform-webapp-docker-tile/tile.xml
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>scaffold-acs-platform-webapp-docker</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>scaffold</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<!-- This plugin downloads the required configurations for all modules -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||||
|
<artifactId>download-maven-plugin</artifactId>
|
||||||
|
<version>1.6.1</version>
|
||||||
|
<executions>
|
||||||
|
<!-- TODO eventually replace these with the archetype versions -->
|
||||||
|
<execution>
|
||||||
|
<id>download-dockerfile</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>wget</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/Dockerfile</url>
|
||||||
|
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>download-policy</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>wget</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/catalina.policy</url>
|
||||||
|
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>download-context</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>wget</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/tomcat-platform-context.xml</url>
|
||||||
|
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
<tiles>
|
||||||
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-docker-tile -->
|
||||||
|
<tile>@project.groupId@:beedk-acs-webapp-docker-tile:@project.version@</tile>
|
||||||
|
</tiles>
|
||||||
|
|
||||||
|
</project>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<Context>
|
||||||
|
<Resources>
|
||||||
|
<PreResources base="${catalina.base}/modules/platform" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
|
||||||
|
</Resources>
|
||||||
|
</Context>
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-platform-webapp-tile</artifactId>
|
<artifactId>beedk-acs-platform-webapp-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Platform Web Application</name>
|
<name>Order of the Bee Development Kit: ACS Platform Web Application</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-search-it-tile</artifactId>
|
<artifactId>beedk-acs-search-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for Alfresco Search Services</name>
|
<name>Order of the Bee Development Kit: Integration Testing for Alfresco Search Services</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-search-rad-tile</artifactId>
|
<artifactId>beedk-acs-search-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for Alfresco Search Services</name>
|
<name>Order of the Bee Development Kit: RAD for Alfresco Search Services</name>
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-share-module-archetype</artifactId>
|
<artifactId>beedk-acs-share-module-archetype</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Share Module</name>
|
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Share Module</name>
|
||||||
|
@@ -1,50 +1,50 @@
|
|||||||
<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 Share Module</name>
|
<name>${shortname} ACS Share 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.2.0</alfresco.sdk.version>
|
||||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
||||||
<alfresco.share.version>6.2.2</alfresco.share.version>
|
<alfresco.share.version>6.2.2</alfresco.share.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>share</artifactId>
|
<artifactId>share</artifactId>
|
||||||
<version>${alfresco.share.version}</version>
|
<version>${alfresco.share.version}</version>
|
||||||
<classifier>classes</classifier>
|
<classifier>classes</classifier>
|
||||||
<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>
|
||||||
@@ -53,35 +53,35 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tiles>
|
<tiles>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile -->
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile -->
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-share-self-rad-tile:${beedkVersion}</tile>
|
<tile>com.inteligr8.ootbee:beedk-acs-share-self-rad-tile:${beedkVersion}</tile>
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-artifact-rad-tile:${beedkVersion}</tile>
|
<tile>com.inteligr8.ootbee:beedk-acs-platform-artifact-rad-tile:${beedkVersion}</tile>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile -->
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile -->
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-share-module-tile:${beedkVersion}</tile>
|
<tile>com.inteligr8.ootbee:beedk-acs-share-module-tile:${beedkVersion}</tile>
|
||||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-share-self-it-tile:${beedkVersion}</tile>
|
<tile>com.inteligr8.ootbee:beedk-acs-share-self-it-tile:${beedkVersion}</tile>
|
||||||
<tile>com.inteligr8.ootbee:beedk-acs-share-artifact-it-tile:${beedkVersion}</tile> -->
|
<tile>com.inteligr8.ootbee:beedk-acs-share-artifact-it-tile:${beedkVersion}</tile> -->
|
||||||
</tiles>
|
</tiles>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>inteligr8-releases</id>
|
<id>inteligr8-releases</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>alfresco-public</id>
|
<id>alfresco-public</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>inteligr8-releases</id>
|
<id>inteligr8-releases</id>
|
||||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
</project>
|
</project>
|
@@ -13,6 +13,11 @@ function start_ {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function start_log {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||||
|
}
|
||||||
|
|
||||||
function stop_ {
|
function stop_ {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -41,6 +46,9 @@ 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,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
discoverArtifactId() {
|
discoverArtifactId() {
|
||||||
ARTIFACT_ID=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
|
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
@@ -14,6 +14,11 @@ start() {
|
|||||||
mvn -Drad process-classes
|
mvn -Drad process-classes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_log() {
|
||||||
|
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||||
|
mvn -Drad -Ddocker.showLogs process-classes
|
||||||
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
discoverArtifactId
|
discoverArtifactId
|
||||||
echo "Stopping Docker containers that supported rapid application development ..."
|
echo "Stopping Docker containers that supported rapid application development ..."
|
||||||
@@ -38,6 +43,9 @@ 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>
|
||||||
|
@@ -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}
|
||||||
|
@@ -10,30 +10,30 @@
|
|||||||
<!-- 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}" />
|
||||||
|
|
||||||
<bean id="${project.groupId}.${project.artifactId}.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
|
<bean id="${project.groupId}.${project.artifactId}.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
|
||||||
<property name="resourceBundles">
|
<property name="resourceBundles">
|
||||||
<list>
|
<list>
|
||||||
<value>${alfresco.ext.package}.messages.example</value>
|
<value>${alfresco.ext.package}.messages.example</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- An example Action Evaluator -->
|
<!-- An example Action Evaluator -->
|
||||||
<bean id="evaluator.doclib.action.isMarkdown" parent="evaluator.doclib.action.isMimetype">
|
<bean id="evaluator.doclib.action.isMarkdown" parent="evaluator.doclib.action.isMimetype">
|
||||||
<property name="mimetypes">
|
<property name="mimetypes">
|
||||||
<list>
|
<list>
|
||||||
<value>text/x-markdown</value>
|
<value>text/x-markdown</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- An example Extensibility Module Evaluator -->
|
<!-- An example Extensibility Module Evaluator -->
|
||||||
<bean id="moduleEvaluator.doclib.action.isMarkdown" parent="moduleEvaluator.doclib.action.isMimetype">
|
<bean id="moduleEvaluator.doclib.action.isMarkdown" parent="moduleEvaluator.doclib.action.isMimetype">
|
||||||
<property name="mimetypes">
|
<property name="mimetypes">
|
||||||
<list>
|
<list>
|
||||||
<value>text/x-markdown</value>
|
<value>text/x-markdown</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -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
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-share-module-tile</artifactId>
|
<artifactId>beedk-acs-share-module-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Share Module</name>
|
<name>Order of the Bee Development Kit: ACS Share Module</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-share-self-it-tile</artifactId>
|
<artifactId>beedk-acs-share-self-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Share</name>
|
<name>Order of the Bee Development Kit: Integration Testing for ACS Share</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-share-self-rad-tile</artifactId>
|
<artifactId>beedk-acs-share-self-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: RAD for ACS Share</name>
|
<name>Order of the Bee Development Kit: RAD for ACS Share</name>
|
||||||
|
9
beedk-acs-share-webapp-docker-tile/.gitignore
vendored
Normal file
9
beedk-acs-share-webapp-docker-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Eclipse
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.settings
|
||||||
|
|
||||||
|
# Maven
|
||||||
|
pom.xml.versionsBackup
|
||||||
|
target
|
||||||
|
|
17
beedk-acs-share-webapp-docker-tile/Dockerfile
Normal file
17
beedk-acs-share-webapp-docker-tile/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
FROM alfresco/alfresco-share:${alfresco.share.version}
|
||||||
|
|
||||||
|
ARG USERNAME=alfresco
|
||||||
|
ARG TOMCAT_DIR=/usr/local/tomcat
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
COPY catalina.policy /tmp/catalina.policy.ext
|
||||||
|
COPY tomcat-share-context.xml ${TOMCAT_DIR}/conf/Catalina/localhost/share.xml
|
||||||
|
|
||||||
|
RUN mkdir -p ${TOMCAT_DIR}/modules/share && \
|
||||||
|
cat /tmp/catalina.policy.ext >> ${TOMCAT_DIR}/conf/catalina.policy
|
||||||
|
|
||||||
|
COPY war/${alfresco.war.artifactId}-${alfresco.war.version}.war ${TOMCAT_DIR}/webapps/share.war
|
||||||
|
COPY ext/share/*.jar ${TOMCAT_DIR}/modules/share/
|
||||||
|
|
||||||
|
USER ${USERNAME}
|
0
beedk-acs-share-webapp-docker-tile/README.md
Normal file
0
beedk-acs-share-webapp-docker-tile/README.md
Normal file
4
beedk-acs-share-webapp-docker-tile/catalina.policy
Normal file
4
beedk-acs-share-webapp-docker-tile/catalina.policy
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
grant codeBase "file:${catalina.base}/modules/-" {
|
||||||
|
permission java.security.AllPermission;
|
||||||
|
};
|
||||||
|
|
48
beedk-acs-share-webapp-docker-tile/pom.xml
Normal file
48
beedk-acs-share-webapp-docker-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-acs-share-webapp-docker-tile</artifactId>
|
||||||
|
<version>1.0.3</version>
|
||||||
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<name>Order of the Bee Development Kit: ACS Share Web Application Docker Enablement</name>
|
||||||
|
<scm>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
</scm>
|
||||||
|
<organization>
|
||||||
|
<name>Order of the Bee</name>
|
||||||
|
<url>https://orderofthebee.net</url>
|
||||||
|
</organization>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<name>Brian Long</name>
|
||||||
|
<email>brian@inteligr8.com</email>
|
||||||
|
<organization>Inteligr8</organization>
|
||||||
|
<organizationUrl>https://www.inteligr8.com</organizationUrl>
|
||||||
|
<url>https://twitter.com/brianmlong</url>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>io.repaint.maven</groupId>
|
||||||
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
|
<version>2.20</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<tiles>
|
||||||
|
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||||
|
</tiles>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
68
beedk-acs-share-webapp-docker-tile/tile.xml
Normal file
68
beedk-acs-share-webapp-docker-tile/tile.xml
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>scaffold-acs-share-webapp-docker</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>scaffold</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<!-- This plugin downloads the required configurations for all modules -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||||
|
<artifactId>download-maven-plugin</artifactId>
|
||||||
|
<version>1.6.1</version>
|
||||||
|
<executions>
|
||||||
|
<!-- TODO eventually replace these with the archetype versions -->
|
||||||
|
<execution>
|
||||||
|
<id>download-dockerfile</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>wget</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-share-webapp-docker-tile/Dockerfile</url>
|
||||||
|
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>download-policy</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>wget</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-share-webapp-docker-tile/catalina.policy</url>
|
||||||
|
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>download-context</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>wget</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-share-webapp-docker-tile/tomcat-share-context.xml</url>
|
||||||
|
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
<tiles>
|
||||||
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-docker-tile -->
|
||||||
|
<tile>@project.groupId@:beedk-acs-webapp-docker-tile:@project.version@</tile>
|
||||||
|
</tiles>
|
||||||
|
|
||||||
|
</project>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<Context>
|
||||||
|
<Resources>
|
||||||
|
<PreResources base="${catalina.base}/modules/platform" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" readOnly="true" />
|
||||||
|
</Resources>
|
||||||
|
</Context>
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-share-webapp-tile</artifactId>
|
<artifactId>beedk-acs-share-webapp-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: ACS Share Web Application</name>
|
<name>Order of the Bee Development Kit: ACS Share Web Application</name>
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||||
<alfresco.war.artifactId>share</alfresco.war.artifactId>
|
<alfresco.war.artifactId>share</alfresco.war.artifactId>
|
||||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
<alfresco.war.version>${alfresco.share.version}</alfresco.war.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-webapp-artifact-build-tile</artifactId>
|
<artifactId>beedk-acs-webapp-artifact-build-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact Builder for Deployment</name>
|
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact Builder for Deployment</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-webapp-artifact-it-tile</artifactId>
|
<artifactId>beedk-acs-webapp-artifact-it-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for Testing</name>
|
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for Testing</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-webapp-artifact-rad-tile</artifactId>
|
<artifactId>beedk-acs-webapp-artifact-rad-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for RAD</name>
|
<name>Order of the Bee Development Kit: Alfresco Web Application Artifact for RAD</name>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.ootbee</groupId>
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
<artifactId>beedk-acs-webapp-artifact-tile</artifactId>
|
<artifactId>beedk-acs-webapp-artifact-tile</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.3</version>
|
||||||
<packaging>tile</packaging>
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
<name>Order of the Bee Development Kit: Alfreco Web Application Artifact Downloader</name>
|
<name>Order of the Bee Development Kit: Alfreco Web Application Artifact Downloader</name>
|
||||||
|
9
beedk-acs-webapp-docker-tile/.gitignore
vendored
Normal file
9
beedk-acs-webapp-docker-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Eclipse
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.settings
|
||||||
|
|
||||||
|
# Maven
|
||||||
|
pom.xml.versionsBackup
|
||||||
|
target
|
||||||
|
|
0
beedk-acs-webapp-docker-tile/README.md
Normal file
0
beedk-acs-webapp-docker-tile/README.md
Normal file
48
beedk-acs-webapp-docker-tile/pom.xml
Normal file
48
beedk-acs-webapp-docker-tile/pom.xml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-acs-webapp-docker-tile</artifactId>
|
||||||
|
<version>1.0.3</version>
|
||||||
|
<packaging>tile</packaging>
|
||||||
|
|
||||||
|
<name>Order of the Bee Development Kit: ACS Web Application Docker Enablement</name>
|
||||||
|
<scm>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
</scm>
|
||||||
|
<organization>
|
||||||
|
<name>Order of the Bee</name>
|
||||||
|
<url>https://orderofthebee.net</url>
|
||||||
|
</organization>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<name>Brian Long</name>
|
||||||
|
<email>brian@inteligr8.com</email>
|
||||||
|
<organization>Inteligr8</organization>
|
||||||
|
<organizationUrl>https://www.inteligr8.com</organizationUrl>
|
||||||
|
<url>https://twitter.com/brianmlong</url>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>io.repaint.maven</groupId>
|
||||||
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
|
<version>2.20</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<tiles>
|
||||||
|
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||||
|
</tiles>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
107
beedk-acs-webapp-docker-tile/tile.xml
Normal file
107
beedk-acs-webapp-docker-tile/tile.xml
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<!-- This plugin copies the Dockerfile and resources to the base build directory -->
|
||||||
|
<!-- Dockerfile ADD/COPY commands can only use files inside the build directory -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-and-filter-docker-resources</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-resource</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${docker.source.directory}</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<targetPath>${project.build.directory}</targetPath>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<version>3.1.2</version>
|
||||||
|
<executions>
|
||||||
|
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||||
|
<execution>
|
||||||
|
<id>download-jars</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals><goal>copy-dependencies</goal></goals>
|
||||||
|
<configuration>
|
||||||
|
<excludeScope>provided</excludeScope>
|
||||||
|
<includeTypes>jar</includeTypes>
|
||||||
|
<outputDirectory>${project.build.extDirectory}</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- This plugin configures the building and pushing of a Docker image -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.spotify</groupId>
|
||||||
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
||||||
|
<version>1.4.13</version>
|
||||||
|
<configuration>
|
||||||
|
<contextDirectory>${project.build.directory}</contextDirectory>
|
||||||
|
<repository>${docker.image.registry}/${docker.image.name}</repository>
|
||||||
|
<tag>${docker.image.tag}</tag>
|
||||||
|
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>docker-build</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals><goal>build</goal></goals>
|
||||||
|
<configuration>
|
||||||
|
<repository>${docker.image.name}</repository>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>docker-tag-registry</id>
|
||||||
|
<phase>install</phase>
|
||||||
|
<goals><goal>tag</goal></goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>docker-push</id>
|
||||||
|
<phase>deploy</phase>
|
||||||
|
<goals><goal>push</goal></goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>default-props</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>!some-prop-that-never-exists</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<!-- configurable -->
|
||||||
|
<project.build.extDirectory>${project.build.directory}/ext/platform</project.build.extDirectory>
|
||||||
|
<docker.source.directory>${basedir}/src/main/docker</docker.source.directory>
|
||||||
|
<docker.image.tag>${project.version}</docker.image.tag>
|
||||||
|
|
||||||
|
<!-- skip deployment of spring boot app -->
|
||||||
|
<beedk.deploy.dockerImageOnly>true</beedk.deploy.dockerImageOnly>
|
||||||
|
<maven.deploy.skip>${beedk.deploy.dockerImageOnly}</maven.deploy.skip>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
</project>
|
9
beedk-activiti-ext-archetype/.gitignore
vendored
Normal file
9
beedk-activiti-ext-archetype/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Maven
|
||||||
|
/target
|
||||||
|
pom.xml.versionsBackup
|
||||||
|
|
||||||
|
# Eclipse
|
||||||
|
.settings
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
|
52
beedk-activiti-ext-archetype/pom.xml
Normal file
52
beedk-activiti-ext-archetype/pom.xml
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.inteligr8.ootbee</groupId>
|
||||||
|
<artifactId>beedk-activiti-ext-archetype</artifactId>
|
||||||
|
<version>1.0.3</version>
|
||||||
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
|
<name>Order of the Bee Development Kit: Project Scaffolding for an Activiti Extension</name>
|
||||||
|
<scm>
|
||||||
|
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||||
|
</scm>
|
||||||
|
<organization>
|
||||||
|
<name>Order of the Bee</name>
|
||||||
|
<url>https://orderofthebee.net</url>
|
||||||
|
</organization>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<name>Brian Long</name>
|
||||||
|
<email>brian@inteligr8.com</email>
|
||||||
|
<organization>Inteligr8</organization>
|
||||||
|
<organizationUrl>https://www.inteligr8.com</organizationUrl>
|
||||||
|
<url>https://twitter.com/brianmlong</url>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<extensions>
|
||||||
|
<extension>
|
||||||
|
<groupId>org.apache.maven.archetype</groupId>
|
||||||
|
<artifactId>archetype-packaging</artifactId>
|
||||||
|
<version>3.1.1</version>
|
||||||
|
</extension>
|
||||||
|
</extensions>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>io.repaint.maven</groupId>
|
||||||
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
|
<version>2.20</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<tiles>
|
||||||
|
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||||
|
</tiles>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
@@ -0,0 +1,48 @@
|
|||||||
|
<archetype-descriptor name="${project.artifactId}"
|
||||||
|
xmlns="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0 https://maven.apache.org/xsd/archetype-descriptor-1.1.0.xsd">
|
||||||
|
<requiredProperties>
|
||||||
|
<requiredProperty key="shortname">
|
||||||
|
<validationRegex>[A-Za-z0-9]+</validationRegex>
|
||||||
|
</requiredProperty>
|
||||||
|
<requiredProperty key="dockerRegistryHost">
|
||||||
|
<defaultValue>quay.io</defaultValue>
|
||||||
|
</requiredProperty>
|
||||||
|
<requiredProperty key="dockerImagePrefix">
|
||||||
|
<defaultValue>local</defaultValue>
|
||||||
|
</requiredProperty>
|
||||||
|
<requiredProperty key="beedkVersion">
|
||||||
|
<defaultValue>[1.0.0,2.0.0)</defaultValue>
|
||||||
|
</requiredProperty>
|
||||||
|
</requiredProperties>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet filtered="true" packaged="true">
|
||||||
|
<directory>src/main/java</directory>
|
||||||
|
<includes>
|
||||||
|
<include>*.java</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet filtered="true" packaged="true">
|
||||||
|
<directory>src/test/java</directory>
|
||||||
|
<includes>
|
||||||
|
<include>*.java</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet filtered="true">
|
||||||
|
<directory>src</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>main/java/*.java</exclude>
|
||||||
|
<exclude>test/java/*.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet filtered="false">
|
||||||
|
<directory></directory>
|
||||||
|
<includes>
|
||||||
|
<include>.gitignore</include>
|
||||||
|
<include>rad.*</include>
|
||||||
|
<include>*.md</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</archetype-descriptor>
|
8
beedk-activiti-ext-archetype/src/main/resources/archetype-resources/.gitignore
vendored
Normal file
8
beedk-activiti-ext-archetype/src/main/resources/archetype-resources/.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Maven
|
||||||
|
/target
|
||||||
|
pom.xml.versionsBackup
|
||||||
|
|
||||||
|
# Eclipse
|
||||||
|
.settings
|
||||||
|
.project
|
||||||
|
.classpath
|
@@ -0,0 +1,43 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>${groupId}</groupId>
|
||||||
|
<artifactId>${artifactId}</artifactId>
|
||||||
|
<version>${version}</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
<name>${shortname} Activiti Extension</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
|
|
||||||
|
<activiti.version>5.23.0</activiti.version>
|
||||||
|
<spring.version>4.3.20.RELEASE</spring.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.activiti</groupId>
|
||||||
|
<artifactId>activiti-engine</artifactId>
|
||||||
|
<version>${activiti.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-context</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>alfresco-public</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
</project>
|
@@ -0,0 +1,31 @@
|
|||||||
|
package ${package};
|
||||||
|
|
||||||
|
import org.activiti.engine.delegate.DelegateExecution;
|
||||||
|
import org.activiti.engine.delegate.ExecutionListener;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is an example of how you can implement an Activiti Execution Listener.
|
||||||
|
* You can reference it in your BPMN with:
|
||||||
|
* <activiti:executionListener delegateExpression="${exampleExecutionListener}" event="start" />
|
||||||
|
* <activiti:executionListener expression="${exampleExecutionListener.exampleMethod('example parameter')}" event="end" />
|
||||||
|
*/
|
||||||
|
@Component("exampleExecutionListener")
|
||||||
|
public class ExampleExecutionListener implements ExecutionListener {
|
||||||
|
|
||||||
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
||||||
|
public void notify(DelegateExecution execution) throws Exception {
|
||||||
|
if (this.logger.isTraceEnabled())
|
||||||
|
this.logger.trace("execute('" + execution.getId() + "')");
|
||||||
|
|
||||||
|
// TODO do some stuff
|
||||||
|
}
|
||||||
|
|
||||||
|
public void exampleMethod(String param) throws Exception {
|
||||||
|
// another example
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,31 @@
|
|||||||
|
package ${package};
|
||||||
|
|
||||||
|
import org.activiti.engine.delegate.DelegateExecution;
|
||||||
|
import org.activiti.engine.delegate.JavaDelegate;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is an example of how you can implement an Activiti Service Task.
|
||||||
|
* You can reference it in your BPMN with:
|
||||||
|
* <serviceTask id="serviceTask" activiti:delegateExpression="${exampleServiceTask}" />
|
||||||
|
* <serviceTask id="serviceTask" activiti:expression="${exampleServiceTask.exampleMethod('example parameter')}" />
|
||||||
|
*/
|
||||||
|
@Component("exampleServiceTask")
|
||||||
|
public class ExampleServiceTask implements JavaDelegate {
|
||||||
|
|
||||||
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
||||||
|
public void execute(DelegateExecution execution) throws Exception {
|
||||||
|
if (this.logger.isTraceEnabled())
|
||||||
|
this.logger.trace("execute('" + execution.getId() + "')");
|
||||||
|
|
||||||
|
// TODO do some stuff
|
||||||
|
}
|
||||||
|
|
||||||
|
public void exampleMethod(String param) throws Exception {
|
||||||
|
// another example
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user