Skip to content

Commit da0c0d7

Browse files
committed
task fmt
1 parent ee6978b commit da0c0d7

File tree

6 files changed

+41
-53
lines changed

6 files changed

+41
-53
lines changed

workflows/bridge_status/v1/bridge_status_event.proto

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,38 @@ syntax = "proto3";
22

33
package bridge_status.v1;
44

5-
option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bridge_status/v1";
6-
7-
import "bridge_status/v1/runtime_info.proto";
8-
import "bridge_status/v1/metrics_info.proto";
9-
import "bridge_status/v1/endpoint_info.proto";
105
import "bridge_status/v1/configuration_item.proto";
6+
import "bridge_status/v1/endpoint_info.proto";
117
import "bridge_status/v1/job_info.proto";
8+
import "bridge_status/v1/metrics_info.proto";
9+
import "bridge_status/v1/runtime_info.proto";
10+
11+
option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bridge_status/v1";
1212

1313
// BridgeStatusEvent represents the status data from an External Adapter
1414
message BridgeStatusEvent {
15-
// Bridge and adapter identification
16-
string bridge_name = 1;
17-
string adapter_name = 2;
18-
string adapter_version = 3;
19-
double adapter_uptime_seconds = 4;
20-
string default_endpoint = 5;
15+
// Bridge and adapter identification
16+
string bridge_name = 1;
17+
string adapter_name = 2;
18+
string adapter_version = 3;
19+
double adapter_uptime_seconds = 4;
20+
string default_endpoint = 5;
2121

22-
// Runtime information
23-
RuntimeInfo runtime = 6;
22+
// Runtime information
23+
RuntimeInfo runtime = 6;
2424

25-
// Metrics configuration
26-
MetricsInfo metrics = 7;
25+
// Metrics configuration
26+
MetricsInfo metrics = 7;
2727

28-
// Available endpoints as structured data
29-
repeated EndpointInfo endpoints = 8;
28+
// Available endpoints as structured data
29+
repeated EndpointInfo endpoints = 8;
3030

31-
// Configuration items
32-
repeated ConfigurationItem configuration = 9;
31+
// Configuration items
32+
repeated ConfigurationItem configuration = 9;
3333

34-
// Jobs associated with this bridge
35-
repeated JobInfo jobs = 10;
34+
// Jobs associated with this bridge
35+
repeated JobInfo jobs = 10;
3636

37-
// Event metadata
38-
string timestamp = 11;
37+
// Event metadata
38+
string timestamp = 11;
3939
}
40-
41-

workflows/bridge_status/v1/configuration_item.proto

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ package bridge_status.v1;
55
option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bridge_status/v1";
66

77
message ConfigurationItem {
8-
string name = 1;
9-
string value = 2;
10-
string type = 3;
11-
string description = 4;
12-
bool required = 5;
13-
string default_value = 6;
14-
bool custom_setting = 7;
15-
string env_default_override = 8;
8+
string name = 1;
9+
string value = 2;
10+
string type = 3;
11+
string description = 4;
12+
bool required = 5;
13+
string default_value = 6;
14+
bool custom_setting = 7;
15+
string env_default_override = 8;
1616
}
17-
18-

workflows/bridge_status/v1/endpoint_info.proto

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ package bridge_status.v1;
55
option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bridge_status/v1";
66

77
message EndpointInfo {
8-
string name = 1;
9-
repeated string aliases = 2;
10-
repeated string transports = 3;
8+
string name = 1;
9+
repeated string aliases = 2;
10+
repeated string transports = 3;
1111
}
12-
13-

workflows/bridge_status/v1/job_info.proto

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bri
66

77
// JobInfo represents job information associated with a bridge
88
message JobInfo {
9-
string external_job_id = 1;
10-
string job_name = 2;
9+
string external_job_id = 1;
10+
string job_name = 2;
1111
}
12-
13-

workflows/bridge_status/v1/metrics_info.proto

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ package bridge_status.v1;
55
option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bridge_status/v1";
66

77
message MetricsInfo {
8-
bool enabled = 1;
8+
bool enabled = 1;
99
}
10-
11-

workflows/bridge_status/v1/runtime_info.proto

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ package bridge_status.v1;
55
option go_package = "github.com/smartcontractkit/chainlink-protos/data-feeds/bridge_status/v1";
66

77
message RuntimeInfo {
8-
string node_version = 1;
9-
string platform = 2;
10-
string architecture = 3;
11-
string hostname = 4;
8+
string node_version = 1;
9+
string platform = 2;
10+
string architecture = 3;
11+
string hostname = 4;
1212
}
13-
14-

0 commit comments

Comments
 (0)