Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
NodeUptime_PagerDuty__Enabled: true
NodeUptime_PagerDuty__RoutingKeys__Odin: ${{ secrets.OdinRoutingKey }}
NodeUptime_PagerDuty__RoutingKeys__Heimdall: ${{ secrets.HeimdallRoutingKey }}
NodeUptime_PagerDuty__RoutingKeys__Thor: ${{ secrets.ThorRoutingKey }}

run: |
dotnet restore node-uptime.sln
Expand Down
20 changes: 2 additions & 18 deletions NodeUptime/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,8 @@ public static class Constants
new Dictionary<string, string[]>
{
{ "odin", new[] { "https://odin-validator-5.nine-chronicles.com/graphql" } },
{ "heimdall", new[] { "https://heimdall-validator-1.nine-chronicles.com/graphql" } }
{ "heimdall", new[] { "https://heimdall-validator-1.nine-chronicles.com/graphql" } },
{ "thor", new[] { "https://thor-validator-1.nine-chronicles.com/graphql" } }
};

public static readonly IReadOnlyDictionary<string, string> HEADLESS_URLS =
new ReadOnlyDictionary<string, string>(
new Dictionary<string, string>
{
{ "OdinRpc1", "https://odin-rpc-1.nine-chronicles.com/graphql" },
{ "OdinRpc2", "https://odin-rpc-2.nine-chronicles.com/graphql" },
{ "OdinRpc3", "https://odin-rpc-3.nine-chronicles.com/graphql" },
{ "HeimdallRpc1", "https://heimdall-rpc-1.nine-chronicles.com/graphql" },
{ "HeimdallRpc2", "https://heimdall-rpc-2.nine-chronicles.com/graphql" },
{ "OdinValidator5", "https://odin-validator-5.nine-chronicles.com/graphql" },
{
"HeimdallValidator1",
"https://heimdall-validator-1.nine-chronicles.com/graphql"
},
}
);
}
}
3 changes: 2 additions & 1 deletion NodeUptime/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"Enabled": false,
"RoutingKeys": {
"ODIN": "your_odin_routing_key_here",
"HEIMDALL": "your_heimdall_routing_key_here"
"HEIMDALL": "your_heimdall_routing_key_here",
"THOR": "your_thor_routing_key_here"
}
}
}