Skip to content

Commit

Permalink
Merge branch 'INFRA-9686_add_obtaining_IPv4' into 'master'
Browse files Browse the repository at this point in the history
feat: add LocalServiceDiscoveryIPv4 to VostokEnvironmentVariables

See merge request vostok-libraries/hosting!4
  • Loading branch information
Романов Артём Халяфович committed Sep 3, 2024
2 parents 2439c90 + ea6325b commit 43132e4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.71 (03-09-2024):

Added `LocalServiceDiscoveryIPv4` to `VostokEnvironmentVariables`

## 0.3.70 (25-06-2024):

Fixed `WithSigtermCancellation` to use `PosixSignalRegistration` for properly stop application on `SIGTERM` with .net 6.
Expand Down
1 change: 1 addition & 0 deletions Vostok.Hosting/PublicAPI/net6.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const Vostok.Hosting.VostokEnvironmentVariables.IdentitySubproject = "VOSTOK_IDE
const Vostok.Hosting.VostokEnvironmentVariables.LocalDatacenter = "VOSTOK_LOCAL_DATACENTER" -> string
const Vostok.Hosting.VostokEnvironmentVariables.LocalFQDN = "VOSTOK_LOCAL_FQDN" -> string
const Vostok.Hosting.VostokEnvironmentVariables.LocalHostname = "VOSTOK_LOCAL_HOSTNAME" -> string
const Vostok.Hosting.VostokEnvironmentVariables.LocalServiceDiscoveryIPv4 = "VOSTOK_LOCAL_SERVICE_DISCOVERY_IPV4" -> string
override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.Equals(object obj) -> bool
override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.GetHashCode() -> int
override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.ToString() -> string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const Vostok.Hosting.VostokEnvironmentVariables.IdentitySubproject = "VOSTOK_IDE
const Vostok.Hosting.VostokEnvironmentVariables.LocalDatacenter = "VOSTOK_LOCAL_DATACENTER" -> string
const Vostok.Hosting.VostokEnvironmentVariables.LocalFQDN = "VOSTOK_LOCAL_FQDN" -> string
const Vostok.Hosting.VostokEnvironmentVariables.LocalHostname = "VOSTOK_LOCAL_HOSTNAME" -> string
const Vostok.Hosting.VostokEnvironmentVariables.LocalServiceDiscoveryIPv4 = "VOSTOK_LOCAL_SERVICE_DISCOVERY_IPV4" -> string
override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.Equals(object obj) -> bool
override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.GetHashCode() -> int
override Vostok.Hosting.MultiHost.VostokMultiHostApplicationIdentifier.ToString() -> string
Expand Down
2 changes: 1 addition & 1 deletion Vostok.Hosting/Vostok.Hosting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>0.3.70</VersionPrefix>
<VersionPrefix>0.3.71</VersionPrefix>
</PropertyGroup>
<PropertyGroup>
<Title>Vostok.Hosting</Title>
Expand Down
1 change: 1 addition & 0 deletions Vostok.Hosting/VostokEnvironmentVariables.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public static class VostokEnvironmentVariables
public const string LocalDatacenter = Datacenters.Datacenters.LocalDatacenterVariable;
public const string LocalHostname = EnvironmentInfo.LocalHostnameVariable;
public const string LocalFQDN = EnvironmentInfo.LocalFQDNVariable;
public const string LocalServiceDiscoveryIPv4 = EnvironmentInfo.LocalServiceDiscoveryIPv4Variable;

public const string HostingType = "VOSTOK_HOSTING_TYPE";
}
Expand Down

0 comments on commit 43132e4

Please sign in to comment.