Commit Graph

15007 Commits

Author SHA1 Message Date
Marko Milić
1438e8f03c test/Fix failed v6.0.0 tests 2025-12-04 10:56:49 +01:00
simonredfern
b695206c1e docfix: Documentation for dynamic entity, example is required 2025-12-04 00:56:58 +01:00
simonredfern
95549363b4 Accepting both integer and double for number in dynamic entity 2025-12-03 23:22:32 +01:00
simonredfern
bd20986670 Accept true / false without quotes in Dynamic Entity field values. Allow tests to run 2025-12-03 23:12:01 +01:00
simonredfern
7dd62a89b4 liftweb and http4s together 2025-12-03 22:39:09 +01:00
simonredfern
9260ac4e0a Lift / http4s thoughts 2025-12-03 08:09:36 +01:00
simonredfern
b461724299 password reset tests 2025-12-03 07:57:29 +01:00
simonredfern
634d583105 compile fix 2025-12-03 06:14:16 +01:00
simonredfern
c73961c974 POST custom view management 2025-12-03 05:45:23 +01:00
simonredfern
31811e3a91 fixing compile error 2025-12-02 23:07:53 +01:00
simonredfern
0f7ca58c83 GET system-views and custom-views 2025-12-02 22:43:37 +01:00
simonredfern
5b6538661a fixed dynamic entity / dynamic endpoint import. added v6.0.0 GET system views. 2025-12-02 21:47:22 +01:00
simonredfern
44bfdc8ca9 Groups 2025-12-02 12:31:52 +01:00
simonredfern
c0ba6138de fixing Create User in v6.0.0 2025-12-02 00:08:38 +01:00
simonredfern
b9e531ed7f v6.0.0 delete ent WIP 2025-12-02 00:00:45 +01:00
simonredfern
1e8b47c819 adding TODO should fix role docs file 2025-12-01 23:27:32 +01:00
simonredfern
d61e65f37c Added v6.0.0 of delete entitlement 2025-12-01 23:24:32 +01:00
simonredfern
045ac2c0be create user v6.0.0 validating_application so can control which app validates user 2025-12-01 22:11:32 +01:00
simonredfern
e1e151b5df docfix: entitlement jsons 2025-12-01 12:55:58 +01:00
simonredfern
677e5decda adding entitlement_request_id optional field to entitlement 2025-11-28 10:54:18 +01:00
simonredfern
5cd3970287 Merge branch 'develop' of github.com:OpenBankProject/OBP-API into develop 2025-11-28 10:50:57 +01:00
Simon Redfern
8ffd57f1da
Merge pull request #2638 from hongwei1/develop
test/CreateUserTest to use constant for InvalidStrongPasswordFormat e…
2025-11-28 09:33:50 +01:00
hongwei
915429788a test/CreateUserTest to use constant for InvalidStrongPasswordFormat error message 2025-11-28 09:16:18 +01:00
simonredfern
f39a8302e5 Merge branch 'develop' of github.com:OpenBankProject/OBP-API into develop 2025-11-28 09:02:21 +01:00
Simon Redfern
73396e438f
Merge pull request #2637 from constantine2nd/develop
Java 17
2025-11-28 08:13:09 +01:00
simonredfern
6c48d1b5fd Added roles-with-entitlement-counts endpoint 2025-11-28 07:54:09 +01:00
Marko Milić
c0f1631081 Merge remote-tracking branch 'upstream/develop' into develop 2025-11-27 17:06:14 +01:00
Marko Milić
a999e351c8 dockfix/Add openjdk version "17.0.11" at docker
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
2025-11-27 17:02:25 +01:00
Marko Milić
93d7fcacd7 feature/Add openjdk version "17.0.11" at docker
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
2025-11-27 16:58:37 +01:00
Marko Milić
141f2d666f feature/Move docker to the development folder 2 2025-11-27 16:37:16 +01:00
simonredfern
812cc8ffb4 disabled CardTest created CreateUserTest.scala 2025-11-27 16:08:45 +01:00
simonredfern
baa445a297 Adding v6.0.0 of Create User with better error for duplicate username 2025-11-27 15:47:49 +01:00
Marko Milić
72dca46865 feature/Move docker to the development folder 2025-11-27 15:42:03 +01:00
Simon Redfern
c263d369d0
Merge pull request #2636 from hongwei1/develop
develop
2025-11-27 15:17:42 +01:00
Marko Milić
194d1cc7e8 feature/Copying recursively might inadvertently add sensitive data to the container.
SonarQube security warning by:

