Skip to content

Commit

Permalink
chore: use oracle free and possibly fix checkov
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed Apr 29, 2024
1 parent ca29f87 commit 06718c0
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .checkov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
skip-check:
- CKV_SECRET_6
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ See [package.json](package.json) for a list of used packages and their versions.
- Kafka Broker: `$DOCKER_HOST_IP:9094`
- Kafka Connect: `$DOCKER_HOST_IP:8083`
- AKHQ: `$DOCKER_HOST_IP:8080`
- Oracle DB: `jdbc:oracle:thin:@//$DOCKER_HOST_IP:1521/XEPDB1` (Use credentials from init script)
- Oracle DB: `jdbc:oracle:thin:@//$DOCKER_HOST_IP:1521/FREEPDB1` (Use credentials from init script)

### Run with

Expand Down
4 changes: 2 additions & 2 deletions deploy/compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#checkov:skip=CKV_SECRET_6: all dev setup
services:
oracle:
image: docker.io/gvenzl/oracle-xe:21.3.0-slim-faststart
image: docker.io/gvenzl/oracle-free:23.3-slim-faststart@sha256:51f2c2e65bfd73fc78b4c76151055bdf5c1f61beb3018f9eec5d21f80d0f75a9
cap_drop:
- ALL
privileged: false
Expand Down Expand Up @@ -69,7 +69,7 @@ services:
- kafka

akhq:
image: docker.io/tchiotludo/akhq:0.24.0
image: docker.io/tchiotludo/akhq:0.24.0@sha256:6ccf8323ae6e93a893107f857cd9f7210add3569743b2c8528c6567967cc636f
restart: unless-stopped
cap_drop:
- ALL
Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy-connectors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ curl -X POST \
"config": {
"tasks.max": "1",
"connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
"connection.url": "jdbc:oracle:thin:@//oracle:1521/XEPDB1",
"connection.url": "jdbc:oracle:thin:@//oracle:1521/FREEPDB1",
"connection.user": "DWH_ROUTINE",
"connection.password": "devPassword",
"schema.pattern": "DWH_ROUTINE",
Expand Down
2 changes: 1 addition & 1 deletion deploy/oracle/init/00_create_dwh-routine-schema.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER SESSION SET CONTAINER = XEPDB1;
ALTER SESSION SET CONTAINER = FREEPDB1;
CREATE USER DWH_ROUTINE IDENTIFIED BY devPassword;
GRANT CREATE SESSION, CREATE TABLE TO DWH_ROUTINE;
GRANT UNLIMITED TABLESPACE TO DWH_ROUTINE;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER SESSION SET CONTAINER = XEPDB1;
ALTER SESSION SET CONTAINER = FREEPDB1;
create table DWH_ROUTINE.STG_ONKOSTAR_LKR_EXPORT
(
ID NUMBER(10),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER SESSION SET CONTAINER = XEPDB1;
ALTER SESSION SET CONTAINER = FREEPDB1;
create table DWH_ROUTINE.STG_ONKOSTAR_LKR_MELDUNG
(
ID NUMBER(10),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER SESSION SET CONTAINER = XEPDB1;
ALTER SESSION SET CONTAINER = FREEPDB1;
create table DWH_ROUTINE.STG_ONKOSTAR_LKR_MELDUNG_EXPORT
(
ID NUMBER(10),
Expand Down

0 comments on commit 06718c0

Please sign in to comment.