Skip to content

Commit

Permalink
ACS-301: pull identity service image from docker hub. Also, updated r…
Browse files Browse the repository at this point in the history
…elease notes.
  • Loading branch information
jamalkm committed Jun 27, 2020
1 parent d38a75e commit 19f3134
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 20 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
## Release Notes - Identity Service

---

### *Alfresco Identity Service 1.3*

#### Bugs

* [<a href='https://issues.alfresco.com/jira/browse/ACS-301'>ACS-301</a>] - Upgrade to Keycloak 11.0.0 alfresco patch
* [<a href='https://issues.alfresco.com/jira/browse/MNT-21445'>MNT-21445</a>] - Auto user creation
* [<a href='https://issues.alfresco.com/jira/browse/ACA-2959'>ACA-2959</a>] - New login theme


### *Alfresco Identity Service 1.2*

#### Stories
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,36 @@ This guide helps you get started with the Identity Service. It covers simple sta

#### Installing and booting

1. Download the Identity Service zip alfresco-identity-service-1.2.0.zip from the Support Portal at http://support.alfresco.com
1. Download the Identity Service zip alfresco-identity-service-1.3.0.zip from the Support Portal at http://support.alfresco.com

2. Place the file in a directory you choose and use the unzip utility to extract it.

Linux/Unix
```bash
$ unzip alfresco-identity-service-1.2.0.zip
$ unzip alfresco-identity-service-1.3.0.zip
```

Windows
```bash
> unzip alfresco-identity-service-1.2.0.zip
> unzip alfresco-identity-service-1.3.0.zip
```

3. Cd to the bin directory of the server distribution and run the standalone boot script.

Linux/Unix
```bash
$ cd alfresco-identity-service-1.2.0/bin
$ cd alfresco-identity-service-1.3.0/bin
$ ./standalone.sh -b <IP_ADDRESS>
```
Windows bat
```bash
> ...\alfresco-identity-service-1.2.0\bin\standalone.bat -b <IP_ADDRESS>
> ...\alfresco-identity-service-1.3.0\bin\standalone.bat -b <IP_ADDRESS>
```
Windows powershell
```bash
> ...\alfresco-identity-service-1.2.0\bin\standalone.ps1 -b <IP_ADDRESS>
> ...\alfresco-identity-service-1.3.0\bin\standalone.ps1 -b <IP_ADDRESS>
```
**_NOTE:_** To bind to all public interfaces use `0.0.0.0` as the value of IP_ADDRESS otherwise specify the the address of the specific interface you want to use.
**_NOTE:_** To bind to all public interfaces use `0.0.0.0` as the value of IP_ADDRESS otherwise specify the address of the specific interface you want to use.

This is deployed with the **default example realm applied** which results in default values of:

Expand Down
4 changes: 1 addition & 3 deletions helm/alfresco-identity-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ keycloak:
create: false
keycloak:
image:
repository: quay.io/alfresco/alfresco-identity-service
repository: alfresco/alfresco-identity-service
tag: 1.3
pullPolicy: Always
pullSecrets:
- quay-registry-secret
serviceAccount:
create: true
username: admin
Expand Down
20 changes: 10 additions & 10 deletions upgrade.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Upgrading Identity Service

## Upgrading from Identity Service 1.1 to 1.2
## Upgrading from Identity Service 1.2 to 1.3

**_NOTE:_** The upgrade of the Alfresco Identity Management Service requires downtime.
This means that no user will be able to connect to any of the Digital Business Platform components while the upgrade or rollback is being done.
Expand Down Expand Up @@ -59,16 +59,16 @@ For the rollback process we are using the following jobs:

#### How to upgrade

**_NOTE:_** This upgrade works only from 1.1 to 1.2 version of the Alfresco Identity Management Service .
**_NOTE:_** This upgrade works only from 1.2 to 1.3 version of the Alfresco Identity Management Service .

1. Identify your infrastructure chart deployment and save it in a variable.

```bash
export RELEASENAME=knobby-wolf
```

2. Run the helm upgrade command using the new version of the infrastructure chart that contains Alfresco Identity Management Service 1.2.
If you however have the Digital Business Platform Helm Chart installed you will need to upgrade to a newer DBP chart which containes Alfresco Identity Management Service 1.2.
2. Run the helm upgrade command using the new version of the infrastructure chart that contains Alfresco Identity Management Service 1.3.
If you however have the Digital Business Platform Helm Chart installed you will need to upgrade to a newer DBP chart which contains Alfresco Identity Management Service 1.3.

```bash
helm upgrade $RELEASENAME alfresco-incubator/alfresco-infrastructure --version 5.2.0
Expand All @@ -78,13 +78,13 @@ helm upgrade $RELEASENAME alfresco-incubator/alfresco-infrastructure --version 5

#### How to Rollback

1. If for any reason the upgrade to 1.2 failed or you just want to rollback to 1.1 issue the following command:
1. If for any reason the upgrade to 1.3 failed, or you just want to rollback to 1.2 issue the following command:

```bash
helm rollback --force --recreate-pods --cleanup-on-fail $RELEASENAME 1
```

The AIMS service will be back to it's original state in a few minutes.
The AIMS service will be back to its original state in a few minutes.

### ZIP Distribution

Expand All @@ -98,15 +98,15 @@ pg_dump --clean --no-owner --no-acl -h ${POSTGRES_HOST} -p ${POSTGRES_PORT} -U

2. Remove old data and stop the PostgreSQL instance.

3. Stop the Identity Service 1.1 server.
3. Stop the Identity Service 1.2 server.

4. Open Identity Service 1.2 distribution zip and configure accordingly to the database that will be used (for this example PostgreSQL).
For detailed information on how to set up the desired database this visit the official documentation of Keycloak [here](https://www.keycloak.org/docs/7.0/server_installation/#_database).
4. Open Identity Service 1.3 distribution zip and configure accordingly to the database that will be used (for this example PostgreSQL).
For detailed information on how to set up the desired database this visit the official documentation of Keycloak [here](https://www.keycloak.org/docs/10.0/server_installation/#_database).

5. Start the database and restore data by executing the following command:

```bash
psql -h ${POSTGRES_HOST} -p ${POSTGRES_PORT} -d ${POSTGRES_DATABASE} -U ${POSTGRES_USER} -f /backup/backup.sql
```

6. Start Identity Service 1.2 as described [here](https://github.com/Alfresco/alfresco-identity-service/blob/master/README.md#installing-and-booting).
6. Start Identity Service 1.3 as described [here](https://github.com/Alfresco/alfresco-identity-service/blob/master/README.md#installing-and-booting).

0 comments on commit 19f3134

Please sign in to comment.