api: add service registration HTTP API wrapper.

This commit is contained in:
James Rasell
2022-03-03 12:14:00 +01:00
parent ab52b02def
commit 16cb776f9c
6 changed files with 170 additions and 0 deletions

View File

@@ -396,3 +396,7 @@ func TestAllocations_ShouldMigrate(t *testing.T) {
require.False(t, DesiredTransition{}.ShouldMigrate())
require.False(t, DesiredTransition{Migrate: boolToPtr(false)}.ShouldMigrate())
}
func TestAllocations_Services(t *testing.T) {
// TODO(jrasell) add tests once registration process is in place.
}