Skip to content

Commit

Permalink
Fixed JSON file formatting (indent_size=4)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzlabrdx committed Aug 18, 2022
1 parent 8340117 commit 413c221
Show file tree
Hide file tree
Showing 13 changed files with 276 additions and 276 deletions.
20 changes: 10 additions & 10 deletions deployment/data-aggregator-fixed-configuration.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"Logging": {
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"IncludeScopes": true,
"ColorBehavior": "Enabled",
"TimestampFormat": "yyyy-MM-ddTHH\\:mm\\:ss.fff\\Z ",
"UseUtcTimestamp": true
}
"Logging": {
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"IncludeScopes": true,
"ColorBehavior": "Enabled",
"TimestampFormat": "yyyy-MM-ddTHH\\:mm\\:ss.fff\\Z ",
"UseUtcTimestamp": true
}
}
}
}
}
20 changes: 10 additions & 10 deletions deployment/gateway-api-fixed-configuration.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"Logging": {
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"IncludeScopes": true,
"ColorBehavior": "Enabled",
"TimestampFormat": "yyyy-MM-ddTHH\\:mm\\:ss.fff\\Z ",
"UseUtcTimestamp": true
}
"Logging": {
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"IncludeScopes": true,
"ColorBehavior": "Enabled",
"TimestampFormat": "yyyy-MM-ddTHH\\:mm\\:ss.fff\\Z ",
"UseUtcTimestamp": true
}
}
}
}
}
36 changes: 18 additions & 18 deletions samples/DataAggregator/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"Data Aggregator": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7214;http://localhost:5207",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
},
"Data Aggregator (Production)": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7214;http://localhost:5207",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Production"
}
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"Data Aggregator": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7214;http://localhost:5207",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
},
"Data Aggregator (Production)": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7214;http://localhost:5207",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Production"
}
}
}
}
}
50 changes: 25 additions & 25 deletions samples/DataAggregator/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft": "Warning",
"System": "Warning",
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft": "Warning",
"System": "Warning",
},
},
},

"__COMMENT__": "Everything below is quite temporary",
"__COMMENT__": "Everything below is quite temporary",

"DataAggregator": {
"Network": {
"NetworkName": "mainnet",
"DisableCoreApiHttpsCertificateChecks": false,
"CoreApiNodes": [
{
"Name": "node1",
"CoreApiAddress": "http://localhost:3333",
"TrustWeighting": 1,
"Enabled": true,
},
{
"Name": "node2",
"CoreApiAddress": "http://localhost:3334",
"TrustWeighting": 1,
"Enabled": false,
"DataAggregator": {
"Network": {
"NetworkName": "mainnet",
"DisableCoreApiHttpsCertificateChecks": false,
"CoreApiNodes": [
{
"Name": "node1",
"CoreApiAddress": "http://localhost:3333",
"TrustWeighting": 1,
"Enabled": true,
},
{
"Name": "node2",
"CoreApiAddress": "http://localhost:3334",
"TrustWeighting": 1,
"Enabled": false,
},
],
},
],
},
},
}
28 changes: 14 additions & 14 deletions samples/DataAggregator/appsettings.Production.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"System": "Warning",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"System": "Warning",
},
"Console": {
"FormatterName": "json",
"FormatterOptions": {
"IncludeScopes": true,
"TimestampFormat": "yyyy-MM-ddTHH\\:mm\\:ss.fff\\Z",
"UseUtcTimestamp": true,
},
},
},
"Console": {
"FormatterName": "json",
"FormatterOptions": {
"IncludeScopes": true,
"TimestampFormat": "yyyy-MM-ddTHH\\:mm\\:ss.fff\\Z",
"UseUtcTimestamp": true,
},
},
},
}
96 changes: 48 additions & 48 deletions samples/DataAggregator/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Logging": {
"LogLevel": {
"Default": "Information",
},
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"SingleLine": true,
"IncludeScopes": true,
"TimestampFormat": "HH:mm:ss",
"UseUtcTimestamp": false,
},
},
},
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"SingleLine": true,
"IncludeScopes": true,
"TimestampFormat": "HH:mm:ss",
"UseUtcTimestamp": false,
},
},
},

"__COMMENT__": "Everything below is quite temporary",
"__COMMENT__": "Everything below is quite temporary",

"ConnectionStrings": {
"NetworkGatewayReadOnly": "Host=localhost:5432;Database=radixdlt_ledger;Username=db_dev_superuser;Password=db_dev_password;Include Error Detail=true",
"NetworkGatewayReadWrite": "Host=localhost:5432;Database=radixdlt_ledger;Username=db_dev_superuser;Password=db_dev_password;Include Error Detail=true",
},
"ConnectionStrings": {
"NetworkGatewayReadOnly": "Host=localhost:5432;Database=radixdlt_ledger;Username=db_dev_superuser;Password=db_dev_password;Include Error Detail=true",
"NetworkGatewayReadWrite": "Host=localhost:5432;Database=radixdlt_ledger;Username=db_dev_superuser;Password=db_dev_password;Include Error Detail=true",
},

