diff --git a/gen/go/proto/satellite/v1/satellite.pb.go b/gen/go/proto/satellite/v1/satellite.pb.go index 69c3ded..24b1a8f 100644 --- a/gen/go/proto/satellite/v1/satellite.pb.go +++ b/gen/go/proto/satellite/v1/satellite.pb.go @@ -98,11 +98,46 @@ type SatelliteDetail struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Velocity float64 `protobuf:"fixed64,4,opt,name=velocity,proto3" json:"velocity,omitempty"` - LaunchDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=launchDate,proto3" json:"launchDate,omitempty"` + CcsdsOmmVers string `protobuf:"bytes,1,opt,name=ccsds_omm_vers,json=ccsdsOmmVers,proto3" json:"ccsds_omm_vers,omitempty"` + Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` + CreationDate string `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + Originator string `protobuf:"bytes,4,opt,name=originator,proto3" json:"originator,omitempty"` + ObjectName string `protobuf:"bytes,5,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` + ObjectId string `protobuf:"bytes,6,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` + CenterName string `protobuf:"bytes,7,opt,name=center_name,json=centerName,proto3" json:"center_name,omitempty"` + RefFrame string `protobuf:"bytes,8,opt,name=ref_frame,json=refFrame,proto3" json:"ref_frame,omitempty"` + TimeSystem string `protobuf:"bytes,9,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` + MeanElementTheory string `protobuf:"bytes,10,opt,name=mean_element_theory,json=meanElementTheory,proto3" json:"mean_element_theory,omitempty"` + Epoch string `protobuf:"bytes,11,opt,name=epoch,proto3" json:"epoch,omitempty"` + MeanMotion string `protobuf:"bytes,12,opt,name=mean_motion,json=meanMotion,proto3" json:"mean_motion,omitempty"` + Eccentricity string `protobuf:"bytes,13,opt,name=eccentricity,proto3" json:"eccentricity,omitempty"` + Inclination string `protobuf:"bytes,14,opt,name=inclination,proto3" json:"inclination,omitempty"` + RaOfAscNode string `protobuf:"bytes,15,opt,name=ra_of_asc_node,json=raOfAscNode,proto3" json:"ra_of_asc_node,omitempty"` + ArgOfPericenter string `protobuf:"bytes,16,opt,name=arg_of_pericenter,json=argOfPericenter,proto3" json:"arg_of_pericenter,omitempty"` + MeanAnomaly string `protobuf:"bytes,17,opt,name=mean_anomaly,json=meanAnomaly,proto3" json:"mean_anomaly,omitempty"` + EphemerisType string `protobuf:"bytes,18,opt,name=ephemeris_type,json=ephemerisType,proto3" json:"ephemeris_type,omitempty"` + ClassificationType string `protobuf:"bytes,19,opt,name=classification_type,json=classificationType,proto3" json:"classification_type,omitempty"` + NoradCatId string `protobuf:"bytes,20,opt,name=norad_cat_id,json=noradCatId,proto3" json:"norad_cat_id,omitempty"` + ElementSetNo string `protobuf:"bytes,21,opt,name=element_set_no,json=elementSetNo,proto3" json:"element_set_no,omitempty"` + RevAtEpoch string `protobuf:"bytes,22,opt,name=rev_at_epoch,json=revAtEpoch,proto3" json:"rev_at_epoch,omitempty"` + Bstar string `protobuf:"bytes,23,opt,name=bstar,proto3" json:"bstar,omitempty"` + MeanMotionDot string `protobuf:"bytes,24,opt,name=mean_motion_dot,json=meanMotionDot,proto3" json:"mean_motion_dot,omitempty"` + MeanMotionDdot string `protobuf:"bytes,25,opt,name=mean_motion_ddot,json=meanMotionDdot,proto3" json:"mean_motion_ddot,omitempty"` + SemimajorAxis string `protobuf:"bytes,26,opt,name=semimajor_axis,json=semimajorAxis,proto3" json:"semimajor_axis,omitempty"` + Period string `protobuf:"bytes,27,opt,name=period,proto3" json:"period,omitempty"` + Apoapsis string `protobuf:"bytes,28,opt,name=apoapsis,proto3" json:"apoapsis,omitempty"` + Periapsis string `protobuf:"bytes,29,opt,name=periapsis,proto3" json:"periapsis,omitempty"` + ObjectType string `protobuf:"bytes,30,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` + RcsSize string `protobuf:"bytes,31,opt,name=rcs_size,json=rcsSize,proto3" json:"rcs_size,omitempty"` + CountryCode string `protobuf:"bytes,32,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + LaunchDate string `protobuf:"bytes,33,opt,name=launch_date,json=launchDate,proto3" json:"launch_date,omitempty"` + Site string `protobuf:"bytes,34,opt,name=site,proto3" json:"site,omitempty"` + DecayDate string `protobuf:"bytes,35,opt,name=decay_date,json=decayDate,proto3" json:"decay_date,omitempty"` + File string `protobuf:"bytes,36,opt,name=file,proto3" json:"file,omitempty"` + GpId string `protobuf:"bytes,37,opt,name=gp_id,json=gpId,proto3" json:"gp_id,omitempty"` + TleLine0 string `protobuf:"bytes,38,opt,name=tle_line0,json=tleLine0,proto3" json:"tle_line0,omitempty"` + TleLine1 string `protobuf:"bytes,39,opt,name=tle_line1,json=tleLine1,proto3" json:"tle_line1,omitempty"` + TleLine2 string `protobuf:"bytes,40,opt,name=tle_line2,json=tleLine2,proto3" json:"tle_line2,omitempty"` } func (x *SatelliteDetail) Reset() { @@ -137,39 +172,284 @@ func (*SatelliteDetail) Descriptor() ([]byte, []int) { return file_proto_satellite_v1_satellite_proto_rawDescGZIP(), []int{1} } -func (x *SatelliteDetail) GetId() string { +func (x *SatelliteDetail) GetCcsdsOmmVers() string { if x != nil { - return x.Id + return x.CcsdsOmmVers } return "" } -func (x *SatelliteDetail) GetName() string { +func (x *SatelliteDetail) GetComment() string { if x != nil { - return x.Name + return x.Comment } return "" } -func (x *SatelliteDetail) GetDescription() string { +func (x *SatelliteDetail) GetCreationDate() string { if x != nil { - return x.Description + return x.CreationDate } return "" } -func (x *SatelliteDetail) GetVelocity() float64 { +func (x *SatelliteDetail) GetOriginator() string { if x != nil { - return x.Velocity + return x.Originator } - return 0 + return "" +} + +func (x *SatelliteDetail) GetObjectName() string { + if x != nil { + return x.ObjectName + } + return "" +} + +func (x *SatelliteDetail) GetObjectId() string { + if x != nil { + return x.ObjectId + } + return "" +} + +func (x *SatelliteDetail) GetCenterName() string { + if x != nil { + return x.CenterName + } + return "" +} + +func (x *SatelliteDetail) GetRefFrame() string { + if x != nil { + return x.RefFrame + } + return "" +} + +func (x *SatelliteDetail) GetTimeSystem() string { + if x != nil { + return x.TimeSystem + } + return "" +} + +func (x *SatelliteDetail) GetMeanElementTheory() string { + if x != nil { + return x.MeanElementTheory + } + return "" +} + +func (x *SatelliteDetail) GetEpoch() string { + if x != nil { + return x.Epoch + } + return "" +} + +func (x *SatelliteDetail) GetMeanMotion() string { + if x != nil { + return x.MeanMotion + } + return "" +} + +func (x *SatelliteDetail) GetEccentricity() string { + if x != nil { + return x.Eccentricity + } + return "" +} + +func (x *SatelliteDetail) GetInclination() string { + if x != nil { + return x.Inclination + } + return "" +} + +func (x *SatelliteDetail) GetRaOfAscNode() string { + if x != nil { + return x.RaOfAscNode + } + return "" +} + +func (x *SatelliteDetail) GetArgOfPericenter() string { + if x != nil { + return x.ArgOfPericenter + } + return "" +} + +func (x *SatelliteDetail) GetMeanAnomaly() string { + if x != nil { + return x.MeanAnomaly + } + return "" +} + +func (x *SatelliteDetail) GetEphemerisType() string { + if x != nil { + return x.EphemerisType + } + return "" +} + +func (x *SatelliteDetail) GetClassificationType() string { + if x != nil { + return x.ClassificationType + } + return "" +} + +func (x *SatelliteDetail) GetNoradCatId() string { + if x != nil { + return x.NoradCatId + } + return "" +} + +func (x *SatelliteDetail) GetElementSetNo() string { + if x != nil { + return x.ElementSetNo + } + return "" +} + +func (x *SatelliteDetail) GetRevAtEpoch() string { + if x != nil { + return x.RevAtEpoch + } + return "" +} + +func (x *SatelliteDetail) GetBstar() string { + if x != nil { + return x.Bstar + } + return "" +} + +func (x *SatelliteDetail) GetMeanMotionDot() string { + if x != nil { + return x.MeanMotionDot + } + return "" +} + +func (x *SatelliteDetail) GetMeanMotionDdot() string { + if x != nil { + return x.MeanMotionDdot + } + return "" +} + +func (x *SatelliteDetail) GetSemimajorAxis() string { + if x != nil { + return x.SemimajorAxis + } + return "" +} + +func (x *SatelliteDetail) GetPeriod() string { + if x != nil { + return x.Period + } + return "" +} + +func (x *SatelliteDetail) GetApoapsis() string { + if x != nil { + return x.Apoapsis + } + return "" +} + +func (x *SatelliteDetail) GetPeriapsis() string { + if x != nil { + return x.Periapsis + } + return "" +} + +func (x *SatelliteDetail) GetObjectType() string { + if x != nil { + return x.ObjectType + } + return "" +} + +func (x *SatelliteDetail) GetRcsSize() string { + if x != nil { + return x.RcsSize + } + return "" +} + +func (x *SatelliteDetail) GetCountryCode() string { + if x != nil { + return x.CountryCode + } + return "" } -func (x *SatelliteDetail) GetLaunchDate() *timestamppb.Timestamp { +func (x *SatelliteDetail) GetLaunchDate() string { if x != nil { return x.LaunchDate } - return nil + return "" +} + +func (x *SatelliteDetail) GetSite() string { + if x != nil { + return x.Site + } + return "" +} + +func (x *SatelliteDetail) GetDecayDate() string { + if x != nil { + return x.DecayDate + } + return "" +} + +func (x *SatelliteDetail) GetFile() string { + if x != nil { + return x.File + } + return "" +} + +func (x *SatelliteDetail) GetGpId() string { + if x != nil { + return x.GpId + } + return "" +} + +func (x *SatelliteDetail) GetTleLine0() string { + if x != nil { + return x.TleLine0 + } + return "" +} + +func (x *SatelliteDetail) GetTleLine1() string { + if x != nil { + return x.TleLine1 + } + return "" +} + +func (x *SatelliteDetail) GetTleLine2() string { + if x != nil { + return x.TleLine2 + } + return "" } type GetSatellitePositionsRequest struct { @@ -281,51 +561,123 @@ var file_proto_satellite_v1_satellite_proto_rawDesc = []byte{ 0x0a, 0x03, 0x6c, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6c, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6c, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6c, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x61, 0x6c, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0xaf, - 0x01, 0x0a, 0x0f, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x6c, 0x6f, - 0x63, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x76, 0x65, 0x6c, 0x6f, - 0x63, 0x69, 0x74, 0x79, 0x12, 0x3a, 0x0a, 0x0a, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x44, 0x61, - 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x44, 0x61, 0x74, 0x65, - 0x22, 0x4e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x61, 0x6c, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0xaa, + 0x0a, 0x0a, 0x0f, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x63, 0x73, 0x64, 0x73, 0x5f, 0x6f, 0x6d, 0x6d, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x63, 0x73, 0x64, + 0x73, 0x4f, 0x6d, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, + 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x69, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x5f, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x66, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x65, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x6d, 0x65, 0x61, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x68, + 0x65, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, + 0x61, 0x6e, 0x5f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x6d, 0x65, 0x61, 0x6e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x65, + 0x63, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x65, 0x63, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x74, 0x79, 0x12, + 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x23, 0x0a, 0x0e, 0x72, 0x61, 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x73, 0x63, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x61, 0x4f, 0x66, 0x41, + 0x73, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x72, 0x67, 0x5f, 0x6f, 0x66, + 0x5f, 0x70, 0x65, 0x72, 0x69, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x61, 0x72, 0x67, 0x4f, 0x66, 0x50, 0x65, 0x72, 0x69, 0x63, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x6e, 0x6f, 0x6d, 0x61, + 0x6c, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x61, 0x6e, 0x41, 0x6e, + 0x6f, 0x6d, 0x61, 0x6c, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, + 0x69, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, + 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, + 0x0c, 0x6e, 0x6f, 0x72, 0x61, 0x64, 0x5f, 0x63, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x6f, 0x72, 0x61, 0x64, 0x43, 0x61, 0x74, 0x49, 0x64, 0x12, + 0x24, 0x0a, 0x0e, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x6e, + 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x53, 0x65, 0x74, 0x4e, 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x5f, 0x61, 0x74, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x76, + 0x41, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x73, 0x74, 0x61, 0x72, + 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x73, 0x74, 0x61, 0x72, 0x12, 0x26, 0x0a, + 0x0f, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x6f, 0x74, + 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x65, 0x61, 0x6e, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x6f, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x6d, 0x6f, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6f, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x6d, 0x65, 0x61, 0x6e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x64, 0x6f, 0x74, 0x12, + 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x6d, 0x69, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x61, 0x78, 0x69, + 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x6d, 0x69, 0x6d, 0x61, 0x6a, + 0x6f, 0x72, 0x41, 0x78, 0x69, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, + 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x1a, + 0x0a, 0x08, 0x61, 0x70, 0x6f, 0x61, 0x70, 0x73, 0x69, 0x73, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x61, 0x70, 0x6f, 0x61, 0x70, 0x73, 0x69, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, + 0x72, 0x69, 0x61, 0x70, 0x73, 0x69, 0x73, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x65, 0x72, 0x69, 0x61, 0x70, 0x73, 0x69, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x63, 0x73, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x63, 0x73, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x44, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x74, 0x65, + 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x69, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x64, 0x65, 0x63, 0x61, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x64, 0x65, 0x63, 0x61, 0x79, 0x44, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, + 0x69, 0x6c, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, + 0x13, 0x0a, 0x05, 0x67, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x67, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x65, + 0x30, 0x18, 0x26, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6c, 0x65, 0x4c, 0x69, 0x6e, 0x65, + 0x30, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x31, 0x18, 0x27, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6c, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x31, 0x12, 0x1b, + 0x0a, 0x09, 0x74, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x32, 0x18, 0x28, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x74, 0x6c, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x32, 0x22, 0x4e, 0x0a, 0x1c, 0x47, + 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0a, + 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x52, 0x0a, 0x73, 0x61, 0x74, 0x65, 0x6c, + 0x6c, 0x69, 0x74, 0x65, 0x73, 0x32, 0x97, 0x02, 0x0a, 0x10, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, + 0x69, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x15, 0x47, + 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x22, 0x58, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x52, 0x0a, - 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x73, 0x32, 0x97, 0x02, 0x0a, 0x10, 0x53, - 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x91, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x73, 0x61, 0x74, 0x65, - 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, - 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, - 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, - 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x6f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, - 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x17, 0x2e, 0x73, 0x61, 0x74, 0x65, - 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, - 0x74, 0x65, 0x1a, 0x1d, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x73, - 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, - 0x7b, 0x69, 0x64, 0x7d, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x54, 0x73, 0x75, 0x6b, 0x6f, 0x79, 0x61, 0x63, 0x68, 0x69, 0x2f, 0x72, 0x65, - 0x61, 0x63, 0x74, 0x2d, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2d, 0x74, 0x72, 0x61, 0x63, 0x6b, - 0x65, 0x72, 0x2d, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x1a, 0x2b, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x61, 0x74, 0x65, 0x6c, + 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6f, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x12, 0x17, 0x2e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x1a, 0x1d, 0x2e, + 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x74, + 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x21, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x6c, + 0x69, 0x74, 0x65, 0x2f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, + 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x73, + 0x75, 0x6b, 0x6f, 0x79, 0x61, 0x63, 0x68, 0x69, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x2d, 0x66, + 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2d, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x2d, 0x73, 0x61, + 0x74, 0x65, 0x6c, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -349,18 +701,17 @@ var file_proto_satellite_v1_satellite_proto_goTypes = []interface{}{ (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp } var file_proto_satellite_v1_satellite_proto_depIdxs = []int32{ - 4, // 0: satellite.v1.SatelliteDetail.launchDate:type_name -> google.protobuf.Timestamp - 4, // 1: satellite.v1.GetSatellitePositionsRequest.time:type_name -> google.protobuf.Timestamp - 0, // 2: satellite.v1.GetSatellitePositionsResponse.satellites:type_name -> satellite.v1.Satellite - 2, // 3: satellite.v1.SatelliteService.GetSatellitePositions:input_type -> satellite.v1.GetSatellitePositionsRequest - 0, // 4: satellite.v1.SatelliteService.GetSatelliteDetail:input_type -> satellite.v1.Satellite - 3, // 5: satellite.v1.SatelliteService.GetSatellitePositions:output_type -> satellite.v1.GetSatellitePositionsResponse - 1, // 6: satellite.v1.SatelliteService.GetSatelliteDetail:output_type -> satellite.v1.SatelliteDetail - 5, // [5:7] is the sub-list for method output_type - 3, // [3:5] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 4, // 0: satellite.v1.GetSatellitePositionsRequest.time:type_name -> google.protobuf.Timestamp + 0, // 1: satellite.v1.GetSatellitePositionsResponse.satellites:type_name -> satellite.v1.Satellite + 2, // 2: satellite.v1.SatelliteService.GetSatellitePositions:input_type -> satellite.v1.GetSatellitePositionsRequest + 0, // 3: satellite.v1.SatelliteService.GetSatelliteDetail:input_type -> satellite.v1.Satellite + 3, // 4: satellite.v1.SatelliteService.GetSatellitePositions:output_type -> satellite.v1.GetSatellitePositionsResponse + 1, // 5: satellite.v1.SatelliteService.GetSatelliteDetail:output_type -> satellite.v1.SatelliteDetail + 4, // [4:6] is the sub-list for method output_type + 2, // [2:4] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name } func init() { file_proto_satellite_v1_satellite_proto_init() } diff --git a/gen/openapiv2/proto/satellite/v1/satellite.swagger.json b/gen/openapiv2/proto/satellite/v1/satellite.swagger.json index d6ff1ce..a92af61 100644 --- a/gen/openapiv2/proto/satellite/v1/satellite.swagger.json +++ b/gen/openapiv2/proto/satellite/v1/satellite.swagger.json @@ -163,22 +163,125 @@ "v1SatelliteDetail": { "type": "object", "properties": { - "id": { + "ccsdsOmmVers": { "type": "string" }, - "name": { + "comment": { "type": "string" }, - "description": { + "creationDate": { "type": "string" }, - "velocity": { - "type": "number", - "format": "double" + "originator": { + "type": "string" + }, + "objectName": { + "type": "string" + }, + "objectId": { + "type": "string" + }, + "centerName": { + "type": "string" + }, + "refFrame": { + "type": "string" + }, + "timeSystem": { + "type": "string" + }, + "meanElementTheory": { + "type": "string" + }, + "epoch": { + "type": "string" + }, + "meanMotion": { + "type": "string" + }, + "eccentricity": { + "type": "string" + }, + "inclination": { + "type": "string" + }, + "raOfAscNode": { + "type": "string" + }, + "argOfPericenter": { + "type": "string" + }, + "meanAnomaly": { + "type": "string" + }, + "ephemerisType": { + "type": "string" + }, + "classificationType": { + "type": "string" + }, + "noradCatId": { + "type": "string" + }, + "elementSetNo": { + "type": "string" + }, + "revAtEpoch": { + "type": "string" + }, + "bstar": { + "type": "string" + }, + "meanMotionDot": { + "type": "string" + }, + "meanMotionDdot": { + "type": "string" + }, + "semimajorAxis": { + "type": "string" + }, + "period": { + "type": "string" + }, + "apoapsis": { + "type": "string" + }, + "periapsis": { + "type": "string" + }, + "objectType": { + "type": "string" + }, + "rcsSize": { + "type": "string" + }, + "countryCode": { + "type": "string" }, "launchDate": { - "type": "string", - "format": "date-time" + "type": "string" + }, + "site": { + "type": "string" + }, + "decayDate": { + "type": "string" + }, + "file": { + "type": "string" + }, + "gpId": { + "type": "string" + }, + "tleLine0": { + "type": "string" + }, + "tleLine1": { + "type": "string" + }, + "tleLine2": { + "type": "string" } } } diff --git a/proto/satellite/v1/satellite.proto b/proto/satellite/v1/satellite.proto index f7c55bb..e7c8eb0 100644 --- a/proto/satellite/v1/satellite.proto +++ b/proto/satellite/v1/satellite.proto @@ -13,13 +13,47 @@ message Satellite { } - message SatelliteDetail { - string id = 1; - string name = 2; - string description = 3; - double velocity = 4; - google.protobuf.Timestamp launchDate = 5; + string ccsds_omm_vers = 1; + string comment = 2; + string creation_date = 3; + string originator = 4; + string object_name = 5; + string object_id = 6; + string center_name = 7; + string ref_frame = 8; + string time_system = 9; + string mean_element_theory = 10; + string epoch = 11; + string mean_motion = 12; + string eccentricity = 13; + string inclination = 14; + string ra_of_asc_node = 15; + string arg_of_pericenter = 16; + string mean_anomaly = 17; + string ephemeris_type = 18; + string classification_type = 19; + string norad_cat_id = 20; + string element_set_no = 21; + string rev_at_epoch = 22; + string bstar = 23; + string mean_motion_dot = 24; + string mean_motion_ddot = 25; + string semimajor_axis = 26; + string period = 27; + string apoapsis = 28; + string periapsis = 29; + string object_type = 30; + string rcs_size = 31; + string country_code = 32; + string launch_date = 33; + string site = 34; + string decay_date = 35; + string file = 36; + string gp_id = 37; + string tle_line0 = 38; + string tle_line1 = 39; + string tle_line2 = 40; } message GetSatellitePositionsRequest { diff --git a/service/satelliteservice.go b/service/satelliteservice.go index 6200d5e..05529be 100644 --- a/service/satelliteservice.go +++ b/service/satelliteservice.go @@ -61,11 +61,47 @@ func (api SatelliteService) GetSatelliteDetail(ctx context.Context, req *v1.Sate return nil, status.Errorf(codes.NotFound, "Satellite with ID %s not found", req.Id) } - // If it is, return the satellite detail return &v1.SatelliteDetail{ - Id: tle.NORAD_CAT_ID, - Name: tle.OBJECT_NAME, - Description: tle.COMMENT, + CcsdsOmmVers: tle.CCSDS_OMM_VERS, + Comment: tle.COMMENT, + CreationDate: tle.CREATION_DATE, + Originator: tle.ORIGINATOR, + ObjectName: tle.OBJECT_NAME, + ObjectId: tle.OBJECT_ID, + CenterName: tle.CENTER_NAME, + RefFrame: tle.REF_FRAME, + TimeSystem: tle.TIME_SYSTEM, + MeanElementTheory: tle.MEAN_ELEMENT_THEORY, + Epoch: tle.EPOCH, + MeanMotion: tle.MEAN_MOTION, + Eccentricity: tle.ECCENTRICITY, + Inclination: tle.INCLINATION, + RaOfAscNode: tle.RA_OF_ASC_NODE, + ArgOfPericenter: tle.ARG_OF_PERICENTER, + MeanAnomaly: tle.MEAN_ANOMALY, + EphemerisType: tle.EPHEMERIS_TYPE, + ClassificationType: tle.CLASSIFICATION_TYPE, + NoradCatId: tle.NORAD_CAT_ID, + ElementSetNo: tle.ELEMENT_SET_NO, + RevAtEpoch: tle.REV_AT_EPOCH, + Bstar: tle.BSTAR, + MeanMotionDot: tle.MEAN_MOTION_DOT, + MeanMotionDdot: tle.MEAN_MOTION_DDOT, + SemimajorAxis: tle.SEMIMAJOR_AXIS, + Period: tle.PERIOD, + Apoapsis: tle.APOAPSIS, + Periapsis: tle.PERIAPSIS, + ObjectType: tle.OBJECT_TYPE, + RcsSize: tle.RCS_SIZE, + CountryCode: tle.COUNTRY_CODE, + LaunchDate: tle.LAUNCH_DATE, + Site: tle.SITE, + DecayDate: tle.DECAY_DATE, + File: tle.FILE, + GpId: tle.GP_ID, + TleLine0: tle.TLE_LINE0, + TleLine1: tle.TLE_LINE1, + TleLine2: tle.TLE_LINE2, }, nil }