From 1456405b361667de91cba13773dadff324c1a3d5 Mon Sep 17 00:00:00 2001 From: edwardro22 Date: Tue, 19 Dec 2017 12:35:38 +0200 Subject: [PATCH] Renamed cgr-console Apis --- console/{atributes_get_for_event.go => attributes_for_event.go} | 2 +- console/{resource_for_event.go => resources_for_event.go} | 2 +- console/{statqueue_for_event.go => stats_for_event.go} | 2 +- .../{threshold_process_event.go => thresholds_process_event.go} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename console/{atributes_get_for_event.go => attributes_for_event.go} (98%) rename console/{resource_for_event.go => resources_for_event.go} (98%) rename console/{statqueue_for_event.go => stats_for_event.go} (98%) rename console/{threshold_process_event.go => thresholds_process_event.go} (98%) diff --git a/console/atributes_get_for_event.go b/console/attributes_for_event.go similarity index 98% rename from console/atributes_get_for_event.go rename to console/attributes_for_event.go index 7bc182537..1b436ff7c 100644 --- a/console/atributes_get_for_event.go +++ b/console/attributes_for_event.go @@ -26,7 +26,7 @@ import ( func init() { c := &CmdGetAttributeForEvent{ - name: "get_attribute_for_event", + name: "attributes_for_event", rpcMethod: "AttributeSv1.GetAttributeForEvent", } commands[c.Name()] = c diff --git a/console/resource_for_event.go b/console/resources_for_event.go similarity index 98% rename from console/resource_for_event.go rename to console/resources_for_event.go index 5a836a716..663de3322 100644 --- a/console/resource_for_event.go +++ b/console/resources_for_event.go @@ -26,7 +26,7 @@ import ( func init() { c := &CmdGetResourceForEvent{ - name: "get_resources_for_event", + name: "resources_for_event", rpcMethod: "ResourceSv1.GetResourcesForEvent", } commands[c.Name()] = c diff --git a/console/statqueue_for_event.go b/console/stats_for_event.go similarity index 98% rename from console/statqueue_for_event.go rename to console/stats_for_event.go index 45127d9a4..3f8d7f109 100644 --- a/console/statqueue_for_event.go +++ b/console/stats_for_event.go @@ -26,7 +26,7 @@ import ( func init() { c := &CmdStatsQueueProcessEvent{ - name: "statsqueue_for_event", + name: "stats_process_event", rpcMethod: "StatSv1.GetStatQueuesForEvent", } commands[c.Name()] = c diff --git a/console/threshold_process_event.go b/console/thresholds_process_event.go similarity index 98% rename from console/threshold_process_event.go rename to console/thresholds_process_event.go index c4731a092..4a25c1262 100644 --- a/console/threshold_process_event.go +++ b/console/thresholds_process_event.go @@ -25,7 +25,7 @@ import ( func init() { c := &CmdThresholdProcessEvent{ - name: "threshold_process_event", + name: "thresholds_process_event", rpcMethod: "ThresholdSv1.ProcessEvent", } commands[c.Name()] = c