Giter Site home page Giter Site logo

docker-open-banking's Introduction

Docker and Docker Compose Resources for WSO2 Open Banking

This repository contains the following resources:

  • WSO2 Open Banking API Manager Accelerator Module Dockerfile for Ubuntu and Alpine
  • WSO2 Open Banking Identity & Access Management Accelerator Module Dockerfile for Ubuntu and Alpine
  • Docker Compose resources to evaluate WSO2 Open Banking API Manager with WSO2 Open Banking Identity & Access Management Accelerator Module

Docker resources for WSO2 Open Banking API Manager and WSO2 Open Banking Identity & Access Management Module help you build generic Docker images for deploying the corresponding product servers in containerized environments. Each Docker image includes the JDK, the relevant product distribution and a collection of utility libraries. Configurations, custom JDBC drivers, extensions and other deployable artifacts are designed to be provided via volume mounts to the containers spawned.

Docker Compose resources have been created according to the most common WSO2 Open Banking deployment profiles available for allowing users to quickly evaluate product features along side their co-operate Open Banking requirements. The Compose resources make use of Docker images of WSO2 Open Banking API Manager, WSO2 Open Banking Identity & Access Management Module and MySQL.

Dockerfiles Structure

Outer alpine & ubuntu directories contain the dockerfiles with default jdk versions. The default jdk version of an OB product is the same the base product default jdk version. The default jdk version is mentioned within the brackets below. For other jdk versions, seperate directoriers are maintained.

├── alpine
│     ├── obam (jdk17)
│     ├── obbi (jdk17)
│     └── obiam (jdk11)
├── ubuntu
│     ├── obam (jdk17)
│     ├── obbi (jdk17)
│     └── obiam (jdk11)
└── jdk17
      ├── alpine
      │     └── obiam
      └── ubuntu
            └── obiam

Contributions

For details on how to contribute to this repository, please refer this documentation.

docker-open-banking's People

Contributors

akila94 avatar amilasamith avatar anjuchamantha avatar ashi1993 avatar chathuratharushka avatar chinthakaj98 avatar chirangaalwis avatar dedunukarunarathne avatar dilanua avatar dimuthnc avatar divyapremanantha avatar hasithakn avatar imesh94 avatar kalanadananjaya avatar kaumini avatar nalakagunathilaka avatar shadhini avatar thiloshon avatar vimukthirajapaksha avatar wso2-internal-apps-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-open-banking's Issues

Create Dockerfile for Open Banking Business Intelligence for Alpine

Description:
Dockerfile for Open Banking Business Intelligence(OBBI) should be created to build the OBBI based on adoptopenjdk/openjdk8:jdk8u222-b10-alpine image and run the server

Affected Product Version:
v1.4.0

OS, DB, other environment details and versions:
Alpine

[1.4.0][OB-KM]Docker Alpine Image Fails during the Execution of "docker-compose up"

Description:
When an alpine image from docker.wso2.com is pulled during docker-compose up, was able to observe the following error and couldn't up the OB-KM server.

docker-compose up
Pulling obkm (docker.wso2.com/wso2-obkm:1.4.0.1590163412537.7-alpine3.10)...
1.4.0.1590163412537.7-alpine3.10: Pulling from wso2-obkm
9d48c3bd43c5: Pull complete
617745506915: Pull complete
b0ed4aba78d0: Pull complete
7c4093696c4e: Pull complete
d3e097d210be: Pull complete
2305320c8cee: Pull complete
b8a1c87ad1fe: Pull complete
ac370eb2b69c: Pull complete
e55eae32bdd9: Pull complete
9152d811fef2: Pull complete
mysql is up-to-date
Creating obkm ... done
Attaching to mysql, obkm
obkm | env: can't execute 'bash': No such file or directory
mysql | Initializing database
mysql | 2020-06-02T11:30:10.266857Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql | 2020-06-02T11:30:10.443615Z 0 [Warning] InnoDB: New log files created, LSN=45790

Affected Product Version:
1.4.0

Steps to reproduce:

  1. Follow the instructions given in [1].
  2. Change the docker-compose.yml in [2] to pull an alpine image.
  3. Run "docker-compose up".

