Add DnsRecord and ApplicationDeploymentRequest #124

Merged
telackey merged 1 commits from telackey/dns into main 2023-12-07 22:19:11 +00:00
Member

Note: This has a breaking protobuf change, but that is known and OK, as the previous release has not been deployed externally.

message DnsRecord {
  string type           = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
  string name           = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
  string version        = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
  string resource_type  = 4 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""];
  string value          = 5 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
  string meta           = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
  repeated string tags  = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
}

message ApplicationDeploymentRequest {
  string type           = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
  string name           = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
  string version        = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
  string application    = 4 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
  string dns            = 5 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
  string config         = 6 [(gogoproto.moretags) = "json:\"config\" yaml:\"config\""];
  repeated string crn   = 7 [(gogoproto.moretags) = "json:\"crn\" yaml:\"crn\""];
  string meta           = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
  repeated string tags  = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
}

Also rename WebAppDeploymentRecord to ApplicationDeploymentRecord.

> Note: This has a breaking protobuf change, but that is known and OK, as the previous release has not been deployed externally. ``` message DnsRecord { string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; string resource_type = 4 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""]; string value = 5 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""]; string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""]; repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; } message ApplicationDeploymentRequest { string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; string application = 4 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""]; string dns = 5 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""]; string config = 6 [(gogoproto.moretags) = "json:\"config\" yaml:\"config\""]; repeated string crn = 7 [(gogoproto.moretags) = "json:\"crn\" yaml:\"crn\""]; string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""]; repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; } ``` Also rename WebAppDeploymentRecord to ApplicationDeploymentRecord.
telackey added 1 commit 2023-12-07 21:47:46 +00:00
Add DnsRecord and ApplicationDeploymentRequest
Some checks failed
Build / cleanup-runs (pull_request) Failing after 8s
CodeQL / Analyze (go) (pull_request) Failing after 39s
Build / build (pull_request) Failing after 1m21s
Deploy Contract / cleanup-runs (pull_request) Failing after 33s
Dependency Review / dependency-review (pull_request) Failing after 1m19s
Pull Request Labeler / triage (pull_request) Failing after 11s
Lint / Run golangci-lint (pull_request) Failing after 40s
Deploy Contract / deploy (pull_request) Failing after 48s
Protobuf / lint (pull_request) Successful in 15s
Lint / Run flake8 on python integration tests (pull_request) Failing after 47s
Run Gosec / Gosec (pull_request) Failing after 15s
Semgrep / Scan (pull_request) Failing after 13s
Tests / cleanup-runs (pull_request) Failing after 2s
Protobuf / break-check (pull_request) Failing after 34s
Tests / test-importer (pull_request) Failing after 50s
Tests / test-unit-cover (pull_request) Failing after 52s
Tests / test-rpc (pull_request) Failing after 1m1s
Tests / sdk_tests (pull_request) Failing after 1m59s
bfcb84eb3e
telackey requested review from dboreham 2023-12-07 22:19:03 +00:00
telackey merged commit 47d086111d into main 2023-12-07 22:19:11 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/laconicd#124
No description provided.