Skip to content

Commit

Permalink
Merge pull request #103 from dmxunlimit/5.5.x
Browse files Browse the repository at this point in the history
Introduced a crypto-tool utility
  • Loading branch information
DilanUA authored Sep 18, 2018
2 parents 715b250 + 86f66a6 commit edf7a96
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 16 deletions.
23 changes: 18 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ All notable changes to this project 5.5.x per each release will be documented in

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [v5.5.0.7] - 2018-09-18

### Added
Introduced crypto-tool utility to the <CARBON_HOME>/bin directory to encrypt the secondary userstore password.

### Changed
- Refinements to existing Dockerfiles.

### Compatibility with kubernetes-is releases
- If you are to use images built using this release with the latest v5.5.0.4 Kubernetes release, please do change
your deployment mount paths appropriately to match above folder changes.<br><br>

## [v5.5.0.6] - 2018-08-24

### Changed
Expand All @@ -25,11 +37,11 @@ your deployment mount paths appropriately to match above folder changes.<br><br>
- Alpine and OpenJDK based Dockerfile for Identity Server Analytics v5.5.0

### Changed
- Changed the folders to which configuration files with new changes to be copied are mounted.
Originally this was <br>"wso2-volume" in general and for Kubernetes, this was
"kubernetes-volumes". But with this release, there will not be <br>any platform specific
folders for mounting configuration files. Instead we are introducing a single folder
for this purpose by the name, "wso2-config-volume".
- Changed the folders to which configuration files with new changes to be copied are mounted.
Originally this was <br>"wso2-volume" in general and for Kubernetes, this was
"kubernetes-volumes". But with this release, there will not be <br>any platform specific
folders for mounting configuration files. Instead we are introducing a single folder
for this purpose by the name, "wso2-config-volume".

- Changed the folder to which any other non-configuration type artifacts to be copied are mounted.
Originally this was "wso2-volume". But with this release, this is changed to "wso2-artifact-volume".
Expand All @@ -40,3 +52,4 @@ your deployment mount paths appropriately to match above folder changes.

[v5.5.0.5]: https://github.com/wso2/docker-is/compare/v5.5.0.4...v5.5.0.5
[v5.5.0.6]: https://github.com/wso2/docker-is/compare/v5.5.0.5...v5.5.0.6
[v5.5.0.7]: https://github.com/wso2/docker-is/compare/v5.5.0.6...v5.5.0.7
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Docker Compose files have been created according to the most common Identity Ser
product features along side their co-operate identity and access management requirements. The Compose files make use of
Docker images of WSO2 Identity Server, Identity Server Analytics and MySQL.