[1] - https://github.com/wso2/docker-open-banking/blob/1.4.x/docker-compose/obkm/README.md
[2] - https://github.com/wso2/docker-open-banking/blob/1.4.x/docker-compose/obkm/docker-compose.yml

Tables not created for geolocationdb

Description:
Tables are missing for openbank_geolocationdb, which causes an error on OBBI-dashboard container.

Fix:
Add scripts to setup.mysql to create tables of openbank_geolocationdb

[1.5.0] Support Data Persistence during Apache based Solr Indexing

Description:
It is required to mount to the <OB_AM_HOME>/repository/database directory for persistence during the Solr indexing process [1].

During an empty directory volume mount to this directory, the original/default content within this directory gets erased. Thus, the default content needs to be preserved within the Docker image.

[1]: Apache based Solr indexing

Affected Product Version:
Docker resources for WSO2 Open Banking v1.5.0.1 and above

Create Docker resources for WSO2 Open Banking version 2.0.0

Description:
Create Dockerfiles for OBAM, OBKM and OBBI for Ubuntu based on adoptopenjdk:8u262-b10-jdk-hotspot-bionic image and for Alpine based on adoptopenjdk/openjdk8:jdk8u272-b10-alpine image. This effort is towards the OB 2.0 docker release.

Affected Product Version:
OB 2.0.0

OS, DB, other environment details and versions:
Ubuntu, Alpine

Failure to accept product startup options

Description:
Currently the Docker entrypoint scripts in WSO2 Open Banking use shell scripts. Need to convert them to bash script.
Will have to install bash in alpine for this as well.
This is needed as the current script doesn't allow passing startup options

[1.5.0] Package the Latest Version of WSO2 Kubernetes Membership Scheme

Description:
It is required to update the WSO2 Kubernetes Membership Scheme to the latest v1.0.7 in the OB Key Manager Docker container images.

Affected Product Version:
Docker resources for WSO2 Open Banking version v1.5.0.2 and above

Sub Tasks:

  • Fixed in Alpine based Docker resources
  • Fixed in Ubuntu based Docker resources
  • Code/Peer review

Create Dockerfile for Open Banking API Manager for Alpine

Description:
Dockerfile for Open Banking API Manager(OBAM) should be created to build the OBAM based on adoptopenjdk/openjdk8:jdk8u222-b10-alpine image and run the server

Affected Product Version:
v1.4.0

OS, DB, other environment details and versions:
Alpine

Refactor 'obkm' to 'obiam', 'Key Manager' to 'Identity & Access Management Module' in v2.0.0.1

Description:
In v2.0.0.1 release we used "obkm" and "Key Manger" to denote Open Banking Identity & Access Management Module. Since we have changed product names from Key Manager to Identity & Access Management Module in OB 2.0 release, OB-IAM component image has been renamed to "wso2-obiam" from "wso2-obkm". This created some issues in docker image build pipeline due to "product_profile_docker_home" being "obkm" rather than "obiam" for the OB-IAM component image. Therefore we have to refactor previously used product names to cater for new changes.

[OB3] Docker build fails due to permission denied for .ashrc file

Description:
The .ashrc file is use to save the MOTD and in obam alpine docker image build process fails due to permission denied for current user. The solution will be to override .ashrc file before changing previledges back to non-root user.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
obam-3.0.0

OS, DB, other environment details and versions:
Alpine

Steps to reproduce:

Related Issues:

[OB3] Docker builds fail due to file extension mismatch of externally given files

Description:
OB3 Dockerfiles accept zip files given from the docker release pipeline as tar.gz files and try to extract them considering them to be tar.gz files. While extracting them (externally passed zip files) using tar command, an error occurs as they aren't properly converted tar.gz files and thus, OB3 docker builds fail.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
obiam-3.0.0, obam-3.0.0

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

[1.5.0] Enable SSL Verification for Wget

Description:
Add SSL certificate verification for wget when downloading the product pack.

Affected Product Version:
Docker Resources for WSO2 Open Banking v1.5.0.1

