Skip to content

Commit

Permalink
Fixed some of the "available since" info for our config properties (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann authored Oct 11, 2024
1 parent 39d40fc commit 145375d
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class AuthConfig {
String adminOverrideClaimValue;

@ConfigProperty(name = "apicurio.auth.admin-override.user", defaultValue = "admin")
@Info(category = "auth", description = "Auth admin override user name", availableSince = "3.0.0.Final")
@Info(category = "auth", description = "Auth admin override user name", availableSince = "3.0.0")
String adminOverrideUser;

@PostConstruct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class RegistryStorageProducer {
Instance<RegistryStorageDecorator> decorators;

@ConfigProperty(name = "apicurio.storage.kind")
@Info(category = "storage", description = "Application storage variant, for example, sql, kafkasql, or gitops", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application storage variant, for example, sql, kafkasql, or gitops", availableSince = "3.0.0")
String registryStorageType;

private RegistryStorage cachedCurrent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
public class BlueDatasourceProducer {

@ConfigProperty(name = "apicurio.datasource.blue.db-kind", defaultValue = "h2")
@Info(category = "storage", description = "Gitops blue datasource db kind", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource db kind", availableSince = "3.0.0")
String databaseType;

@ConfigProperty(name = "apicurio.datasource.blue.jdbc.url", defaultValue = "jdbc:h2:mem:registry_db")
@Info(category = "storage", description = "Gitops blue datasource jdbc url", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource jdbc url", availableSince = "3.0.0")
String jdbcUrl;

@ConfigProperty(name = "apicurio.datasource.blue.username", defaultValue = "sa")
@Info(category = "storage", description = "Gitops blue datasource username", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource username", availableSince = "3.0.0")
String username;

@ConfigProperty(name = "apicurio.datasource.blue.password", defaultValue = "sa")
@Info(category = "storage", description = "Gitops blue datasource password", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource password", availableSince = "3.0.0")
String password;

@ConfigProperty(name = "apicurio.datasource.blue.jdbc.initial-size", defaultValue = "20")
@Info(category = "storage", description = "Gitops blue datasource pool initial size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource pool initial size", availableSince = "3.0.0")
String initialSize;

@ConfigProperty(name = "apicurio.datasource.blue.jdbc.min-size", defaultValue = "20")
@Info(category = "storage", description = "Gitops blue datasource pool minimum size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource pool minimum size", availableSince = "3.0.0")
String minSize;

@ConfigProperty(name = "apicurio.datasource.blue.jdbc.max-size", defaultValue = "100")
@Info(category = "storage", description = "Gitops blue datasource pool max size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops blue datasource pool max size", availableSince = "3.0.0")
String maxSize;

@Produces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class GitOpsRegistryStorage extends AbstractReadOnlyRegistryStorage {
GitManager gitManager;

@ConfigProperty(name = "apicurio.storage.kind")
@Info(category = "storage", description = "Application storage variant, for example, sql, kafkasql, or gitops", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application storage variant, for example, sql, kafkasql, or gitops", availableSince = "3.0.0")
String registryStorageType;

// Fair lock, so we ensure the writer does not wait indefinitely under high throughput.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
public class GreenDatasourceProducer {

@ConfigProperty(name = "apicurio.datasource.green.db-kind", defaultValue = "h2")
@Info(category = "storage", description = "Gitops green datasource db kind", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource db kind", availableSince = "3.0.0")
String databaseType;

@ConfigProperty(name = "apicurio.datasource.green.jdbc.url", defaultValue = "jdbc:h2:mem:registry_db")
@Info(category = "storage", description = "Gitops green datasource jdbc url", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource jdbc url", availableSince = "3.0.0")
String jdbcUrl;

@ConfigProperty(name = "apicurio.datasource.green.username", defaultValue = "sa")
@Info(category = "storage", description = "Gitops green datasource username", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource username", availableSince = "3.0.0")
String username;

@ConfigProperty(name = "apicurio.datasource.green.password", defaultValue = "sa")
@Info(category = "storage", description = "Gitops green datasource password", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource password", availableSince = "3.0.0")
String password;

@ConfigProperty(name = "apicurio.datasource.green.jdbc.initial-size", defaultValue = "20")
@Info(category = "storage", description = "Gitops green datasource pool initial size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource pool initial size", availableSince = "3.0.0")
String initialSize;

@ConfigProperty(name = "apicurio.datasource.green.jdbc.min-size", defaultValue = "20")
@Info(category = "storage", description = "Gitops green datasource pool minimum size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource pool minimum size", availableSince = "3.0.0")
String minSize;

@ConfigProperty(name = "apicurio.datasource.green.jdbc.max-size", defaultValue = "100")
@Info(category = "storage", description = "Gitops green datasource pool max size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Gitops green datasource pool max size", availableSince = "3.0.0")
String maxSize;

@Produces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,31 @@ public class RegistryDatasourceProducer {
Logger log;

@ConfigProperty(name = "apicurio.storage.sql.kind", defaultValue = "h2")
@Info(category = "storage", description = "Application datasource database type", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource database type", availableSince = "3.0.0")
String databaseType;

@ConfigProperty(name = "apicurio.datasource.url", defaultValue = "jdbc:h2:mem:registry_db")
@Info(category = "storage", description = "Application datasource jdbc url", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource jdbc url", availableSince = "3.0.0")
String jdbcUrl;

@ConfigProperty(name = "apicurio.datasource.username", defaultValue = "sa")
@Info(category = "storage", description = "Application datasource username", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource username", availableSince = "3.0.0")
String username;

@ConfigProperty(name = "apicurio.datasource.password", defaultValue = "sa")
@Info(category = "storage", description = "Application datasource password", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource password", availableSince = "3.0.0")
String password;

@ConfigProperty(name = "apicurio.datasource.jdbc.initial-size", defaultValue = "20")
@Info(category = "storage", description = "Application datasource pool initial size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource pool initial size", availableSince = "3.0.0")
String initialSize;

@ConfigProperty(name = "apicurio.datasource.jdbc.min-size", defaultValue = "20")
@Info(category = "storage", description = "Application datasource pool minimum size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource pool minimum size", availableSince = "3.0.0")
String minSize;

@ConfigProperty(name = "apicurio.datasource.jdbc.max-size", defaultValue = "100")
@Info(category = "storage", description = "Application datasource pool maximum size", availableSince = "3.0.0.Final")
@Info(category = "storage", description = "Application datasource pool maximum size", availableSince = "3.0.0")
String maxSize;

@Produces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The following {registry} configuration options are available for each component
|`apicurio.auth.admin-override.user`
|`string`
|`admin`
|`3.0.0.Final`
|`3.0.0`
|Auth admin override user name
|`apicurio.auth.anonymous-read-access.enabled`
|`boolean [dynamic]`
Expand Down Expand Up @@ -592,102 +592,102 @@ The following {registry} configuration options are available for each component
|`apicurio.datasource.blue.db-kind`
|`string`
|`h2`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource db kind
|`apicurio.datasource.blue.jdbc.initial-size`
|`string`
|`20`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource pool initial size
|`apicurio.datasource.blue.jdbc.max-size`
|`string`
|`100`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource pool max size
|`apicurio.datasource.blue.jdbc.min-size`
|`string`
|`20`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource pool minimum size
|`apicurio.datasource.blue.jdbc.url`
|`string`
|`jdbc:h2:mem:registry_db`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource jdbc url
|`apicurio.datasource.blue.password`
|`string`
|`sa`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource password
|`apicurio.datasource.blue.username`
|`string`
|`sa`
|`3.0.0.Final`
|`3.0.0`
|Gitops blue datasource username
|`apicurio.datasource.green.db-kind`
|`string`
|`h2`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource db kind
|`apicurio.datasource.green.jdbc.initial-size`
|`string`
|`20`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource pool initial size
|`apicurio.datasource.green.jdbc.max-size`
|`string`
|`100`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource pool max size
|`apicurio.datasource.green.jdbc.min-size`
|`string`
|`20`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource pool minimum size
|`apicurio.datasource.green.jdbc.url`
|`string`
|`jdbc:h2:mem:registry_db`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource jdbc url
|`apicurio.datasource.green.password`
|`string`
|`sa`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource password
|`apicurio.datasource.green.username`
|`string`
|`sa`
|`3.0.0.Final`
|`3.0.0`
|Gitops green datasource username
|`apicurio.datasource.jdbc.initial-size`
|`string`
|`20`
|`3.0.0.Final`
|`3.0.0`
|Application datasource pool initial size
|`apicurio.datasource.jdbc.max-size`
|`string`
|`100`
|`3.0.0.Final`
|`3.0.0`
|Application datasource pool maximum size
|`apicurio.datasource.jdbc.min-size`
|`string`
|`20`
|`3.0.0.Final`
|`3.0.0`
|Application datasource pool minimum size
|`apicurio.datasource.password`
|`string`
|`sa`
|`3.0.0.Final`
|`3.0.0`
|Application datasource password
|`apicurio.datasource.url`
|`string`
|`jdbc:h2:mem:registry_db`
|`3.0.0.Final`
|`3.0.0`
|Application datasource jdbc url
|`apicurio.datasource.username`
|`string`
|`sa`
|`3.0.0.Final`
|`3.0.0`
|Application datasource username
|`apicurio.events.kafka.topic`
|`string`
Expand Down Expand Up @@ -807,7 +807,7 @@ The following {registry} configuration options are available for each component
|`apicurio.storage.kind`
|`string`
|
|`3.0.0.Final`
|`3.0.0`
|Application storage variant, for example, sql, kafkasql, or gitops
|`apicurio.storage.read-only.enabled`
|`boolean [dynamic]`
Expand All @@ -822,7 +822,7 @@ The following {registry} configuration options are available for each component
|`apicurio.storage.sql.kind`
|`string`
|`h2`
|`3.0.0.Final`
|`3.0.0`
|Application datasource database type
|`artifacts.skip.disabled.latest`
|`boolean`
Expand Down

0 comments on commit 145375d

Please sign in to comment.