diff --git a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Configuration_ConfigServer/ConfigurationSchema.json b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Configuration_ConfigServer/ConfigurationSchema.json index a483e35..18d8670 100644 --- a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Configuration_ConfigServer/ConfigurationSchema.json +++ b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Configuration_ConfigServer/ConfigurationSchema.json @@ -119,7 +119,7 @@ }, "Label": { "type": "string", - "description": "Gets or sets a comma-delimited list of labels to request from the server." + "description": "Gets or sets a comma-separated list of labels to request from the server." }, "Name": { "type": "string", @@ -181,7 +181,7 @@ }, "Uri": { "type": "string", - "description": "Gets or sets a comma-delimited list of Config Server addresses. Default value: \"http://localhost:8888\"." + "description": "Gets or sets a comma-separated list of Config Server addresses. Default value: \"http://localhost:8888\"." }, "Username": { "type": "string", diff --git a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Consul/ConfigurationSchema.json b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Consul/ConfigurationSchema.json index 593a01b..74e9bf9 100644 --- a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Consul/ConfigurationSchema.json +++ b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Consul/ConfigurationSchema.json @@ -265,11 +265,11 @@ }, "IgnoredInterfaces": { "type": "string", - "description": "Gets or sets a comma-delimited list of network interfaces to ignore." + "description": "Gets or sets a comma-separated list of network interfaces to ignore." }, "PreferredNetworks": { "type": "string", - "description": "Gets or sets a comma-delimited list of preferred networks." + "description": "Gets or sets a comma-separated list of preferred networks." }, "SkipReverseDnsLookup": { "type": "boolean", diff --git a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Eureka/ConfigurationSchema.json b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Eureka/ConfigurationSchema.json index c7f2103..2e1c600 100644 --- a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Eureka/ConfigurationSchema.json +++ b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Discovery_Eureka/ConfigurationSchema.json @@ -104,7 +104,7 @@ }, "MonitoredApps": { "type": "string", - "description": "Gets or sets a comma-delimited list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by 'Steeltoe.Discovery.Eureka.EurekaApplicationsHealthContributor', which requires manual addition to the IoC container." + "description": "Gets or sets a comma-separated list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by 'Steeltoe.Discovery.Eureka.EurekaApplicationsHealthContributor', which requires manual addition to the IoC container." } }, "description": "Gets Eureka health settings." @@ -119,7 +119,7 @@ }, "ServiceUrl": { "type": "string", - "description": "Gets or sets a comma-delimited list of Eureka server endpoints. Default value: http://localhost:8761/eureka/." + "description": "Gets or sets a comma-separated list of Eureka server endpoints. Default value: http://localhost:8761/eureka/." }, "ShouldDisableDelta": { "type": "boolean", @@ -248,7 +248,7 @@ }, "SecureVipAddress": { "type": "string", - "description": "Gets or sets the comma-delimited list of secure VIP (Virtual Internet Protocol) addresses for the instance." + "description": "Gets or sets the comma-separated list of secure VIP (Virtual Internet Protocol) addresses for the instance." }, "StatusPageUrl": { "type": "string", @@ -260,11 +260,11 @@ }, "UseNetworkInterfaces": { "type": "boolean", - "description": "Gets or sets a value indicating whether 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' is used to determine 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.IPAddress' and 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.HostName' ." + "description": "Gets or sets a value indicating whether 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' is used to determine 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.IPAddress' and 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.HostName'. Default value: false." }, "VipAddress": { "type": "string", - "description": "Gets or sets the comma-delimited list of VIP (Virtual Internet Protocol) addresses for the instance." + "description": "Gets or sets the comma-separated list of VIP (Virtual Internet Protocol) addresses for the instance." } } } @@ -313,11 +313,11 @@ }, "IgnoredInterfaces": { "type": "string", - "description": "Gets or sets a comma-delimited list of network interfaces to ignore." + "description": "Gets or sets a comma-separated list of network interfaces to ignore." }, "PreferredNetworks": { "type": "string", - "description": "Gets or sets a comma-delimited list of preferred networks." + "description": "Gets or sets a comma-separated list of preferred networks." }, "SkipReverseDnsLookup": { "type": "boolean", diff --git a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Management_Endpoint/ConfigurationSchema.json b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Management_Endpoint/ConfigurationSchema.json index 8918754..9797067 100644 --- a/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Management_Endpoint/ConfigurationSchema.json +++ b/ConfigurationSchemaGeneratorTest/Baseline/InputFiles/Management_Endpoint/ConfigurationSchema.json @@ -359,9 +359,19 @@ "type": "boolean", "description": "Gets or sets a value indicating whether this endpoint is enabled." }, + "GCDumpTimeoutInSeconds": { + "type": "integer", + "description": "Gets or sets the time (in seconds) after which to give up on collecting a gcdump. Default value: 30." + }, "HeapDumpType": { - "type": "string", - "description": "Gets or sets the type of dump to create. Possible values: GcDump, Normal, WithHeap, Triage, Full. Default value: Full." + "enum": [ + "Full", + "Heap", + "Mini", + "Triage", + "GCDump" + ], + "description": "Gets or sets the type of dump to create. Default value: Full (on macOS: GCDump)." }, "Id": { "type": "string", @@ -572,7 +582,7 @@ "description": "Gets or sets the HTTP request path at which management endpoints are exposed. Default value: /actuator." }, "Port": { - "type": "string", + "type": "integer", "description": "Gets or sets the alternate HTTP port at which management endpoints are exposed." }, "Refresh": { @@ -768,7 +778,7 @@ }, "Duration": { "type": "integer", - "description": "Gets or sets the duration (in milliseconds) before signaling to stop the capture. Default value: 10." + "description": "Gets or sets the time (in milliseconds) to trace for, before automatically stopping the trace. Default value: 10." }, "Enabled": { "type": "boolean", @@ -850,29 +860,59 @@ "properties": { "ApplicationName": { "type": "string", - "description": "Gets or sets the name to use for this application when registering with SBA." + "description": "Gets or sets the name this application registers under in Spring Boot Admin server." + }, + "BaseHost": { + "type": "string", + "description": "Gets or sets the hostname or IP address to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. This value should be set explicitly if Spring Boot Admin server is running in a container." }, "BasePath": { "type": "string", - "description": "Gets or sets the base path SBA should use for interacting with your application." + "description": "Gets or sets the path to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BasePort": { + "type": "integer", + "description": "Gets or sets the port number to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BaseScheme": { + "type": "string", + "description": "Gets or sets the scheme (\"http\" or \"https\") to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BaseUrl": { + "type": "string", + "description": "Gets or sets the base URL of this application, which Spring Boot Admin server uses to interact with this application." }, "ConnectionTimeoutMs": { "type": "integer", - "description": "Gets or sets the connection timeout (in milliseconds) for interactions with SBA. Default value: 100_000." + "description": "Gets or sets the connection timeout (in milliseconds) for interactions with Spring Boot Admin server. Default value: 5_000." }, "Metadata": { "type": "object", "additionalProperties": { "type": "object" }, - "description": "Gets metadata to use when registering with SBA." + "description": "Gets metadata to use when registering with Spring Boot Admin server." + }, + "PreferIPAddress": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to prefer using the local IP address over hostname in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. Default value: false." + }, + "RefreshInterval": { + "type": "string", + "pattern": "^-?(\\d{1,7}|((\\d{1,7}[\\.:])?(([01]?\\d|2[0-3]):[0-5]?\\d|([01]?\\d|2[0-3]):[0-5]?\\d:[0-5]?\\d)(\\.\\d{1,7})?))$", + "description": "Gets or sets the interval for refreshing the registration with Spring Boot Admin server. Set to 'System.TimeSpan.Zero' to register only once at app startup. Default value: 15 seconds." }, "Url": { - "type": "string" + "type": "string", + "description": "Gets or sets the URL of the Spring Boot Admin server." + }, + "UseNetworkInterfaces": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to use 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' to determine the IP address or hostname for 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. Default value: false." }, "ValidateCertificates": { "type": "boolean", - "description": "Gets or sets a value indicating whether SBA certificates should be validated. Default value: true." + "description": "Gets or sets a value indicating whether to validate certificates from Spring Boot Admin server. Default value: true." } } } diff --git a/ConfigurationSchemaGeneratorTest/Baseline/merge-actual.json b/ConfigurationSchemaGeneratorTest/Baseline/merge-actual.json index b273e50..8293eef 100644 --- a/ConfigurationSchemaGeneratorTest/Baseline/merge-actual.json +++ b/ConfigurationSchemaGeneratorTest/Baseline/merge-actual.json @@ -427,7 +427,7 @@ }, "MonitoredApps": { "type": "string", - "description": "Gets or sets a comma-delimited list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by 'Steeltoe.Discovery.Eureka.EurekaApplicationsHealthContributor', which requires manual addition to the IoC container." + "description": "Gets or sets a comma-separated list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by 'Steeltoe.Discovery.Eureka.EurekaApplicationsHealthContributor', which requires manual addition to the IoC container." } }, "description": "Gets Eureka health settings." @@ -442,7 +442,7 @@ }, "ServiceUrl": { "type": "string", - "description": "Gets or sets a comma-delimited list of Eureka server endpoints. Default value: http://localhost:8761/eureka/." + "description": "Gets or sets a comma-separated list of Eureka server endpoints. Default value: http://localhost:8761/eureka/." }, "ShouldDisableDelta": { "type": "boolean", @@ -571,7 +571,7 @@ }, "SecureVipAddress": { "type": "string", - "description": "Gets or sets the comma-delimited list of secure VIP (Virtual Internet Protocol) addresses for the instance." + "description": "Gets or sets the comma-separated list of secure VIP (Virtual Internet Protocol) addresses for the instance." }, "StatusPageUrl": { "type": "string", @@ -583,11 +583,11 @@ }, "UseNetworkInterfaces": { "type": "boolean", - "description": "Gets or sets a value indicating whether 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' is used to determine 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.IPAddress' and 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.HostName' ." + "description": "Gets or sets a value indicating whether 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' is used to determine 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.IPAddress' and 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.HostName'. Default value: false." }, "VipAddress": { "type": "string", - "description": "Gets or sets the comma-delimited list of VIP (Virtual Internet Protocol) addresses for the instance." + "description": "Gets or sets the comma-separated list of VIP (Virtual Internet Protocol) addresses for the instance." } } } @@ -936,9 +936,19 @@ "type": "boolean", "description": "Gets or sets a value indicating whether this endpoint is enabled." }, + "GCDumpTimeoutInSeconds": { + "type": "integer", + "description": "Gets or sets the time (in seconds) after which to give up on collecting a gcdump. Default value: 30." + }, "HeapDumpType": { - "type": "string", - "description": "Gets or sets the type of dump to create. Possible values: GcDump, Normal, WithHeap, Triage, Full. Default value: Full." + "enum": [ + "Full", + "Heap", + "Mini", + "Triage", + "GCDump" + ], + "description": "Gets or sets the type of dump to create. Default value: Full (on macOS: GCDump)." }, "Id": { "type": "string", @@ -1149,7 +1159,7 @@ "description": "Gets or sets the HTTP request path at which management endpoints are exposed. Default value: /actuator." }, "Port": { - "type": "string", + "type": "integer", "description": "Gets or sets the alternate HTTP port at which management endpoints are exposed." }, "Prometheus": { @@ -1377,7 +1387,7 @@ }, "Duration": { "type": "integer", - "description": "Gets or sets the duration (in milliseconds) before signaling to stop the capture. Default value: 10." + "description": "Gets or sets the time (in milliseconds) to trace for, before automatically stopping the trace. Default value: 10." }, "Enabled": { "type": "boolean", @@ -1500,29 +1510,59 @@ "properties": { "ApplicationName": { "type": "string", - "description": "Gets or sets the name to use for this application when registering with SBA." + "description": "Gets or sets the name this application registers under in Spring Boot Admin server." + }, + "BaseHost": { + "type": "string", + "description": "Gets or sets the hostname or IP address to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. This value should be set explicitly if Spring Boot Admin server is running in a container." }, "BasePath": { "type": "string", - "description": "Gets or sets the base path SBA should use for interacting with your application." + "description": "Gets or sets the path to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BasePort": { + "type": "integer", + "description": "Gets or sets the port number to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BaseScheme": { + "type": "string", + "description": "Gets or sets the scheme (\"http\" or \"https\") to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BaseUrl": { + "type": "string", + "description": "Gets or sets the base URL of this application, which Spring Boot Admin server uses to interact with this application." }, "ConnectionTimeoutMs": { "type": "integer", - "description": "Gets or sets the connection timeout (in milliseconds) for interactions with SBA. Default value: 100_000." + "description": "Gets or sets the connection timeout (in milliseconds) for interactions with Spring Boot Admin server. Default value: 5_000." }, "Metadata": { "type": "object", "additionalProperties": { "type": "object" }, - "description": "Gets metadata to use when registering with SBA." + "description": "Gets metadata to use when registering with Spring Boot Admin server." + }, + "PreferIPAddress": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to prefer using the local IP address over hostname in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. Default value: false." + }, + "RefreshInterval": { + "type": "string", + "pattern": "^-?(\\d{1,7}|((\\d{1,7}[\\.:])?(([01]?\\d|2[0-3]):[0-5]?\\d|([01]?\\d|2[0-3]):[0-5]?\\d:[0-5]?\\d)(\\.\\d{1,7})?))$", + "description": "Gets or sets the interval for refreshing the registration with Spring Boot Admin server. Set to 'System.TimeSpan.Zero' to register only once at app startup. Default value: 15 seconds." }, "Url": { - "type": "string" + "type": "string", + "description": "Gets or sets the URL of the Spring Boot Admin server." + }, + "UseNetworkInterfaces": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to use 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' to determine the IP address or hostname for 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. Default value: false." }, "ValidateCertificates": { "type": "boolean", - "description": "Gets or sets a value indicating whether SBA certificates should be validated. Default value: true." + "description": "Gets or sets a value indicating whether to validate certificates from Spring Boot Admin server. Default value: true." } } } @@ -1601,7 +1641,7 @@ }, "Label": { "type": "string", - "description": "Gets or sets a comma-delimited list of labels to request from the server." + "description": "Gets or sets a comma-separated list of labels to request from the server." }, "Name": { "type": "string", @@ -1663,7 +1703,7 @@ }, "Uri": { "type": "string", - "description": "Gets or sets a comma-delimited list of Config Server addresses. Default value: \"http://localhost:8888\"." + "description": "Gets or sets a comma-separated list of Config Server addresses. Default value: \"http://localhost:8888\"." }, "Username": { "type": "string", @@ -1703,11 +1743,11 @@ }, "IgnoredInterfaces": { "type": "string", - "description": "Gets or sets a comma-delimited list of network interfaces to ignore." + "description": "Gets or sets a comma-separated list of network interfaces to ignore." }, "PreferredNetworks": { "type": "string", - "description": "Gets or sets a comma-delimited list of preferred networks." + "description": "Gets or sets a comma-separated list of preferred networks." }, "SkipReverseDnsLookup": { "type": "boolean", diff --git a/ConfigurationSchemaGeneratorTest/Baseline/merge-expected.json b/ConfigurationSchemaGeneratorTest/Baseline/merge-expected.json index b273e50..8293eef 100644 --- a/ConfigurationSchemaGeneratorTest/Baseline/merge-expected.json +++ b/ConfigurationSchemaGeneratorTest/Baseline/merge-expected.json @@ -427,7 +427,7 @@ }, "MonitoredApps": { "type": "string", - "description": "Gets or sets a comma-delimited list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by 'Steeltoe.Discovery.Eureka.EurekaApplicationsHealthContributor', which requires manual addition to the IoC container." + "description": "Gets or sets a comma-separated list of applications in Eureka this app depends on. Leave empty for all apps. Their status is taken into account by 'Steeltoe.Discovery.Eureka.EurekaApplicationsHealthContributor', which requires manual addition to the IoC container." } }, "description": "Gets Eureka health settings." @@ -442,7 +442,7 @@ }, "ServiceUrl": { "type": "string", - "description": "Gets or sets a comma-delimited list of Eureka server endpoints. Default value: http://localhost:8761/eureka/." + "description": "Gets or sets a comma-separated list of Eureka server endpoints. Default value: http://localhost:8761/eureka/." }, "ShouldDisableDelta": { "type": "boolean", @@ -571,7 +571,7 @@ }, "SecureVipAddress": { "type": "string", - "description": "Gets or sets the comma-delimited list of secure VIP (Virtual Internet Protocol) addresses for the instance." + "description": "Gets or sets the comma-separated list of secure VIP (Virtual Internet Protocol) addresses for the instance." }, "StatusPageUrl": { "type": "string", @@ -583,11 +583,11 @@ }, "UseNetworkInterfaces": { "type": "boolean", - "description": "Gets or sets a value indicating whether 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' is used to determine 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.IPAddress' and 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.HostName' ." + "description": "Gets or sets a value indicating whether 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' is used to determine 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.IPAddress' and 'Steeltoe.Discovery.Eureka.Configuration.EurekaInstanceOptions.HostName'. Default value: false." }, "VipAddress": { "type": "string", - "description": "Gets or sets the comma-delimited list of VIP (Virtual Internet Protocol) addresses for the instance." + "description": "Gets or sets the comma-separated list of VIP (Virtual Internet Protocol) addresses for the instance." } } } @@ -936,9 +936,19 @@ "type": "boolean", "description": "Gets or sets a value indicating whether this endpoint is enabled." }, + "GCDumpTimeoutInSeconds": { + "type": "integer", + "description": "Gets or sets the time (in seconds) after which to give up on collecting a gcdump. Default value: 30." + }, "HeapDumpType": { - "type": "string", - "description": "Gets or sets the type of dump to create. Possible values: GcDump, Normal, WithHeap, Triage, Full. Default value: Full." + "enum": [ + "Full", + "Heap", + "Mini", + "Triage", + "GCDump" + ], + "description": "Gets or sets the type of dump to create. Default value: Full (on macOS: GCDump)." }, "Id": { "type": "string", @@ -1149,7 +1159,7 @@ "description": "Gets or sets the HTTP request path at which management endpoints are exposed. Default value: /actuator." }, "Port": { - "type": "string", + "type": "integer", "description": "Gets or sets the alternate HTTP port at which management endpoints are exposed." }, "Prometheus": { @@ -1377,7 +1387,7 @@ }, "Duration": { "type": "integer", - "description": "Gets or sets the duration (in milliseconds) before signaling to stop the capture. Default value: 10." + "description": "Gets or sets the time (in milliseconds) to trace for, before automatically stopping the trace. Default value: 10." }, "Enabled": { "type": "boolean", @@ -1500,29 +1510,59 @@ "properties": { "ApplicationName": { "type": "string", - "description": "Gets or sets the name to use for this application when registering with SBA." + "description": "Gets or sets the name this application registers under in Spring Boot Admin server." + }, + "BaseHost": { + "type": "string", + "description": "Gets or sets the hostname or IP address to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. This value should be set explicitly if Spring Boot Admin server is running in a container." }, "BasePath": { "type": "string", - "description": "Gets or sets the base path SBA should use for interacting with your application." + "description": "Gets or sets the path to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BasePort": { + "type": "integer", + "description": "Gets or sets the port number to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BaseScheme": { + "type": "string", + "description": "Gets or sets the scheme (\"http\" or \"https\") to use in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'." + }, + "BaseUrl": { + "type": "string", + "description": "Gets or sets the base URL of this application, which Spring Boot Admin server uses to interact with this application." }, "ConnectionTimeoutMs": { "type": "integer", - "description": "Gets or sets the connection timeout (in milliseconds) for interactions with SBA. Default value: 100_000." + "description": "Gets or sets the connection timeout (in milliseconds) for interactions with Spring Boot Admin server. Default value: 5_000." }, "Metadata": { "type": "object", "additionalProperties": { "type": "object" }, - "description": "Gets metadata to use when registering with SBA." + "description": "Gets metadata to use when registering with Spring Boot Admin server." + }, + "PreferIPAddress": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to prefer using the local IP address over hostname in 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. Default value: false." + }, + "RefreshInterval": { + "type": "string", + "pattern": "^-?(\\d{1,7}|((\\d{1,7}[\\.:])?(([01]?\\d|2[0-3]):[0-5]?\\d|([01]?\\d|2[0-3]):[0-5]?\\d:[0-5]?\\d)(\\.\\d{1,7})?))$", + "description": "Gets or sets the interval for refreshing the registration with Spring Boot Admin server. Set to 'System.TimeSpan.Zero' to register only once at app startup. Default value: 15 seconds." }, "Url": { - "type": "string" + "type": "string", + "description": "Gets or sets the URL of the Spring Boot Admin server." + }, + "UseNetworkInterfaces": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to use 'System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces' to determine the IP address or hostname for 'Steeltoe.Management.Endpoint.SpringBootAdminClient.SpringBootAdminClientOptions.BaseUrl'. Default value: false." }, "ValidateCertificates": { "type": "boolean", - "description": "Gets or sets a value indicating whether SBA certificates should be validated. Default value: true." + "description": "Gets or sets a value indicating whether to validate certificates from Spring Boot Admin server. Default value: true." } } } @@ -1601,7 +1641,7 @@ }, "Label": { "type": "string", - "description": "Gets or sets a comma-delimited list of labels to request from the server." + "description": "Gets or sets a comma-separated list of labels to request from the server." }, "Name": { "type": "string", @@ -1663,7 +1703,7 @@ }, "Uri": { "type": "string", - "description": "Gets or sets a comma-delimited list of Config Server addresses. Default value: \"http://localhost:8888\"." + "description": "Gets or sets a comma-separated list of Config Server addresses. Default value: \"http://localhost:8888\"." }, "Username": { "type": "string", @@ -1703,11 +1743,11 @@ }, "IgnoredInterfaces": { "type": "string", - "description": "Gets or sets a comma-delimited list of network interfaces to ignore." + "description": "Gets or sets a comma-separated list of network interfaces to ignore." }, "PreferredNetworks": { "type": "string", - "description": "Gets or sets a comma-delimited list of preferred networks." + "description": "Gets or sets a comma-separated list of preferred networks." }, "SkipReverseDnsLookup": { "type": "boolean",