Loading metadata.keystore 0 → 100644 +409 B File added.No diff preview for this file type. View file pom.xml +16 −7 Original line number Diff line number Diff line Loading @@ -10,6 +10,14 @@ <name>Annotations ACS Platform Module</name> <description>A module to support annotation-based development for Alfresco Content Services modules.</description> <url>https://bitbucket.org/inteligr8/annotations-platform-module</url> <licenses> <license> <name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name> <url>https://www.gnu.org/licenses/lgpl-3.0.txt</url> </license> </licenses> <scm> <connection>scm:git:https://bitbucket.org/inteligr8/annotations-platform-module.git</connection> Loading @@ -34,9 +42,10 @@ <maven.compiler.source>8</maven.compiler.source> <maven.compiler.target>8</maven.compiler.target> <alfresco.sdk.version>4.2.0</alfresco.sdk.version> <alfresco.platform.version>6.2.0-ga</alfresco.platform.version> <aspectj.version>1.9.4</aspectj.version> <alfresco.sdk.version>4.8.0</alfresco.sdk.version> <alfresco.platform.version>7.4.2</alfresco.platform.version> <alfresco.platform.war.version>22.22</alfresco.platform.war.version> <aspectj.version>1.9.19</aspectj.version> <acs-platform.tomcat.opts>-javaagent:/var/lib/tomcat/dev/lib/aspectjweaver-${aspectj.version}.jar</acs-platform.tomcat.opts> </properties> Loading @@ -63,7 +72,7 @@ <dependency> <groupId>com.inteligr8.alfresco</groupId> <artifactId>aspectj-platform-module</artifactId> <version>1.0-SNAPSHOT</version> <version>1.0.0</version> </dependency> </dependencies> Loading @@ -77,11 +86,11 @@ <configuration> <tiles> <!-- 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:[1.0.0,1.1.0)</tile> <tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:[1.1.0,1.2.0)</tile> <!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile --> <tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:[1.0.0,1.1.0)</tile> <tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:[1.1.0,1.2.0)</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:[1.0.0,1.1.0)</tile> <tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:[1.1.0,1.2.0)</tile> </tiles> </configuration> </plugin> Loading rad.sh +1 −1 Original line number Diff line number Diff line #!/bin/bash #!/bin/sh discoverArtifactId() { ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'` Loading src/main/java/com/inteligr8/alfresco/annotations/Asynchronous.java +10 −0 Original line number Diff line number Diff line Loading @@ -5,10 +5,20 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation tells the framework to execute the annotated method * asynchronously. The execution may be performed any number of ways, * including a threaded execution or through a queuing service. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Asynchronous { /** * Whether or not the execution is guaranteed. * * @return `true` if guaranteed; `false` otherwise */ boolean durable() default true; } src/main/java/com/inteligr8/alfresco/annotations/Authorizable.java +8 −0 Original line number Diff line number Diff line package com.inteligr8.alfresco.annotations; /** * This interface provides a way to specify a user for expected authorizations. * * @see com.inteligr8.alfresco.annotations.Authorized */ public interface Authorizable { /** * @return An ACS user ID. */ String authorizeAsUser(); } Loading
pom.xml +16 −7 Original line number Diff line number Diff line Loading @@ -10,6 +10,14 @@ <name>Annotations ACS Platform Module</name> <description>A module to support annotation-based development for Alfresco Content Services modules.</description> <url>https://bitbucket.org/inteligr8/annotations-platform-module</url> <licenses> <license> <name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name> <url>https://www.gnu.org/licenses/lgpl-3.0.txt</url> </license> </licenses> <scm> <connection>scm:git:https://bitbucket.org/inteligr8/annotations-platform-module.git</connection> Loading @@ -34,9 +42,10 @@ <maven.compiler.source>8</maven.compiler.source> <maven.compiler.target>8</maven.compiler.target> <alfresco.sdk.version>4.2.0</alfresco.sdk.version> <alfresco.platform.version>6.2.0-ga</alfresco.platform.version> <aspectj.version>1.9.4</aspectj.version> <alfresco.sdk.version>4.8.0</alfresco.sdk.version> <alfresco.platform.version>7.4.2</alfresco.platform.version> <alfresco.platform.war.version>22.22</alfresco.platform.war.version> <aspectj.version>1.9.19</aspectj.version> <acs-platform.tomcat.opts>-javaagent:/var/lib/tomcat/dev/lib/aspectjweaver-${aspectj.version}.jar</acs-platform.tomcat.opts> </properties> Loading @@ -63,7 +72,7 @@ <dependency> <groupId>com.inteligr8.alfresco</groupId> <artifactId>aspectj-platform-module</artifactId> <version>1.0-SNAPSHOT</version> <version>1.0.0</version> </dependency> </dependencies> Loading @@ -77,11 +86,11 @@ <configuration> <tiles> <!-- 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:[1.0.0,1.1.0)</tile> <tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:[1.1.0,1.2.0)</tile> <!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile --> <tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:[1.0.0,1.1.0)</tile> <tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:[1.1.0,1.2.0)</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:[1.0.0,1.1.0)</tile> <tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:[1.1.0,1.2.0)</tile> </tiles> </configuration> </plugin> Loading
rad.sh +1 −1 Original line number Diff line number Diff line #!/bin/bash #!/bin/sh discoverArtifactId() { ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'` Loading
src/main/java/com/inteligr8/alfresco/annotations/Asynchronous.java +10 −0 Original line number Diff line number Diff line Loading @@ -5,10 +5,20 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation tells the framework to execute the annotated method * asynchronously. The execution may be performed any number of ways, * including a threaded execution or through a queuing service. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Asynchronous { /** * Whether or not the execution is guaranteed. * * @return `true` if guaranteed; `false` otherwise */ boolean durable() default true; }
src/main/java/com/inteligr8/alfresco/annotations/Authorizable.java +8 −0 Original line number Diff line number Diff line package com.inteligr8.alfresco.annotations; /** * This interface provides a way to specify a user for expected authorizations. * * @see com.inteligr8.alfresco.annotations.Authorized */ public interface Authorizable { /** * @return An ACS user ID. */ String authorizeAsUser(); }