**Change log** from previous v5.5.0.5 release: [View Here](CHANGELOG.md)
**Change log** from previous v5.5.0.6 release: [View Here](CHANGELOG.md)
2 changes: 2 additions & 0 deletions dockerfiles/alpine/is/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ COPY --chown=wso2carbon:wso2 ${FILES}/${WSO2_SERVER_PACK}/repository/deployment/
COPY --chown=wso2carbon:wso2 init.sh ${USER_HOME}/
# copy mysql connector jar to the server as a third party library
COPY --chown=wso2carbon:wso2 ${FILES}/mysql-connector-java-*-bin.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/lib/
# copy Crypto-tool to the server bin
COPY --chown=wso2carbon:wso2 ${FILES}/crypto-tool ${USER_HOME}/${WSO2_SERVER_PACK}/bin/crypto-tool/
# add libraries for Kubernetes membership scheme based clustering
ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/dnsjava/dnsjava/2.1.8/dnsjava-2.1.8.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/lib/
ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/org/wso2/carbon/kubernetes/artifacts/kubernetes-membership-scheme/1.0.5/kubernetes-membership-scheme-1.0.5.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/dropins/
Expand Down
6 changes: 4 additions & 2 deletions dockerfiles/alpine/is/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ git clone https://github.com/wso2/docker-is.git
##### 2. Add WSO2 Identity Server distribution and MySQL connector jar file to `<IS_DOCKERFILE_HOME>/files`
- Download [WSO2 Identity Server v5.5.0](https://wso2.com/identity-and-access-management/previous-releases)
and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [MySQL Connector JAR v5.1.45](https://downloads.mysql.com/archives/c-j) and then copy that to `<IS_DOCKERFILE_HOME>/files`.<br>
and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [MySQL Connector JAR v5.1.45](https://downloads.mysql.com/archives/c-j) and then copy that to `<IS_DOCKERFILE_HOME>/files`.
- Download [Crypto-tool](https://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/ciphertool/org.wso2.ciphertool.userstore/1.0.0-wso2v9/org.wso2.ciphertool.userstore-1.0.0-wso2v9-bin.zip) and then extract and copy that to `<IS_DOCKERFILE_HOME>/files` Please note that the exracted directory name should be crypto-tool. <br>
- Once all of these are in place, it should look as follows:

```bash
<IS_DOCKERFILE_HOME>/files/wso2is-5.5.0
<IS_DOCKERFILE_HOME>/files/mysql-connector-java-5.1.45-bin.jar
<IS_DOCKERFILE_HOME>/files/crypto-tool
```
>Please refer to [WSO2 Update Manager documentation]( https://docs.wso2.com/display/WUM300/WSO2+Update+Manager)
in order to obtain latest bug fixes and updates for the product.
Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/centos/is/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ COPY --chown=wso2carbon:wso2 ${FILES}/${WSO2_SERVER_PACK}/repository/deployment/
COPY --chown=wso2carbon:wso2 init.sh ${USER_HOME}/
# copy mysql connector jar to the server as a third party library
COPY --chown=wso2carbon:wso2 ${FILES}/mysql-connector-java-*-bin.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/lib/
# copy Crypto-tool to the server bin
COPY --chown=wso2carbon:wso2 ${FILES}/crypto-tool ${USER_HOME}/${WSO2_SERVER_PACK}/bin/crypto-tool/
# add libraries for Kubernetes membership scheme based clustering
ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/dnsjava/dnsjava/2.1.8/dnsjava-2.1.8.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/lib/
ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/org/wso2/carbon/kubernetes/artifacts/kubernetes-membership-scheme/1.0.5/kubernetes-membership-scheme-1.0.5.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/dropins/
Expand Down
10 changes: 6 additions & 4 deletions dockerfiles/centos/is/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ git clone https://github.com/wso2/docker-is.git
##### 2. Add JDK, WSO2 Identity Server distribution and MySQL connector to `<IS_DOCKERFILE_HOME>/files`
- Download [JDK v1.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [WSO2 Identity Server v5.5.0](https://wso2.com/identity-and-access-management/previous-releases)
distribution and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [MySQL Connector JAR v5.1.45](https://downloads.mysql.com/archives/c-j)
and copy that to `<IS_DOCKERFILE_HOME>/files`. <br>
- Download [WSO2 Identity Server v5.5.0](https://wso2.com/identity-and-access-management/previous-releases)
distribution and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [MySQL Connector JAR v5.1.45](https://downloads.mysql.com/archives/c-j)
and copy that to `<IS_DOCKERFILE_HOME>/files`.
- Download [Crypto-tool](https://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/ciphertool/org.wso2.ciphertool.userstore/1.0.0-wso2v9/org.wso2.ciphertool.userstore-1.0.0-wso2v9-bin.zip) and then extract and copy that to `<IS_DOCKERFILE_HOME>/files` Please note that the exracted directory name should be crypto-tool. <br>
- Once all of these are in place, it should look as follows:

```bash
<IS_DOCKERFILE_HOME>/files/jdk<version>
<IS_DOCKERFILE_HOME>/files/mysql-connector-java-5.1.45-bin.jar
<IS_DOCKERFILE_HOME>/files/wso2is-5.5.0
<IS_DOCKERFILE_HOME>/files/crypto-tool
```
>Please refer to [WSO2 Update Manager documentation]( https://docs.wso2.com/display/WUM300/WSO2+Update+Manager)
in order to obtain latest bug fixes and updates for the product.
Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/ubuntu/is/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ COPY --chown=wso2carbon:wso2 ${FILES}/${WSO2_SERVER_PACK}/repository/deployment/
COPY --chown=wso2carbon:wso2 init.sh ${USER_HOME}/
# copy mysql connector jar to the server as a third party library
COPY --chown=wso2carbon:wso2 ${FILES}/mysql-connector-java-*-bin.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/lib/
# copy Crypto-tool to the server bin
COPY --chown=wso2carbon:wso2 ${FILES}/crypto-tool ${USER_HOME}/${WSO2_SERVER_PACK}/bin/crypto-tool/
# add libraries for Kubernetes membership scheme based clustering
ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/dnsjava/dnsjava/2.1.8/dnsjava-2.1.8.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/lib/
ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/org/wso2/carbon/kubernetes/artifacts/kubernetes-membership-scheme/1.0.5/kubernetes-membership-scheme-1.0.5.jar ${USER_HOME}/${WSO2_SERVER_PACK}/repository/components/dropins/
Expand Down
10 changes: 6 additions & 4 deletions dockerfiles/ubuntu/is/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ git clone https://github.com/wso2/docker-is.git
##### 2. Add JDK, WSO2 Identity Server distribution and MySQL connector to `<IS_DOCKERFILE_HOME>/files`
- Download [JDK v1.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [WSO2 Identity Server v5.5.0](https://wso2.com/identity-and-access-management/previous-releases)
distribution and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [MySQL Connector JAR v5.1.45](https://downloads.mysql.com/archives/c-j)
and copy that to `<IS_DOCKERFILE_HOME>/files`. <br>
- Download [WSO2 Identity Server v5.5.0](https://wso2.com/identity-and-access-management/previous-releases)
distribution and extract it to `<IS_DOCKERFILE_HOME>/files`.
- Download [MySQL Connector JAR v5.1.45](https://downloads.mysql.com/archives/c-j)
and copy that to `<IS_DOCKERFILE_HOME>/files`.
- Download [Crypto-tool](https://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/ciphertool/org.wso2.ciphertool.userstore/1.0.0-wso2v9/org.wso2.ciphertool.userstore-1.0.0-wso2v9-bin.zip) and then extract and copy that to `<IS_DOCKERFILE_HOME>/files` Please note that the exracted directory name should be crypto-tool. <br>
- Once all of these are in place, it should look as follows:

```bash
<IS_DOCKERFILE_HOME>/files/jdk<version>
<IS_DOCKERFILE_HOME>/files/mysql-connector-java-5.1.45-bin.jar
<IS_DOCKERFILE_HOME>/files/wso2is-5.5.0
<IS_DOCKERFILE_HOME>/files/crypto-tool
```
>Please refer to [WSO2 Update Manager documentation]( https://docs.wso2.com/display/WUM300/WSO2+Update+Manager)
in order to obtain latest bug fixes and updates for the product.
Expand Down

0 comments on commit edf7a96

Please sign in to comment.