"PrometheusMetricsPort": 1234,
"PrometheusMetricsPort": 1234,

"DataAggregator": {
"Network": {
"NetworkName": "mainnet",
"DisableCoreApiHttpsCertificateChecks": false,
"CoreApiNodes": [],
},
"Mempool": {
"MinDelayBetweenMissingFromMempoolAndResubmissionSeconds": 10,
"MinDelayBetweenResubmissionsSeconds": 10,
"StopResubmittingAfterSeconds": 300,
"PruneCommittedAfterSeconds": 10,
"PruneMissingTransactionsAfterTimeSinceLastGatewaySubmissionSeconds": 604800,
"PruneMissingTransactionsAfterTimeSinceFirstSeenSeconds": 604800,
"PruneRequiresMissingFromMempoolForSeconds": 60,
},
"LedgerConfirmation": {
"CommitRequiresNodeQuorumTrustProportion": 0.51,
"OnlyUseSufficientlySyncedUpNodesForQuorumCalculation": true,
"SufficientlySyncedStateVersionThreshold": 1000,
"MaxCommitBatchSize": 1000,
"MaxTransactionPipelineSizePerNode": 3000,
"LargeBatchSizeToAddDelay": 500,
"DelayBetweenLargeBatchesMilliseconds": 0,
},
"TransactionAssertions": {
"AssertDownedSubstatesMatchDownFromCoreApi": false,
"SubstateTypesWhichAreAllowedToHaveIncompleteHistoryCommaSeparated": "ValidatorSystemMetadataSubstate",
},
}
"DataAggregator": {
"Network": {
"NetworkName": "mainnet",
"DisableCoreApiHttpsCertificateChecks": false,
"CoreApiNodes": [],
},
"Mempool": {
"MinDelayBetweenMissingFromMempoolAndResubmissionSeconds": 10,
"MinDelayBetweenResubmissionsSeconds": 10,
"StopResubmittingAfterSeconds": 300,
"PruneCommittedAfterSeconds": 10,
"PruneMissingTransactionsAfterTimeSinceLastGatewaySubmissionSeconds": 604800,
"PruneMissingTransactionsAfterTimeSinceFirstSeenSeconds": 604800,
"PruneRequiresMissingFromMempoolForSeconds": 60,
},
"LedgerConfirmation": {
"CommitRequiresNodeQuorumTrustProportion": 0.51,
"OnlyUseSufficientlySyncedUpNodesForQuorumCalculation": true,
"SufficientlySyncedStateVersionThreshold": 1000,
"MaxCommitBatchSize": 1000,
"MaxTransactionPipelineSizePerNode": 3000,
"LargeBatchSizeToAddDelay": 500,
"DelayBetweenLargeBatchesMilliseconds": 0,
},
"TransactionAssertions": {
"AssertDownedSubstatesMatchDownFromCoreApi": false,
"SubstateTypesWhichAreAllowedToHaveIncompleteHistoryCommaSeparated": "ValidatorSystemMetadataSubstate",
},
}
}
32 changes: 16 additions & 16 deletions samples/DatabaseMigrations/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"DatabaseMigrations": {
"commandName": "Project",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"DatabaseMigrations": {
"commandName": "Project",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
}
},
"Wipe Database": {
"commandName": "Project",
"dotnetRunMessages": true,
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development",
"WIPE_DATABASE": "true"
}
}
}
},
"Wipe Database": {
"commandName": "Project",
"dotnetRunMessages": true,
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development",
"WIPE_DATABASE": "true"
}
}
}
}
38 changes: 19 additions & 19 deletions samples/DatabaseMigrations/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information",
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information",
},
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"SingleLine": true,
"IncludeScopes": true,
"TimestampFormat": "HH:mm:ss",
"UseUtcTimestamp": false,
},
},
},
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"SingleLine": true,
"IncludeScopes": true,
"TimestampFormat": "HH:mm:ss",
"UseUtcTimestamp": false,
},
},
},

"__COMMENT__": "Everything below is quite temporary",
"__COMMENT__": "Everything below is quite temporary",

"ConnectionStrings": {
"NetworkGatewayMigrations": "Host=localhost:5432;Database=radixdlt_ledger;Username=db_dev_superuser;Password=db_dev_password;Include Error Detail=true"
}
"ConnectionStrings": {
"NetworkGatewayMigrations": "Host=localhost:5432;Database=radixdlt_ledger;Username=db_dev_superuser;Password=db_dev_password;Include Error Detail=true"
}
}
Loading

0 comments on commit 413c221

Please sign in to comment.