#881: DvelopConfiguration.kt

projectforge-business/src/main/kotlin/org/projectforge/business/dvelop/DvelopConfiguration.kt

Type: Spring @Configuration class — Property holder

Purpose: Holds the connection and authentication configuration for ProjectForge's D-velop integration (base URI, API key, and organization name).

Source path: projectforge-business/src/main/kotlin/org/projectforge/business/dvelop/DvelopConfiguration.kt

56 lines · 19 code · 31 comments · 6 blank

A Spring configuration class that reads D-velop connectivity settings from the application property file. The D-velop integration enables bi-directional synchronization of TradingPartners (customers, vendors, partners) between ProjectForge and D-velop's platform. This class serves as a simple property holder with a convenience isConfigured() method used to gate D-velop features.

Properties

PropertySourceTypeDescription
baseUriprojectforge.dvelop.baseUriStringThe base URL of the D-velop REST API endpoint
apiKeyprojectforge.dvelop.apiKeyStringThe API key used for authenticating against the D-velop API
organizationNameprojectforge.dvelop.organizationStringIf given, all TradingPartner entities will be assigned to this D-velop organization by ID

Key Method

fun isConfigured(): Boolean

Returns true only if both baseUri and apiKey are non-blank. This is the gate that determines whether D-velop synchronization features are active. All D-velop services should check this before attempting API calls.

Architecture Notes

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
5f9bbfbd3 Fix typos in projectforge-business directory
b6092df09 Copyright 2023 -> 2024
be750e77e WIP D.velop
9ebb99c88 WIP D.velop
cb2915283 WIP D.velop
6a4ee1932 WIP D-velop
50926baa8 WIP D-velop
d7dbe95d3 Started with an React page.
c2418da24 dvelop package moved from projectforge-business to projectforge-rest.
f993107db Initial revision. Spring boot 2.7.6->2.7.7
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
fce791a31 Rest service for sms texting implemented.
0e850ecb2 Plugins don't need to be spring components, ServiceLoader is used again.
c526c1bbb I18nEnum, IUserRightId -> Kotlin.
7c79f1922 Copyright of source header -> 2020.
dd5ca38ac CopyRight of all java file-header updated or created.
9ebb88522 Initial commit