GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OpenResilienceInitiative/ORISO-ConsultingTypeService

BranchesTags
Open more actions menu

Latest commit

 

History

352 Commits
352 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mvn/wrapper
.mvn/wrapper
 
 
.understand-anything
.understand-anything
 
 
api
api
 
 
consulting-type-settings
consulting-type-settings
 
 
contracts
contracts
 
 
docs/agents
docs/agents
 
 
documentation
documentation
 
 
scripts
scripts
 
 
services
services
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.swagger-codegen-ignore
.swagger-codegen-ignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
config.env.example
config.env.example
 
 
deploy-development.sh
deploy-development.sh
 
 
docker-build.cmd
docker-build.cmd
 
 
google_checks_light.xml
google_checks_light.xml
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 
run-local-remote-db.sh
run-local-remote-db.sh
 
 
run-trivy.sh
run-trivy.sh
 
 

Repository files navigation

ORISO ConsultingTypeService

Overview

Spring Boot service for managing consulting type configurations in the Online Beratung platform.

Quick Start

Run in Kubernetes

The service automatically starts via Kubernetes deployment using Maven Spring Boot plugin.

# Check service status
kubectl get pods -n caritas | grep consultingtypeservice
kubectl logs -n caritas -l app=consultingtypeservice --tail=100

Run Locally (Development)

cd /home/caritas/Desktop/online-beratung/caritas-workspace/ORISO-ConsultingTypeService
chmod +x mvnw
./mvnw spring-boot:run -Dspring-boot.run.profiles=local -DskipTests

Configuration

Database Connections

MariaDB ClusterIP: 10.43.123.72:3306

spring.datasource.url=jdbc:mariadb://10.43.123.72:3306/consultingtypeservice
spring.datasource.username=consultingtypeservice
spring.datasource.password=consultingtypeservice

MongoDB ClusterIP: 10.43.61.124:27017

spring.data.mongodb.uri=mongodb://10.43.61.124:27017/consulting_types

Liquibase

STATUS: ⚠️ DISABLED

spring.liquibase.enabled=false

Database schemas are managed separately in ORISO-Database repository.

JSON Schema Validation

STATUS: ⚠️ DISABLED

The JSON schema validation has been disabled in ConsultingTypeValidator.java to prevent startup failures:

public void validateConsultingTypeConfigurationJsonFile(File consultingTypeJsonFile) {
  // VALIDATION DISABLED - Skip validation to allow service to start
}

Consulting Type Configuration Files

Located in: consulting-type-settings/

Active Files:

  • consulting-type-0.json
  • consulting-type-1.json
  • consulting-type-2.json

Note: default.json was removed as it caused deserialization errors.

Keycloak

keycloak.auth-server-url=http://localhost:8080
keycloak.realm=online-beratung
keycloak.resource=consulting-type-service

Important Notes

  • Port: 8083
  • Profile: local
  • Liquibase: ⚠️ DISABLED - schemas managed in ORISO-Database
  • JSON Validation: ⚠️ DISABLED - to prevent startup failures
  • Databases: Uses both MariaDB AND MongoDB
  • Database IPs: Uses ClusterIPs (NOT localhost)
  • Host Network: Enabled in Kubernetes for direct localhost access

Special Modifications

  1. Disabled JSON Schema Validation - The validator was causing startup failures due to schema violations
  2. Removed default.json - This file was causing JSON deserialization errors
  3. Disabled Liquibase - All database migrations handled separately

Kubernetes Deployment Path

/home/caritas/Desktop/online-beratung/caritas-workspace/ORISO-ConsultingTypeService

Health Check

curl http://localhost:8083/actuator/health

Troubleshooting

Service Won't Start

  1. Check MongoDB connection: kubectl get svc -n caritas mongodb
  2. Check MariaDB connection: kubectl get svc -n caritas mariadb
  3. Verify Liquibase is disabled: grep liquibase.enabled src/main/resources/application-local.properties
  4. Check JSON files in consulting-type-settings/ are valid

Validation Errors

JSON validation is disabled. If you need to re-enable it:

  1. Restore original ConsultingTypeValidator.java from git
  2. Ensure all JSON files match the schema in src/main/resources/schemas/consulting-type.json

Dependencies

  • Java 17
  • Spring Boot 2.7.14
  • MariaDB (relational data)
  • MongoDB (JSON document storage)
  • Keycloak

About

No description, website, or topics provided.

Resources

Readme
AGPL-3.0 license
Activity
Custom properties

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.