Skip to content

Commit c757e9e

Browse files
committed
Remove unused classes and properties related to Twingraph.
Deleted Twingraph-related event classes and unused properties (`images`, `containers`) from `CsmPlatformProperties`. Also added an `enabled` flag to `CsmStorage` for internal storage configuration. This simplifies the codebase and improves clarity.
1 parent c3fd357 commit c757e9e

File tree

2 files changed

+3
-31
lines changed

2 files changed

+3
-31
lines changed

src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ data class CsmPlatformProperties(
3030
/** Argo Service */
3131
val argo: Argo,
3232

33-
/** Cosmo Tech core images */
34-
val images: CsmImages,
35-
36-
/** Cosmo Tech available containers */
37-
val containers: List<CsmContainers>,
38-
3933
/** Authorization Configuration */
4034
val authorization: Authorization = Authorization(),
4135

@@ -78,6 +72,9 @@ data class CsmPlatformProperties(
7872
val eventBus: CsmEventBus
7973
) {
8074
data class CsmStorage(
75+
/** Define if current API use internal storage for probes or not */
76+
val enabled: Boolean = true,
77+
8178
/** Storage host */
8279
val host: String,
8380

src/main/kotlin/com/cosmotech/api/events/TwingraphEvents.kt

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)