Sub Tasks:

  • Add SSL certificate verification for wget in Alpine based Docker resources
  • Add SSL certificate verification for wget in Ubuntu based Docker resources
  • Code/Peer review

[SG][Docker] SG specific scope validation configuration is missing in identity.xml

Description:

The SG specific scope validation configuration is missing in the identity.xml and the default scope validator is there. The configuration should be changed to the SG specific one. Following is the config that should be replaced with the default scope validator in the identity.xml file under "ScopeValidators" tag.

<ScopeValidator class="com.wso2.finance.open.banking.identity.extensions.grant.type.handlers.SGJDBCScopeValidator"/>

[1.5.0] Adding the Docker Source Git Release Tag Version to Image Metadata

Description:
Currently, the Docker source Git release tag version is included as part of the Docker image tag (see image tagging mechanism).

Moving forward in order to avoid complexities within the used image tags and improve their clarity, it needs to be evaluated if this value can be added as metadata of the image (using Docker image LABELS).

Sub Tasks:

  • Add source label in Alpine based Docker resources
  • Add source label in Ubuntu based Docker resources
  • Code/Peer review

Related Issues:
wso2/docker-apim#338

Create Dockerfile for Open Banking Business Intelligence

Description:
Dockerfiles are not implemented for this repository yet. Dockerfile for Open Banking Business Intelligence(OBBI) should be created to build the OBBI and run the server

Affected Product Version:
WSO2 Open Banking API Manager v1.4.x

OS, DB, other environment details and versions:
Ubuntu

Related Issues:
#1
#2

Create Dockerfile for Open Banking API Manager

Description:
Dockerfiles are not implemented for this repository yet. Dockerfile for Open Banking API Manager(OBAM) should be created to build the OBAM and run the server

Affected Product Version:
WSO2 Open Banking API Manager v1.4.x

OS, DB, other environment details and versions:
Ubuntu

Create Docker resources for WSO2 Open Banking version 1.5.0

Description:
Dockerfile for Open Banking API Manager(OBAM) should be created to build the OBAM based on adoptopenjdk:11.0.6_10-jdk-hotspot-bionic image and run the server

Affected Product Version:
OB 1.5.0

OS, DB, other environment details and versions:
ubuntu, alpine

Create Dockerfile for Open Banking Key Manager for Alpine

Description:
Dockerfile for Open Banking Key Manager(OBKM) should be created to build the OBKM based on adoptopenjdk/openjdk8:jdk8u222-b10-alpine image and run the server

Affected Product Version:
v1.4.0

OS, DB, other environment details and versions:
Alpine

[1.5.0] Review Docker Image Port Definition for WSO2 OB Key Manager

Description:
Currently, the ports defined are 9763, 9443 and 9446. The correct set of ports to be exposed are 9766 and 9446.

Affected Product Version:
Docker Resources for WSO2 Open Banking v1.5.0.1 and below

Sub Tasks:

  • Fixed in Alpine based Docker resources
  • Fixed in Ubuntu based Docker resources
  • Code/Peer review

[OB3] Duplicate key IdentifierExecutors in OB-IS

Description:
Getting a “Duplicate key IdentifierExecutor” error when trying to update a SP created using /oauth2/dcr endpoint. This issue occurs when the org.wso2.carbon.identity.application.authentication.handler.identifier-6.3.11.11.jar is present in <IS_HOME>/repository/components/dropins directory.

Affected Product Version: OB3

OS, DB, other environment details and versions:

Steps to reproduce:
Create a new client with DCR
Login to IS console
Change Authentication Type to Federated Authentiction under "Local & Outbound Authentication Configuration" of the Service Provider

Related Issues:
https://support-internal.wso2.com/jira/browse/OBINTERNAL-862

Create Dockerfile for Open Banking Key Manager

Description:
Dockerfiles are not implemented for this repository yet. Dockerfile for Open Banking Key Manager(OBKM) should be created to build the OBKM and run the server

Affected Product Version:
WSO2 Open Banking API Manager v1.4.x

OS, DB, other environment details and versions:
Ubuntu

Related Issues:
#1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.