From 5b89fa924e3cc909a490cee6079637be086d4e52 Mon Sep 17 00:00:00 2001 From: pfamelis <pfamelis@ubitech.eu> Date: Wed, 8 Nov 2023 12:03:49 +0200 Subject: [PATCH] refactor: refactoring of automation proto file to ztp --- proto/{automation.proto => ztp.proto} | 4 ++-- src/automation/src/main/proto/automation.proto | 1 - src/automation/src/main/proto/ztp.proto | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) rename proto/{automation.proto => ztp.proto} (97%) delete mode 120000 src/automation/src/main/proto/automation.proto create mode 120000 src/automation/src/main/proto/ztp.proto diff --git a/proto/automation.proto b/proto/ztp.proto similarity index 97% rename from proto/automation.proto rename to proto/ztp.proto index e2dbe3322..5c895900d 100644 --- a/proto/automation.proto +++ b/proto/ztp.proto @@ -13,11 +13,11 @@ // limitations under the License. syntax = "proto3"; -package automation; +package ztp; import "context.proto"; -service AutomationService { +service ZtpService { rpc ZtpGetDeviceRole(DeviceRoleId) returns (DeviceRole) {} rpc ZtpGetDeviceRolesByDeviceId(context.DeviceId) returns (DeviceRoleList) {} rpc ZtpAdd(DeviceRole) returns (DeviceRoleState) {} diff --git a/src/automation/src/main/proto/automation.proto b/src/automation/src/main/proto/automation.proto deleted file mode 120000 index afef7a8e4..000000000 --- a/src/automation/src/main/proto/automation.proto +++ /dev/null @@ -1 +0,0 @@ -../../../../../proto/automation.proto \ No newline at end of file diff --git a/src/automation/src/main/proto/ztp.proto b/src/automation/src/main/proto/ztp.proto new file mode 120000 index 000000000..9183ce531 --- /dev/null +++ b/src/automation/src/main/proto/ztp.proto @@ -0,0 +1 @@ +../../../../../proto/ztp.proto \ No newline at end of file -- GitLab