Unverified Commit a6f0b340 authored by Andrea Ligios's avatar Andrea Ligios Committed by GitHub
Browse files

Sdk 4.2 (#611)



* SDK 4.2 - Final adjustments

Co-authored-by: default avatargfertuso <giovanni.fertuso@alfresco.com>
parent bf853d72
Loading
Loading
Loading
Loading
+24 −2
Original line number Diff line number Diff line
@@ -35,10 +35,32 @@ You'll need to update the following settings in the `pom.xml` file:
<alfresco.bomDependencyArtifactId>acs-packaging</alfresco.bomDependencyArtifactId>
```

* Change the Docker ACS image name:
* Change the Docker ACS image name (by also prepending the Enterprise Docker Registry, Quay.io):

```
<docker.acs.image>alfresco/alfresco-content-repository</docker.acs.image>
<docker.acs.image>quay.io/alfresco/alfresco-content-repository</docker.acs.image>
```

In case the desired Platform version is 6.x, you'll also need to deal with the Keystore settings, by either:

* Removing the keystore settings:

```
<keystore.settings></keystore.settings>
```

or

* Adding the Keystore creation to the existing Dockerfile:

```
#Add Keystore
ARG CERT_DNAME="CN=Alfresco Repository, OU=Unknown, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB"
ARG CERT_VALIDITY=36525
ARG KEYSTORE_PASSWORD=mp6yc0UD9e
ARG KEYSTORE_METADATA_PASSWORD=oKIWzVdEdA
RUN mkdir -p $TOMCAT_DIR/shared/classes/alfresco/extension/keystore
RUN keytool -genseckey -dname "$CERT_DNAME" -validity ${CERT_VALIDITY} -alias metadata -keypass ${KEYSTORE_METADATA_PASSWORD} -keyalg AES -keysize 256 -keystore ${TOMCAT_DIR}/shared/classes/alfresco/extension/keystore/keystore -storetype JCEKS -storepass ${KEYSTORE_PASSWORD}
```

Changing these parameters instructs the project to use the proper maven dependencies and Docker images.
+2 −0
Original line number Diff line number Diff line
@@ -327,6 +327,8 @@
            </properties>
        </profile>

        <!-- 7.0 -->
        <!-- This profiles requires to be executed using Java 11 -->
        <profile>
            <id>enterprise-70-tests</id>
            <properties>