Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hu-ahmed committed Jul 23, 2024
1 parent b4cbb34 commit 321c7e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 3.5.10 # chart version is effectively set by release-job
appVersion: 3.5.10
version: 3.5.12 # chart version is effectively set by release-job
appVersion: 3.5.12
keywords:
- iot-chart
- digital-twin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public final class DefaultOptionsConfig implements MongoDbConfig.OptionsConfig {
*/
static final String CONFIG_PATH = "options";

private final boolean useAwsIamRole;
private final boolean sslEnabled;
private final ReadPreference readPreference;
private final ReadConcern readConcern;
Expand All @@ -47,6 +48,7 @@ public final class DefaultOptionsConfig implements MongoDbConfig.OptionsConfig {
private final Map<String, Object> extraUriOptions;

private DefaultOptionsConfig(final ScopedConfig config) {
useAwsIamRole = config.getBoolean(OptionsConfigValue.USE_AWS_IAM_ROLE.getConfigPath());
sslEnabled = config.getBoolean(OptionsConfigValue.SSL_ENABLED.getConfigPath());
final var readPreferenceString = config.getString(OptionsConfigValue.READ_PREFERENCE.getConfigPath());
readPreference = ReadPreference.ofReadPreference(readPreferenceString)
Expand Down Expand Up @@ -118,6 +120,11 @@ public boolean isRetryWrites() {
return retryWrites;
}

@Override
public boolean isUseAwsIamRole() {
return useAwsIamRole;
}

@Override
public Map<String, Object> extraUriOptions() {
return extraUriOptions;
Expand Down

0 comments on commit 321c7e2

Please sign in to comment.