added license loading

This commit is contained in:
2021-06-02 09:34:02 -04:00
parent 46ba0521f3
commit 827e693e60
8 changed files with 23 additions and 10 deletions

View File

@@ -51,6 +51,8 @@ The following properties are intended to be exposed by inheriting Public API Mav
| -------------------------- |:--------:| --------------- | ----------- |
| `aps.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users. |
| `aps.timeout` | | 60000 | The time to wait for the startup to complete, in milliseconds. |
| `alfresco.license.directory` | | `${user.home}/alfresco/license` | The base path to search for Alfresco licenses. |
| `aps.license.directory` | | `${alfresco.license.directory}/aps` | The base path to search for an APS license. |
| `aps.version` | | 1.11.1.1 | The version of the [Process Services Docker container](https://hub.docker.com/r/alfresco/process-services). |
| `aps-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |

View File

@@ -56,7 +56,7 @@
</ports>
<volumes>
<bind>
<volume>@user.home@/alfresco/license/aps:/root/.activiti/enterprise-license:ro</volume>
<volume>${aps.license.directory}:/root/.activiti/enterprise-license:ro</volume>
</bind>
</volumes>
<dependsOn>
@@ -96,6 +96,10 @@
</property>
</activation>
<properties>
<!-- configurable -->
<alfresco.license.directory>${user.home}/alfresco/license</alfresco.license.directory>
<aps.license.directory>${alfresco.license.directory}/aps</aps.license.directory>
<!-- ports -->
<aps.port>8080</aps.port>