## Summary of Changes

### 1. **Selective File Copying in Dockerfile**
Instead of using `COPY . .` which copies everything recursively, I've updated the Dockerfile to explicitly copy only the necessary files and directories:

- **Maven configuration**: `pom.xml`, `build.sbt`
- **Source code directories**: `obp-api/`, `obp-commons/`, `project/`
- **Required build files**: `jitpack.yml`, `web-app_2_3.dtd`

### 2. **Enhanced .dockerignore**
I've significantly expanded the `.dockerignore` file to exclude:

- **IDE files**: `.idea/`, `.vscode/`, `.metals/`, etc.
- **Build artifacts**: `target/`, `cache/`, Maven local repository
- **Sensitive files**: Environment files, keys, certificates, passwords
- **OS files**: `.DS_Store`, thumbnails, etc.
- **Documentation**: Most markdown files (keeping license files)
- **Development files**: `ideas/`, `resourcedoc/`

## Security Benefits

1. **Reduced attack surface**: Only necessary files are included in the Docker image
2. **No accidental secrets**: Explicit exclusion of common sensitive file patterns
3. **Smaller image size**: Excluding unnecessary files reduces image size
4. **Better maintainability**: Clear understanding of what goes into the container

## Build Compatibility

The changes maintain full Maven build compatibility by ensuring all necessary files for the build process are still copied:
- Maven POM files for dependency management
- Source code directories
- Build configuration files
- The entrypoint script (specifically allowed in .dockerignore)

This approach follows Docker security best practices and addresses the SonarQube warning while maintaining the functionality of your build process.
2025-11-27 14:21:54 +01:00
hongwei
bfeb638865 Refactor/MappedMetrics: Remove consumerIdToPrimaryKey method and simplify consumerId handling in metric queries. 2025-11-27 13:22:34 +01:00
Simon Redfern
80cf296387
Merge pull request #2635 from hongwei1/develop
test/fixed
2025-11-27 12:40:08 +01:00
hongwei
532c37cf28 Refactor /Group management: Introduce GroupTrait and MappedGroupProvider, replacing MappedGroup. Enhance group creation, retrieval, updating, and deletion methods with improved type handling and error management. 2025-11-27 12:31:04 +01:00
hongwei
0183ea9edd Merge remote-tracking branch 'Marko/develop' into develop-Simon 2025-11-27 12:22:09 +01:00
simonredfern
e4353fcd4d changing Error Code for ExcludeParametersNotSupported to "OBP-30146" 2025-11-27 12:12:16 +01:00
simonredfern
fbc36c49bf changing OBP number for InvalidSystemViewFormat to OBP-20039 2025-11-27 12:08:51 +01:00
Marko Milić
d4e0f6aef3 Merge remote-tracking branch 'upstream/develop' into develop 2025-11-27 09:16:21 +01:00
simonredfern
81ee35aae8 Change devops path to system in v5.1.0 and v6.0.0 2025-11-26 23:58:12 +01:00
simonredfern
f09dba09a7 fixing duplicate root v6.0.0 2025-11-26 23:26:57 +01:00
simonredfern
9b5523215d docfix: added v6.0.0 /root 2025-11-26 22:59:37 +01:00
simonredfern
bcf6dc6726 group table name 2025-11-26 21:54:57 +01:00
simonredfern
c24a0bf74e Feature: Adding Groups 2025-11-26 21:23:49 +01:00
simonredfern
0dbad9c2e8 docfix: metrics exclude params disabled. include_ params are optional. 2025-11-26 19:27:07 +01:00
simonredfern
b0e11905b3 Disable exclude app names on metrics queries v6.0.0 2025-11-26 19:23:53 +01:00
simonredfern
d3314bf310 Refactor: http_status_code param 2025-11-26 14:53:27 +01:00