From 84a4043e9a96868b64e2fb7ff6e28bec0c5a64e8 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Mon, 24 Nov 2025 21:08:05 +0200 Subject: [PATCH] reorder api method consts for resources/ips --- utils/consts.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/utils/consts.go b/utils/consts.go index d94078476..8b4669fc8 100644 --- a/utils/consts.go +++ b/utils/consts.go @@ -1921,13 +1921,13 @@ const ( // ResourceS APIs const ( - ResourceSv1AuthorizeResources = "ResourceSv1.AuthorizeResources" + ResourceSv1Ping = "ResourceSv1.Ping" + ResourceSv1GetResource = "ResourceSv1.GetResource" + ResourceSv1GetResourceWithConfig = "ResourceSv1.GetResourceWithConfig" ResourceSv1GetResourcesForEvent = "ResourceSv1.GetResourcesForEvent" + ResourceSv1AuthorizeResources = "ResourceSv1.AuthorizeResources" ResourceSv1AllocateResources = "ResourceSv1.AllocateResources" ResourceSv1ReleaseResources = "ResourceSv1.ReleaseResources" - ResourceSv1Ping = "ResourceSv1.Ping" - ResourceSv1GetResourceWithConfig = "ResourceSv1.GetResourceWithConfig" - ResourceSv1GetResource = "ResourceSv1.GetResource" APIerSv1SetResourceProfile = "APIerSv1.SetResourceProfile" APIerSv1RemoveResourceProfile = "APIerSv1.RemoveResourceProfile" APIerSv1GetResourceProfile = "APIerSv1.GetResourceProfile" @@ -1936,12 +1936,12 @@ const ( // IPs APIs const ( - IPsV1AuthorizeIPs = "IPsV1.AuthorizeIPs" - IPsV1GetIPsForEvent = "IPsV1.GetIPsForEvent" - IPsV1AllocateIPs = "IPsV1.AllocateIPs" - IPsV1ReleaseIPs = "IPsV1.ReleaseIPs" IPsV1Ping = "IPsV1.Ping" IPsV1GetIP = "IPsV1.GetIP" + IPsV1GetIPsForEvent = "IPsV1.GetIPsForEvent" + IPsV1AuthorizeIPs = "IPsV1.AuthorizeIPs" + IPsV1AllocateIPs = "IPsV1.AllocateIPs" + IPsV1ReleaseIPs = "IPsV1.ReleaseIPs" APIerSv1SetIPProfile = "APIerSv1.SetIPProfile" APIerSv1RemoveIPProfile = "APIerSv1.RemoveIPProfile" APIerSv1GetIPProfile = "APIerSv1.GetIPProfile"