diff --git a/proto/vulcanize/registry/v1beta1/attributes.proto b/proto/vulcanize/registry/v1beta1/attributes.proto index 4486464b..0d23bd7b 100644 --- a/proto/vulcanize/registry/v1beta1/attributes.proto +++ b/proto/vulcanize/registry/v1beta1/attributes.proto @@ -101,6 +101,24 @@ message ApplicationDeploymentRecord { repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; } +message ApplicationDeploymentRemovalRequest { + string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; + string version = 2 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; + string deployment = 3 [(gogoproto.moretags) = "json:\"deployment\" yaml:\"deployment\""]; + string request = 4 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""]; + string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""]; + repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; +} + +message ApplicationDeploymentRemovalRecord { + string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; + string version = 2 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; + string deployment = 3 [(gogoproto.moretags) = "json:\"deployment\" yaml:\"deployment\""]; + string request = 4 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""]; + string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""]; + repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; +} + message GeneralRecord { string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; diff --git a/x/registry/keeper/keeper.go b/x/registry/keeper/keeper.go index 72231073..6be7f4ac 100644 --- a/x/registry/keeper/keeper.go +++ b/x/registry/keeper/keeper.go @@ -346,7 +346,8 @@ func (k Keeper) ProcessAttributes(ctx sdk.Context, record types.RecordType) erro } } case "WebsiteRegistrationRecord", "ApplicationRecord", "ApplicationDeploymentRequest", - "ApplicationDeploymentRecord", "ApplicationArtifact", "DnsRecord", "GeneralRecord": + "ApplicationDeploymentRecord", "ApplicationArtifact", "ApplicationDeploymentRemovalRequest", + "ApplicationDeploymentRemovalRecord", "DnsRecord", "GeneralRecord": { // #nosec G705 for key := range record.Attributes { diff --git a/x/registry/types/attributes.pb.go b/x/registry/types/attributes.pb.go index 26cf27b6..cc704264 100644 --- a/x/registry/types/attributes.pb.go +++ b/x/registry/types/attributes.pb.go @@ -879,6 +879,174 @@ func (m *ApplicationDeploymentRecord) GetTags() []string { return nil } +type ApplicationDeploymentRemovalRequest struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"` + Deployment string `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty" json:"deployment" yaml:"deployment"` + Request string `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty" json:"request" yaml:"request"` + Meta string `protobuf:"bytes,20,opt,name=meta,proto3" json:"meta,omitempty" json:"meta" yaml:"meta"` + Tags []string `protobuf:"bytes,21,rep,name=tags,proto3" json:"tags,omitempty" json:"tags" yaml:"tags"` +} + +func (m *ApplicationDeploymentRemovalRequest) Reset() { *m = ApplicationDeploymentRemovalRequest{} } +func (m *ApplicationDeploymentRemovalRequest) String() string { return proto.CompactTextString(m) } +func (*ApplicationDeploymentRemovalRequest) ProtoMessage() {} +func (*ApplicationDeploymentRemovalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f305abc771332c96, []int{8} +} +func (m *ApplicationDeploymentRemovalRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ApplicationDeploymentRemovalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ApplicationDeploymentRemovalRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ApplicationDeploymentRemovalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplicationDeploymentRemovalRequest.Merge(m, src) +} +func (m *ApplicationDeploymentRemovalRequest) XXX_Size() int { + return m.Size() +} +func (m *ApplicationDeploymentRemovalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ApplicationDeploymentRemovalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplicationDeploymentRemovalRequest proto.InternalMessageInfo + +func (m *ApplicationDeploymentRemovalRequest) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *ApplicationDeploymentRemovalRequest) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *ApplicationDeploymentRemovalRequest) GetDeployment() string { + if m != nil { + return m.Deployment + } + return "" +} + +func (m *ApplicationDeploymentRemovalRequest) GetRequest() string { + if m != nil { + return m.Request + } + return "" +} + +func (m *ApplicationDeploymentRemovalRequest) GetMeta() string { + if m != nil { + return m.Meta + } + return "" +} + +func (m *ApplicationDeploymentRemovalRequest) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +type ApplicationDeploymentRemovalRecord struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"` + Deployment string `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty" json:"deployment" yaml:"deployment"` + Request string `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty" json:"request" yaml:"request"` + Meta string `protobuf:"bytes,20,opt,name=meta,proto3" json:"meta,omitempty" json:"meta" yaml:"meta"` + Tags []string `protobuf:"bytes,21,rep,name=tags,proto3" json:"tags,omitempty" json:"tags" yaml:"tags"` +} + +func (m *ApplicationDeploymentRemovalRecord) Reset() { *m = ApplicationDeploymentRemovalRecord{} } +func (m *ApplicationDeploymentRemovalRecord) String() string { return proto.CompactTextString(m) } +func (*ApplicationDeploymentRemovalRecord) ProtoMessage() {} +func (*ApplicationDeploymentRemovalRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_f305abc771332c96, []int{9} +} +func (m *ApplicationDeploymentRemovalRecord) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ApplicationDeploymentRemovalRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ApplicationDeploymentRemovalRecord.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ApplicationDeploymentRemovalRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplicationDeploymentRemovalRecord.Merge(m, src) +} +func (m *ApplicationDeploymentRemovalRecord) XXX_Size() int { + return m.Size() +} +func (m *ApplicationDeploymentRemovalRecord) XXX_DiscardUnknown() { + xxx_messageInfo_ApplicationDeploymentRemovalRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplicationDeploymentRemovalRecord proto.InternalMessageInfo + +func (m *ApplicationDeploymentRemovalRecord) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *ApplicationDeploymentRemovalRecord) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *ApplicationDeploymentRemovalRecord) GetDeployment() string { + if m != nil { + return m.Deployment + } + return "" +} + +func (m *ApplicationDeploymentRemovalRecord) GetRequest() string { + if m != nil { + return m.Request + } + return "" +} + +func (m *ApplicationDeploymentRemovalRecord) GetMeta() string { + if m != nil { + return m.Meta + } + return "" +} + +func (m *ApplicationDeploymentRemovalRecord) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + type GeneralRecord struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" json:"name" yaml:"name"` @@ -894,7 +1062,7 @@ func (m *GeneralRecord) Reset() { *m = GeneralRecord{} } func (m *GeneralRecord) String() string { return proto.CompactTextString(m) } func (*GeneralRecord) ProtoMessage() {} func (*GeneralRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_f305abc771332c96, []int{8} + return fileDescriptor_f305abc771332c96, []int{10} } func (m *GeneralRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -988,6 +1156,8 @@ func init() { proto.RegisterType((*DnsRecord)(nil), "vulcanize.registry.v1beta1.DnsRecord") proto.RegisterType((*ApplicationDeploymentRequest)(nil), "vulcanize.registry.v1beta1.ApplicationDeploymentRequest") proto.RegisterType((*ApplicationDeploymentRecord)(nil), "vulcanize.registry.v1beta1.ApplicationDeploymentRecord") + proto.RegisterType((*ApplicationDeploymentRemovalRequest)(nil), "vulcanize.registry.v1beta1.ApplicationDeploymentRemovalRequest") + proto.RegisterType((*ApplicationDeploymentRemovalRecord)(nil), "vulcanize.registry.v1beta1.ApplicationDeploymentRemovalRecord") proto.RegisterType((*GeneralRecord)(nil), "vulcanize.registry.v1beta1.GeneralRecord") } @@ -996,90 +1166,93 @@ func init() { } var fileDescriptor_f305abc771332c96 = []byte{ - // 1320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xcf, 0x6f, 0xdc, 0xc4, - 0x17, 0xef, 0x66, 0x7f, 0x65, 0x27, 0x49, 0xd5, 0xba, 0xad, 0xea, 0x34, 0xed, 0x3a, 0xdd, 0xaa, - 0x6a, 0xab, 0x7c, 0xbb, 0x9b, 0x7e, 0xab, 0x0a, 0x04, 0x48, 0xa8, 0x69, 0xa0, 0x44, 0xad, 0x50, - 0x98, 0x86, 0x1f, 0xe2, 0xb2, 0xcc, 0xda, 0x93, 0xcd, 0x20, 0xaf, 0xc7, 0x8c, 0xc7, 0xab, 0x2e, - 0x37, 0x2e, 0x9c, 0xb9, 0xf3, 0x0f, 0x71, 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0, 0x39, 0xb0, 0xe3, 0xe7, 0x1a, 0x58, 0x3b, 0x81, 0x1d, 0x6f, 0xdc, 0x3b, 0x65, 0x89, 0x69, - 0xf5, 0x57, 0x65, 0x9a, 0xf8, 0xe8, 0x6a, 0x9c, 0xea, 0xa3, 0x4b, 0xd1, 0xb2, 0x79, 0x2a, 0x5a, - 0x1a, 0xfd, 0x66, 0xf1, 0x35, 0xec, 0x37, 0xbf, 0x56, 0xc1, 0xca, 0x53, 0x1c, 0x60, 0x86, 0xfc, - 0x37, 0xf3, 0xbb, 0xc4, 0x45, 0x1c, 0x0f, 0xc5, 0xeb, 0xfd, 0xcc, 0x77, 0x89, 0xb6, 0xe4, 0x7d, - 0x43, 0xcb, 0x30, 0x07, 0x15, 0x23, 0xa8, 0x71, 0x86, 0x11, 0xf4, 0x9f, 0x67, 0x75, 0xeb, 0xc3, - 0x9f, 0x8e, 0xda, 0x95, 0xc3, 0xa3, 0x76, 0xe5, 0xf7, 0xa3, 0x76, 0xe5, 0x87, 0xe3, 0xf6, 0xb9, - 0xc3, 0xe3, 0xf6, 0xb9, 0xdf, 0x8e, 0xdb, 0xe7, 0xbe, 0xfc, 0xdf, 0x90, 0xf0, 0x83, 0x78, 0xd0, - 0x75, 0xe9, 0xa8, 0xe7, 0x62, 0xe6, 0xde, 0x27, 0xb4, 0xa7, 0x7e, 0xa3, 0x79, 0xbd, 0x97, 0xc5, - 0xbf, 0x43, 0x91, 0xd9, 0x68, 0xd0, 0x90, 0x7f, 0xff, 0x1e, 0xfe, 0x15, 0x00, 0x00, 0xff, 0xff, - 0xf0, 0xef, 0xc9, 0x05, 0x5e, 0x14, 0x00, 0x00, + // 1371 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcf, 0x8f, 0xd3, 0xc6, + 0x17, 0x27, 0x89, 0x37, 0xd9, 0xcc, 0xee, 0x22, 0x30, 0x20, 0xbc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xf5, 0xd2, 0x81, 0xdb, 0xfa, 0x9e, 0x24, 0xa0, + 0x4e, 0x81, 0xea, 0x4c, 0xe3, 0x24, 0x86, 0xd1, 0x60, 0x4f, 0xa1, 0x82, 0x26, 0xda, 0xbe, 0x0f, + 0x56, 0x3d, 0x1a, 0x72, 0x1c, 0xf2, 0x9c, 0x87, 0xad, 0x6a, 0x34, 0x65, 0x35, 0xb9, 0x68, 0xaa, + 0xe0, 0x8a, 0x21, 0x29, 0x5a, 0x2d, 0xcb, 0x18, 0xfb, 0xa1, 0x55, 0xbb, 0x3a, 0x6e, 0xff, 0x94, + 0x56, 0x72, 0x36, 0x13, 0x07, 0x54, 0x39, 0x98, 0x30, 0x52, 0xce, 0x66, 0x22, 0x67, 0x33, 0x59, + 0x00, 0x07, 0x9f, 0x36, 0x40, 0x7b, 0x27, 0x8c, 0x17, 0x36, 0x50, 0x0c, 0xb2, 0x34, 0x0e, 0x4c, + 0x96, 0x07, 0x60, 0x8d, 0xe1, 0x98, 0x26, 0xcc, 0xc3, 0x03, 0xe3, 0xc5, 0xda, 0x78, 0x95, 0xd3, + 0x66, 0xb3, 0xc2, 0x33, 0x3a, 0xb8, 0x6a, 0x8a, 0xf6, 0x75, 0xb0, 0x34, 0x41, 0x41, 0xa2, 0x47, + 0xca, 0xb9, 0x2c, 0x75, 0xd7, 0xd5, 0x61, 0x84, 0xba, 0x38, 0x8a, 0x14, 0x60, 0xee, 0x2b, 0x9e, + 0x81, 0xe1, 0x2f, 0x12, 0x1c, 0xf3, 0xf9, 0x49, 0xa2, 0x0c, 0xe5, 0xde, 0xb9, 0x08, 0x35, 0x62, + 0x01, 0x25, 0xfd, 0xd6, 0x02, 0x67, 0x8d, 0x6b, 0x65, 0x07, 0x47, 0x01, 0x9d, 0x8e, 0x71, 0xc8, + 0x61, 0x79, 0x84, 0x57, 0xb9, 0xca, 0x95, 0x2b, 0xc1, 0x7a, 0xa9, 0x2b, 0x61, 0x0b, 0x34, 0xfc, + 0x30, 0x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0xd3, 0x67, 0x9d, 0xda, 0xcf, 0xcf, 0x3a, 0xb5, 0x6f, 0x9e, + 0x77, 0x8e, 0x3c, 0x7d, 0xde, 0x39, 0xf2, 0xd3, 0xf3, 0xce, 0x91, 0x4f, 0xff, 0x37, 0x22, 0xfc, + 0x71, 0x32, 0xec, 0x79, 0x74, 0xdc, 0xf7, 0x30, 0xf3, 0xae, 0x12, 0xda, 0x57, 0x7f, 0x90, 0xfd, + 0xfe, 0x93, 0xf2, 0xb7, 0xb9, 0xa8, 0x6c, 0x3c, 0x6c, 0xca, 0x1f, 0xdf, 0xd7, 0xff, 0x08, 0x00, + 0x00, 0xff, 0xff, 0xad, 0x7d, 0xa4, 0x59, 0x59, 0x17, 0x00, 0x00, } func (m *ServiceProviderRegistration) Marshal() (dAtA []byte, err error) { @@ -1806,6 +1979,148 @@ func (m *ApplicationDeploymentRecord) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } +func (m *ApplicationDeploymentRemovalRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplicationDeploymentRemovalRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ApplicationDeploymentRemovalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + } + if len(m.Meta) > 0 { + i -= len(m.Meta) + copy(dAtA[i:], m.Meta) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Meta))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if len(m.Request) > 0 { + i -= len(m.Request) + copy(dAtA[i:], m.Request) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Request))) + i-- + dAtA[i] = 0x22 + } + if len(m.Deployment) > 0 { + i -= len(m.Deployment) + copy(dAtA[i:], m.Deployment) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Deployment))) + i-- + dAtA[i] = 0x1a + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0x12 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplicationDeploymentRemovalRecord) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplicationDeploymentRemovalRecord) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ApplicationDeploymentRemovalRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + } + if len(m.Meta) > 0 { + i -= len(m.Meta) + copy(dAtA[i:], m.Meta) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Meta))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if len(m.Request) > 0 { + i -= len(m.Request) + copy(dAtA[i:], m.Request) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Request))) + i-- + dAtA[i] = 0x22 + } + if len(m.Deployment) > 0 { + i -= len(m.Deployment) + copy(dAtA[i:], m.Deployment) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Deployment))) + i-- + dAtA[i] = 0x1a + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0x12 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAttributes(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *GeneralRecord) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2276,6 +2591,76 @@ func (m *ApplicationDeploymentRecord) Size() (n int) { return n } +func (m *ApplicationDeploymentRemovalRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Version) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Deployment) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Request) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Meta) + if l > 0 { + n += 2 + l + sovAttributes(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 2 + l + sovAttributes(uint64(l)) + } + } + return n +} + +func (m *ApplicationDeploymentRemovalRecord) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Version) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Deployment) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Request) + if l > 0 { + n += 1 + l + sovAttributes(uint64(l)) + } + l = len(m.Meta) + if l > 0 { + n += 2 + l + sovAttributes(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 2 + l + sovAttributes(uint64(l)) + } + } + return n +} + func (m *GeneralRecord) Size() (n int) { if m == nil { return 0 @@ -5001,6 +5386,490 @@ func (m *ApplicationDeploymentRecord) Unmarshal(dAtA []byte) error { } return nil } +func (m *ApplicationDeploymentRemovalRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplicationDeploymentRemovalRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplicationDeploymentRemovalRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Deployment", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Deployment = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Request = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Meta = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAttributes(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAttributes + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplicationDeploymentRemovalRecord) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplicationDeploymentRemovalRecord: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplicationDeploymentRemovalRecord: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Deployment", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Deployment = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Request = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Meta = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAttributes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAttributes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAttributes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAttributes(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAttributes + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *GeneralRecord) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/registry/types/codec.go b/x/registry/types/codec.go index 7be73eb2..2ef814fd 100644 --- a/x/registry/types/codec.go +++ b/x/registry/types/codec.go @@ -75,6 +75,18 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &ApplicationArtifact{}, ) + registry.RegisterInterface( + "vulcanize.registry.v1beta1.ApplicationDeploymentRemovalRequest", + (*Attributes)(nil), + &ApplicationDeploymentRemovalRequest{}, + ) + + registry.RegisterInterface( + "vulcanize.registry.v1beta1.ApplicationDeploymentRemovalRecord", + (*Attributes)(nil), + &ApplicationDeploymentRemovalRecord{}, + ) + registry.RegisterInterface( "vulcanize.registry.v1beta1.DnsRecord", (*Attributes)(nil), diff --git a/x/registry/types/types.go b/x/registry/types/types.go index e69f108f..c1bdc1b6 100644 --- a/x/registry/types/types.go +++ b/x/registry/types/types.go @@ -95,6 +95,24 @@ func payLoadAttributes(recordPayLoad map[string]interface{}) (*codectypes.Any, e } return codectypes.NewAnyWithValue(&attributes) } + case "ApplicationDeploymentRemovalRequest": + { + var attributes ApplicationDeploymentRemovalRequest + err := json.Unmarshal(bz, &attributes) + if err != nil { + return &codectypes.Any{}, err + } + return codectypes.NewAnyWithValue(&attributes) + } + case "ApplicationDeploymentRemovalRecord": + { + var attributes ApplicationDeploymentRemovalRecord + err := json.Unmarshal(bz, &attributes) + if err != nil { + return &codectypes.Any{}, err + } + return codectypes.NewAnyWithValue(&attributes) + } case "ApplicationArtifact": { var attributes ApplicationArtifact @@ -228,6 +246,32 @@ func GetJSONBytesFromAny(any codectypes.Any) ([]byte, error) { panic("Proto unmarshal error") } + bz, err = json.Marshal(attributes) + if err != nil { + panic("JSON marshal error") + } + } + case "ApplicationDeploymentRemovalRequest": + { + var attributes ApplicationDeploymentRemovalRequest + err := proto.Unmarshal(any.Value, &attributes) + if err != nil { + panic("Proto unmarshal error") + } + + bz, err = json.Marshal(attributes) + if err != nil { + panic("JSON marshal error") + } + } + case "ApplicationDeploymentRemovalRecord": + { + var attributes ApplicationDeploymentRemovalRecord + err := proto.Unmarshal(any.Value, &attributes) + if err != nil { + panic("Proto unmarshal error") + } + bz, err = json.Marshal(attributes) if err != nil { panic("JSON marshal error")