Skip to content

Commit

Permalink
MODOKAPFAC-4 Implement GET /_/proxy/tenants/<tenant>/modules (#12)
Browse files Browse the repository at this point in the history
* basic implementation w/o filtering

* use shared model

* sorting and filtering

* support "latest" parameter

* fix style checks

* ignore extension field in Module Descriptor

* post-merge changes

* dependency to folio-tls-utils
tenant module service unit test

* tenant module service unit test

* integration test skeleton

* integration test

* api exception handler testing

* fix sonar issues

* complete module descriptor added

* remove DB related classes and components

* keep dependencies to liquibase and spring-jdbc to avoid exceptions during component scan of TenantService

* remove liquibase scripts
add TenantControllerTest

* add TENANT_APPS_TTL env to README.md
  • Loading branch information
dmtkachenko authored Sep 9, 2024
1 parent f04d40f commit 6235551
Show file tree
Hide file tree
Showing 69 changed files with 18,386 additions and 688 deletions.
45 changes: 23 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,26 @@ Okapi facade partially implements okapi�s interface(s) via interactions w/ man

## Environment Variables

| Name | Default value | Required | Description |
|:---------------------------|:--------------|:--------:|:---------------------------------------------------------------------------|
| DB_HOST | localhost | false | Postgres hostname |
| DB_PORT | 5432 | false | Postgres port |
| DB_USERNAME | postgres | false | Postgres username |
| DB_PASSWORD | postgres | false | Postgres username password |
| DB_DATABASE | postgres | false | Postgres database name |
| AM_URL | | true | Applications Manager URL |
| AM_TLS_ENABLED | false | false | Allows to enable/disable TLS connection to mgr-applications module. |
| AM_TLS_TRUSTSTORE_PATH | - | false | Truststore file path for TLS connection to mgr-applications module. |
| AM_TLS_TRUSTSTORE_PASSWORD | - | false | Truststore password for TLS connection to mgr-applications module. |
| AM_TLS_TRUSTSTORE_TYPE | - | false | Truststore file type for TLS connection to mgr-applications module. |
| TM_URL | | true | Tenants Manager URL |
| TM_TLS_ENABLED | false | false | Allows to enable/disable TLS connection to mgr-tenants module. |
| TM_TLS_TRUSTSTORE_PATH | - | false | Truststore file path for TLS connection to mgr-tenants module. |
| TM_TLS_TRUSTSTORE_PASSWORD | - | false | Truststore password for TLS connection to mgr-tenants module. |
| TM_TLS_TRUSTSTORE_TYPE | - | false | Truststore file type for TLS connection to mgr-tenants module. |
| TE_URL | | true | Tenant Entitlements Manager URL |
| TE_TLS_ENABLED | false | false | Allows to enable/disable TLS connection to mgr-tenant-entitlements module. |
| TE_TLS_TRUSTSTORE_PATH | - | false | Truststore file path for TLS connection to mgr-tenant-entitlements module. |
| TE_TLS_TRUSTSTORE_PASSWORD | - | false | Truststore password for TLS connection to mgr-tenant-entitlements module. |
| TE_TLS_TRUSTSTORE_TYPE | - | false | Truststore file type for TLS connection to mgr-tenant-entitlements module. |
| Name | Default value | Required | Description |
|:---------------------------|:--------------|:--------:|:-----------------------------------------------------------------------------------|
| DB_HOST | localhost | false | Postgres hostname |
| DB_PORT | 5432 | false | Postgres port |
| DB_USERNAME | postgres | false | Postgres username |
| DB_PASSWORD | postgres | false | Postgres username password |
| DB_DATABASE | postgres | false | Postgres database name |
| AM_URL | | true | Applications Manager URL |
| AM_TLS_ENABLED | false | false | Allows to enable/disable TLS connection to mgr-applications module. |
| AM_TLS_TRUSTSTORE_PATH | - | false | Truststore file path for TLS connection to mgr-applications module. |
| AM_TLS_TRUSTSTORE_PASSWORD | - | false | Truststore password for TLS connection to mgr-applications module. |
| AM_TLS_TRUSTSTORE_TYPE | - | false | Truststore file type for TLS connection to mgr-applications module. |
| TM_URL | | true | Tenants Manager URL |
| TM_TLS_ENABLED | false | false | Allows to enable/disable TLS connection to mgr-tenants module. |
| TM_TLS_TRUSTSTORE_PATH | - | false | Truststore file path for TLS connection to mgr-tenants module. |
| TM_TLS_TRUSTSTORE_PASSWORD | - | false | Truststore password for TLS connection to mgr-tenants module. |
| TM_TLS_TRUSTSTORE_TYPE | - | false | Truststore file type for TLS connection to mgr-tenants module. |
| TE_URL | | true | Tenant Entitlements Manager URL |
| TE_TLS_ENABLED | false | false | Allows to enable/disable TLS connection to mgr-tenant-entitlements module. |
| TE_TLS_TRUSTSTORE_PATH | - | false | Truststore file path for TLS connection to mgr-tenant-entitlements module. |
| TE_TLS_TRUSTSTORE_PASSWORD | - | false | Truststore password for TLS connection to mgr-tenant-entitlements module. |
| TE_TLS_TRUSTSTORE_TYPE | - | false | Truststore file type for TLS connection to mgr-tenant-entitlements module. |
| TENANT_APPS_TTL | 600s | false | Time-to-live of the elements in the cache which stores tenant enabled applications |
Loading

0 comments on commit 6235551

Please sign in to comment.