Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-proto-py
Commits
9b992884
Commit
9b992884
authored
Apr 17, 2024
by
Wei Shoulin
Browse files
C9
parent
462fb961
Changes
14
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/common/account/account.proto
deleted
100644 → 0
View file @
462fb961
syntax
=
"proto3"
;
package
dfs
.
common.account
;
option
go_package
=
"cnlab.net/csst/proto/common/account"
;
service
Account
{
rpc
Read
(
ReadRequest
)
returns
(
ReadResponse
)
{}
rpc
Create
(
CreateRequest
)
returns
(
CreateResponse
)
{}
rpc
Update
(
UpdateRequest
)
returns
(
UpdateResponse
)
{}
rpc
Delete
(
DeleteRequest
)
returns
(
DeleteResponse
)
{}
rpc
Search
(
SearchRequest
)
returns
(
SearchResponse
)
{}
}
message
Record
{
// uuid
string
id
=
1
;
// service or user
string
type
=
2
;
// service name, username, etc
string
client_id
=
3
;
// we leave this blank in responses
// used for update and create
string
client_secret
=
4
;
map
<
string
,
string
>
metadata
=
5
;
// unix timestamp
int64
created
=
6
;
// unix timestamp
int64
updated
=
7
;
}
message
ReadRequest
{
string
id
=
1
;
}
message
ReadResponse
{
Record
account
=
1
;
}
message
CreateRequest
{
// If id is blank, one will be generated
Record
account
=
1
;
}
message
CreateResponse
{
}
message
UpdateRequest
{
// Id and client_id cannot be changed
Record
account
=
1
;
}
message
UpdateResponse
{
}
message
DeleteRequest
{
string
id
=
1
;
}
message
DeleteResponse
{
}
message
SearchRequest
{
string
client_id
=
1
;
string
type
=
2
;
int64
limit
=
3
;
int64
offset
=
4
;
}
message
SearchResponse
{
repeated
Record
accounts
=
1
;
}
csst_dfs_proto/common/ephem/ephem.proto
View file @
9b992884
...
...
@@ -6,181 +6,14 @@ option go_package = "cnlab.net/csst/proto/common/ephem";
import
"common/error.proto"
;
service
EphemSearchSrv
{
rpc
Gaia3
Search
(
Ephem
SearchRequest
)
returns
(
stream
Gaia3
SearchResponse
)
{}
rpc
Search
(
SearchRequest
)
returns
(
stream
SearchResponse
)
{}
}
message
Gaia3Record
{
int64
SolutionId
=
1
;
string
Designation
=
2
;
int64
SourceId
=
3
;
int64
RandomIndex
=
4
;
double
RefEpoch
=
5
;
double
Ra
=
6
;
double
RaError
=
7
;
double
Dec
=
8
;
double
DecError
=
9
;
double
Parallax
=
10
;
double
ParallaxError
=
11
;
double
ParallaxOverError
=
12
;
double
Pm
=
13
;
double
Pmra
=
14
;
double
PmraError
=
15
;
double
Pmdec
=
16
;
double
PmdecError
=
17
;
double
RaDecCorr
=
18
;
double
RaParallaxCorr
=
19
;
double
RaPmraCorr
=
20
;
double
RaPmdecCorr
=
21
;
double
DecParallaxCorr
=
22
;
double
DecPmraCorr
=
23
;
double
DecPmdecCorr
=
24
;
double
ParallaxPmraCorr
=
25
;
double
ParallaxPmdecCorr
=
26
;
double
PmraPmdecCorr
=
27
;
int64
AstrometricNObsAl
=
28
;
int64
AstrometricNObsAc
=
29
;
int64
AstrometricNGoodObsAl
=
30
;
int64
AstrometricNBadObsAl
=
31
;
double
AstrometricGofAl
=
32
;
double
AstrometricChi2Al
=
33
;
double
AstrometricExcessNoise
=
34
;
double
AstrometricExcessNoiseSig
=
35
;
int64
AstrometricParamsSolved
=
36
;
int32
AstrometricPrimaryFlag
=
37
;
double
NuEffUsedInAstrometry
=
38
;
double
Pseudocolour
=
39
;
double
PseudocolourError
=
40
;
double
RaPseudocolourCorr
=
41
;
double
DecPseudocolourCorr
=
42
;
double
ParallaxPseudocolourCorr
=
43
;
double
PmraPseudocolourCorr
=
44
;
double
PmdecPseudocolourCorr
=
45
;
int64
AstrometricMatchedTransits
=
46
;
int64
VisibilityPeriodsUsed
=
47
;
double
AstrometricSigma5dMax
=
48
;
int64
MatchedTransits
=
49
;
int64
NewMatchedTransits
=
50
;
int64
MatchedTransitsRemoved
=
51
;
double
IpdGofHarmonicAmplitude
=
52
;
double
IpdGofHarmonicPhase
=
53
;
int64
IpdFracMultiPeak
=
54
;
int64
IpdFracOddWin
=
55
;
double
Ruwe
=
56
;
double
ScanDirectionStrengthK1
=
57
;
double
ScanDirectionStrengthK2
=
58
;
double
ScanDirectionStrengthK3
=
59
;
double
ScanDirectionStrengthK4
=
60
;
double
ScanDirectionMeanK1
=
61
;
double
ScanDirectionMeanK2
=
62
;
double
ScanDirectionMeanK3
=
63
;
double
ScanDirectionMeanK4
=
64
;
int32
DuplicatedSource
=
65
;
int64
PhotGNObs
=
66
;
double
PhotGMeanFlux
=
67
;
double
PhotGMeanFluxError
=
68
;
double
PhotGMeanFluxOverError
=
69
;
double
PhotGMeanMag
=
70
;
int64
PhotBpNObs
=
71
;
double
PhotBpMeanFlux
=
72
;
double
PhotBpMeanFluxError
=
73
;
double
PhotBpMeanFluxOverError
=
74
;
double
PhotBpMeanMag
=
75
;
int64
PhotRpNObs
=
76
;
double
PhotRpMeanFlux
=
77
;
double
PhotRpMeanFluxError
=
78
;
double
PhotRpMeanFluxOverError
=
79
;
double
PhotRpMeanMag
=
80
;
double
PhotBpRpExcessFactor
=
81
;
double
PhotBpNContaminatedTransits
=
82
;
double
PhotBpNBlendedTransits
=
83
;
double
PhotRpNContaminatedTransits
=
84
;
double
PhotRpNBlendedTransits
=
85
;
double
PhotProcMode
=
86
;
double
BpRp
=
87
;
double
BpG
=
88
;
double
GRp
=
89
;
double
RadialVelocity
=
90
;
double
RadialVelocityError
=
91
;
double
RvMethodUsed
=
92
;
double
RvNbTransits
=
93
;
double
RvNbDeblendedTransits
=
94
;
double
RvVisibilityPeriodsUsed
=
95
;
double
RvExpectedSigToNoise
=
96
;
double
RvRenormalisedGof
=
97
;
double
RvChisqPvalue
=
98
;
double
RvTimeDuration
=
99
;
double
RvAmplitudeRobust
=
100
;
double
RvTemplateTeff
=
101
;
double
RvTemplateLogg
=
102
;
double
RvTemplateFeH
=
103
;
double
RvAtmParamOrigin
=
104
;
double
Vbroad
=
105
;
double
VbroadError
=
106
;
double
VbroadNbTransits
=
107
;
double
GrvsMag
=
108
;
double
GrvsMagError
=
109
;
double
GrvsMagNbTransits
=
110
;
double
RvsSpecSigToNoise
=
111
;
string
PhotVariableFlag
=
112
;
double
L
=
113
;
double
B
=
114
;
double
EclLon
=
115
;
double
EclLat
=
116
;
int32
InQsoCandidates
=
117
;
int32
InGalaxyCandidates
=
118
;
int64
NonSingleStar
=
119
;
int32
HasXpContinuous
=
120
;
int32
HasXpSampled
=
121
;
int32
HasRvs
=
122
;
int32
HasEpochPhotometry
=
123
;
int32
HasEpochRv
=
124
;
int32
HasMcmcGspphot
=
125
;
int32
HasMcmcMsc
=
126
;
int32
InAndromedaSurvey
=
127
;
double
ClassprobDscCombmodQuasar
=
128
;
double
ClassprobDscCombmodGalaxy
=
129
;
double
ClassprobDscCombmodStar
=
130
;
double
TeffGspphot
=
131
;
double
TeffGspphotLower
=
132
;
double
TeffGspphotUpper
=
133
;
double
LoggGspphot
=
134
;
double
LoggGspphotLower
=
135
;
double
LoggGspphotUpper
=
136
;
double
MhGspphot
=
137
;
double
MhGspphotLower
=
138
;
double
MhGspphotUpper
=
139
;
double
DistanceGspphot
=
140
;
double
DistanceGspphotLower
=
141
;
double
DistanceGspphotUpper
=
142
;
double
AzeroGspphot
=
143
;
double
AzeroGspphotLower
=
144
;
double
AzeroGspphotUpper
=
145
;
double
AgGspphot
=
146
;
double
AgGspphotLower
=
147
;
double
AgGspphotUpper
=
148
;
double
EbpminrpGspphot
=
149
;
double
EbpminrpGspphotLower
=
150
;
double
EbpminrpGspphotUpper
=
151
;
string
LibnameGspphot
=
152
;
int32
NS8HIdx
=
153
;
int32
NS16HIdx
=
154
;
int32
NS32HIdx
=
155
;
int32
NS64HIdx
=
156
;
int32
FileIdx
=
157
;
message
SearchRequest
{
map
<
string
,
string
>
conditions
=
1
;
}
message
EphemSearchRequest
{
double
ra
=
1
;
double
dec
=
2
;
double
radius
=
3
;
string
columns
=
4
;
double
minMag
=
5
;
double
maxMag
=
6
;
int64
obstime
=
7
;
int64
limit
=
8
;
}
message
Gaia3SearchResponse
{
message
SearchResponse
{
bool
success
=
1
;
int32
totalCount
=
2
;
common.Error
error
=
3
;
...
...
csst_dfs_proto/common/ephem/ephem_pb2.py
View file @
9b992884
...
...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\x18\x63
ommon/ephem/ephem.proto
\x12\t
dfs.ephem
\x1a\x12\x63
ommon/error.proto
\"\x
d7\x1e\n\x0b
Gaia3Record
\x12\x12\n\n
SolutionId
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x44\x65
signation
\x18\x02
\x01
(
\t\x12\x10\n\x08
SourceId
\x18\x03
\x01
(
\x03\x12\x13\n\x0b
RandomIndex
\x18\x04
\x01
(
\x03\x12\x10\n\x08
RefEpoch
\x18\x05
\x01
(
\x01\x12\n\n\x02
Ra
\x18\x06
\x01
(
\x01\x12\x0f\n\x07
RaError
\x18\x07
\x01
(
\x01\x12\x0b\n\x03\x44\x65\x63\x18\x08
\x01
(
\x01\x12\x10\n\x08\x44\x65\x63\x45
rror
\x18\t
\x01
(
\x01\x12\x10\n\x08
Parallax
\x18\n
\x01
(
\x01\x12\x15\n\r
ParallaxError
\x18\x0b
\x01
(
\x01\x12\x19\n\x11
ParallaxOverError
\x18\x0c
\x01
(
\x01\x12\n\n\x02
Pm
\x18\r
\x01
(
\x01\x12\x0c\n\x04
Pmra
\x18\x0e
\x01
(
\x01\x12\x11\n\t
PmraError
\x18\x0f
\x01
(
\x01\x12\r\n\x05
Pmdec
\x18\x10
\x01
(
\x01\x12\x12\n\n
PmdecError
\x18\x11
\x01
(
\x01\x12\x11\n\t
RaDecCorr
\x18\x12
\x01
(
\x01\x12\x16\n\x0e
RaParallaxCorr
\x18\x13
\x01
(
\x01\x12\x12\n\n
RaPmraCorr
\x18\x14
\x01
(
\x01\x12\x13\n\x0b
RaPmdecCorr
\x18\x15
\x01
(
\x01\x12\x17\n\x0f\x44\x65\x63
ParallaxCorr
\x18\x16
\x01
(
\x01\x12\x13\n\x0b\x44\x65\x63
PmraCorr
\x18\x17
\x01
(
\x01\x12\x14\n\x0c\x44\x65\x63
PmdecCorr
\x18\x18
\x01
(
\x01\x12\x18\n\x10
ParallaxPmraCorr
\x18\x19
\x01
(
\x01\x12\x19\n\x11
ParallaxPmdecCorr
\x18\x1a
\x01
(
\x01\x12\x15\n\r
PmraPmdecCorr
\x18\x1b
\x01
(
\x01\x12\x19\n\x11\x41
strometricNObsAl
\x18\x1c
\x01
(
\x03\x12\x19\n\x11\x41
strometricNObsAc
\x18\x1d
\x01
(
\x03\x12\x1d\n\x15\x41
strometricNGoodObsAl
\x18\x1e
\x01
(
\x03\x12\x1c\n\x14\x41
strometricNBadObsAl
\x18\x1f
\x01
(
\x03\x12\x18\n\x10\x41
strometricGofAl
\x18
\x01
(
\x01\x12\x19\n\x11\x41
strometricChi2Al
\x18
!
\x01
(
\x01\x12\x1e\n\x16\x41
strometricExcessNoise
\x18\"
\x01
(
\x01\x12
!
\n\x19\x41
strometricExcessNoiseSig
\x18
#
\x01
(
\x01\x12\x1f\n\x17\x41
strometricParamsSolved
\x18
$
\x01
(
\x03\x12\x1e\n\x16\x41
strometricPrimaryFlag
\x18
%
\x01
(
\x05\x12\x1d\n\x15
NuEffUsedInAstrometry
\x18
&
\x01
(
\x01\x12\x14\n\x0c
Pseudocolour
\x18\'
\x01
(
\x01\x12\x19\n\x11
PseudocolourError
\x18
(
\x01
(
\x01\x12\x1a\n\x12
RaPseudocolourCorr
\x18
)
\x01
(
\x01\x12\x1b\n\x13\x44\x65\x63
PseudocolourCorr
\x18
*
\x01
(
\x01\x12
\n\x18
ParallaxPseudocolourCorr
\x18
+
\x01
(
\x01\x12\x1c\n\x14
PmraPseudocolourCorr
\x18
,
\x01
(
\x01\x12\x1d\n\x15
PmdecPseudocolourCorr
\x18
-
\x01
(
\x01\x12\"\n\x1a\x41
strometricMatchedTransits
\x18
.
\x01
(
\x03\x12\x1d\n\x15
VisibilityPeriodsUsed
\x18
/
\x01
(
\x03\x12\x1d\n\x15\x41
strometricSigma5dMax
\x18\x30
\x01
(
\x01\x12\x17\n\x0f
MatchedTransits
\x18\x31
\x01
(
\x03\x12\x1a\n\x12
NewMatchedTransits
\x18\x32
\x01
(
\x03\x12\x1e\n\x16
MatchedTransitsRemoved
\x18\x33
\x01
(
\x03\x12\x1f\n\x17
IpdGofHarmonicAmplitude
\x18\x34
\x01
(
\x01\x12\x1b\n\x13
IpdGofHarmonicPhase
\x18\x35
\x01
(
\x01\x12\x18\n\x10
IpdFracMultiPeak
\x18\x36
\x01
(
\x03\x12\x15\n\r
IpdFracOddWin
\x18\x37
\x01
(
\x03\x12\x0c\n\x04
Ruwe
\x18\x38
\x01
(
\x01\x12\x1f\n\x17
ScanDirectionStrengthK1
\x18\x39
\x01
(
\x01\x12\x1f\n\x17
ScanDirectionStrengthK2
\x18
:
\x01
(
\x01\x12\x1f\n\x17
ScanDirectionStrengthK3
\x18
;
\x01
(
\x01\x12\x1f\n\x17
ScanDirectionStrengthK4
\x18
<
\x01
(
\x01\x12\x1b\n\x13
ScanDirectionMeanK1
\x18
=
\x01
(
\x01\x12\x1b\n\x13
ScanDirectionMeanK2
\x18
>
\x01
(
\x01\x12\x1b\n\x13
ScanDirectionMeanK3
\x18
?
\x01
(
\x01\x12\x1b\n\x13
ScanDirectionMeanK4
\x18
@
\x01
(
\x01\x12\x18\n\x10\x44
uplicatedSource
\x18\x41
\x01
(
\x05\x12\x11\n\t
PhotGNObs
\x18\x42
\x01
(
\x03\x12\x15\n\r
PhotGMeanFlux
\x18\x43
\x01
(
\x01\x12\x1a\n\x12
PhotGMeanFluxError
\x18\x44
\x01
(
\x01\x12\x1e\n\x16
PhotGMeanFluxOverError
\x18\x45
\x01
(
\x01\x12\x14\n\x0c
PhotGMeanMag
\x18\x46
\x01
(
\x01\x12\x12\n\n
PhotBpNObs
\x18
G
\x01
(
\x03\x12\x16\n\x0e
PhotBpMeanFlux
\x18
H
\x01
(
\x01\x12\x1b\n\x13
PhotBpMeanFluxError
\x18
I
\x01
(
\x01\x12\x1f\n\x17
PhotBpMeanFluxOverError
\x18
J
\x01
(
\x01\x12\x15\n\r
PhotBpMeanMag
\x18
K
\x01
(
\x01\x12\x12\n\n
PhotRpNObs
\x18
L
\x01
(
\x03\x12\x16\n\x0e
PhotRpMeanFlux
\x18
M
\x01
(
\x01\x12\x1b\n\x13
PhotRpMeanFluxError
\x18
N
\x01
(
\x01\x12\x1f\n\x17
PhotRpMeanFluxOverError
\x18
O
\x01
(
\x01\x12\x15\n\r
PhotRpMeanMag
\x18
P
\x01
(
\x01\x12\x1c\n\x14
PhotBpRpExcessFactor
\x18
Q
\x01
(
\x01\x12
#
\n\x1b
PhotBpNContaminatedTransits
\x18
R
\x01
(
\x01\x12\x1e\n\x16
PhotBpNBlendedTransits
\x18
S
\x01
(
\x01\x12
#
\n\x1b
PhotRpNContaminatedTransits
\x18
T
\x01
(
\x01\x12\x1e\n\x16
PhotRpNBlendedTransits
\x18
U
\x01
(
\x01\x12\x14\n\x0c
PhotProcMode
\x18
V
\x01
(
\x01\x12\x0c\n\x04\x42
pRp
\x18
W
\x01
(
\x01\x12\x0b\n\x03\x42
pG
\x18
X
\x01
(
\x01\x12\x0b\n\x03
GRp
\x18
Y
\x01
(
\x01\x12\x16\n\x0e
RadialVelocity
\x18
Z
\x01
(
\x01\x12\x1b\n\x13
RadialVelocityError
\x18
[
\x01
(
\x01\x12\x14\n\x0c
RvMethodUsed
\x18\\
\x01
(
\x01\x12\x14\n\x0c
RvNbTransits
\x18
]
\x01
(
\x01\x12\x1d\n\x15
RvNbDeblendedTransits
\x18
^
\x01
(
\x01\x12\x1f\n\x17
RvVisibilityPeriodsUsed
\x18
_
\x01
(
\x01\x12\x1c\n\x14
RvExpectedSigToNoise
\x18
`
\x01
(
\x01\x12\x19\n\x11
RvRenormalisedGof
\x18\x61
\x01
(
\x01\x12\x15\n\r
RvChisqPvalue
\x18\x62
\x01
(
\x01\x12\x16\n\x0e
RvTimeDuration
\x18\x63
\x01
(
\x01\x12\x19\n\x11
RvAmplitudeRobust
\x18\x64
\x01
(
\x01\x12\x16\n\x0e
RvTemplateTeff
\x18\x65
\x01
(
\x01\x12\x16\n\x0e
RvTemplateLogg
\x18\x66
\x01
(
\x01\x12\x15\n\r
RvTemplateFeH
\x18
g
\x01
(
\x01\x12\x18\n\x10
RvAtmParamOrigin
\x18
h
\x01
(
\x01\x12\x0e\n\x06
Vbroad
\x18
i
\x01
(
\x01\x12\x13\n\x0b
VbroadError
\x18
j
\x01
(
\x01\x12\x18\n\x10
VbroadNbTransits
\x18
k
\x01
(
\x01\x12\x0f\n\x07
GrvsMag
\x18
l
\x01
(
\x01\x12\x14\n\x0c
GrvsMagError
\x18
m
\x01
(
\x01\x12\x19\n\x11
GrvsMagNbTransits
\x18
n
\x01
(
\x01\x12\x19\n\x11
RvsSpecSigToNoise
\x18
o
\x01
(
\x01\x12\x18\n\x10
PhotVariableFlag
\x18
p
\x01
(
\t\x12\t\n\x01
L
\x18
q
\x01
(
\x01\x12\t\n\x01\x42\x18
r
\x01
(
\x01\x12\x0e\n\x06\x45\x63
lLon
\x18
s
\x01
(
\x01\x12\x0e\n\x06\x45\x63
lLat
\x18
t
\x01
(
\x01\x12\x17\n\x0f
InQsoCandidates
\x18
u
\x01
(
\x05\x12\x1a\n\x12
InGalaxyCandidates
\x18
v
\x01
(
\x05\x12\x15\n\r
NonSingleStar
\x18
w
\x01
(
\x03\x12\x17\n\x0f
HasXpContinuous
\x18
x
\x01
(
\x05\x12\x14\n\x0c
HasXpSampled
\x18
y
\x01
(
\x05\x12\x0e\n\x06
HasRvs
\x18
z
\x01
(
\x05\x12\x1a\n\x12
HasEpochPhotometry
\x18
{
\x01
(
\x05\x12\x12\n\n
HasEpochRv
\x18
|
\x01
(
\x05\x12\x16\n\x0e
HasMcmcGspphot
\x18
}
\x01
(
\x05\x12\x12\n\n
HasMcmcMsc
\x18
~
\x01
(
\x05\x12\x19\n\x11
InAndromedaSurvey
\x18\x7f
\x01
(
\x05\x12\"\n\x19\x43
lassprobDscCombmodQuasar
\x18\x80\x01
\x01
(
\x01\x12\"\n\x19\x43
lassprobDscCombmodGalaxy
\x18\x81\x01
\x01
(
\x01\x12
\n\x17\x43
lassprobDscCombmodStar
\x18\x82\x01
\x01
(
\x01\x12\x14\n\x0b
TeffGspphot
\x18\x83\x01
\x01
(
\x01\x12\x19\n\x10
TeffGspphotLower
\x18\x84\x01
\x01
(
\x01\x12\x19\n\x10
TeffGspphotUpper
\x18\x85\x01
\x01
(
\x01\x12\x14\n\x0b
LoggGspphot
\x18\x86\x01
\x01
(
\x01\x12\x19\n\x10
LoggGspphotLower
\x18\x87\x01
\x01
(
\x01\x12\x19\n\x10
LoggGspphotUpper
\x18\x88\x01
\x01
(
\x01\x12\x12\n\t
MhGspphot
\x18\x89\x01
\x01
(
\x01\x12\x17\n\x0e
MhGspphotLower
\x18\x8a\x01
\x01
(
\x01\x12\x17\n\x0e
MhGspphotUpper
\x18\x8b\x01
\x01
(
\x01\x12\x18\n\x0f\x44
istanceGspphot
\x18\x8c\x01
\x01
(
\x01\x12\x1d\n\x14\x44
istanceGspphotLower
\x18\x8d\x01
\x01
(
\x01\x12\x1d\n\x14\x44
istanceGspphotUpper
\x18\x8e\x01
\x01
(
\x01\x12\x15\n\x0c\x41
zeroGspphot
\x18\x8f\x01
\x01
(
\x01\x12\x1a\n\x11\x41
zeroGspphotLower
\x18\x90\x01
\x01
(
\x01\x12\x1a\n\x11\x41
zeroGspphotUpper
\x18\x91\x01
\x01
(
\x01\x12\x12\n\t
AgGspphot
\x18\x92\x01
\x01
(
\x01\x12\x17\n\x0e\x41
gGspphotLower
\x18\x93\x01
\x01
(
\x01\x12\x17\n\x0e\x41
gGspphotUpper
\x18\x94\x01
\x01
(
\x01\x12\x18\n\x0f\x45\x62
pminrpGspphot
\x18\x95\x01
\x01
(
\x01\x12\x1d\n\x14\x45\x62
pminrpGspphotLower
\x18\x96\x01
\x01
(
\x01\x12\x1d\n\x14\x45\x62
pminrpGspphotUpper
\x18\x97\x01
\x01
(
\x01\x12\x17\n\x0e
LibnameGspphot
\x18\x98\x01
\x01
(
\t\x12\x10\n\x07
NS8HIdx
\x18\x99\x01
\x01
(
\x05\x12\x11\n\x08
NS16HIdx
\x18\x9a\x01
\x01
(
\x05\x12\x11\n\x08
NS32HIdx
\x18\x9b\x01
\x01
(
\x05\x12\x11\n\x08
NS64HIdx
\x18\x9c\x01
\x01
(
\x05\x12\x10\n\x07\x46
ileIdx
\x18\x9d\x01
\x01
(
\x05\"\x8e\x01\n\x12\x45
phemSearchRequest
\x12\n\n\x02
ra
\x18\x01
\x01
(
\x01\x12\x0b\n\x03\x64\x65\x63\x18\x02
\x01
(
\x01\x12\x0e\n\x06
radius
\x18\x03
\x01
(
\x01\x12\x0f\n\x07\x63
olumns
\x18\x04
\x01
(
\t\x12\x0e\n\x06
minMag
\x18\x05
\x01
(
\x01\x12\x0e\n\x06
maxMag
\x18\x06
\x01
(
\x01\x12\x0f\n\x07
obstime
\x18\x07
\x01
(
\x03\x12\r\n\x05
limit
\x18\x08
\x01
(
\x03\"
i
\n\x13
Gaia3SearchResponse
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x0f\n\x07
records
\x18\x04
\x01
(
\x0c\x32\x62\n\x0e\x45
phemSearchSrv
\x12
P
\n\x0b
Gaia3Search
\x12\x1d
.dfs.ephem.EphemSearchRequest
\x1a\x1e
.dfs.ephem.Gaia3
SearchResponse
\"\x00\x30\x01\x42
#Z!cnlab.net/csst/proto/common/ephemb
\x06
proto3'
)
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\x18\x63
ommon/ephem/ephem.proto
\x12\t
dfs.ephem
\x1a\x12\x63
ommon/error.proto
\"\x
80\x01\n\r
SearchRequest
\x12
<
\n\n
conditions
\x18\x01
\x03
(
\x0b\x32
(.dfs.ephem.SearchRequest.ConditionsEntry
\x1a\x31\n\x0f\x43
onditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
d
\n\x0e
SearchResponse
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x0f\n\x07
records
\x18\x04
\x01
(
\x0c\x32
S
\n\x0e\x45
phemSearchSrv
\x12\x41\n\x06
Search
\x12\x18
.dfs.ephem.SearchRequest
\x1a\x19
.dfs.ephem.
SearchResponse
\"\x00\x30\x01\x42
#Z!cnlab.net/csst/proto/common/ephemb
\x06
proto3'
)
_builder
.
BuildMessageAndEnumDescriptors
(
DESCRIPTOR
,
globals
())
_builder
.
BuildTopDescriptorsAndMessages
(
DESCRIPTOR
,
'common.ephem.ephem_pb2'
,
globals
())
...
...
@@ -22,12 +22,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR
.
_options
=
None
DESCRIPTOR
.
_serialized_options
=
b
'Z!cnlab.net/csst/proto/common/ephem'
_GAIA3RECORD
.
_serialized_start
=
60
_GAIA3RECORD
.
_serialized_end
=
3987
_EPHEMSEARCHREQUEST
.
_serialized_start
=
3990
_EPHEMSEARCHREQUEST
.
_serialized_end
=
4132
_GAIA3SEARCHRESPONSE
.
_serialized_start
=
4134
_GAIA3SEARCHRESPONSE
.
_serialized_end
=
4239
_EPHEMSEARCHSRV
.
_serialized_start
=
4241
_EPHEMSEARCHSRV
.
_serialized_end
=
4339
_SEARCHREQUEST_CONDITIONSENTRY
.
_options
=
None
_SEARCHREQUEST_CONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_SEARCHREQUEST
.
_serialized_start
=
60
_SEARCHREQUEST
.
_serialized_end
=
188
_SEARCHREQUEST_CONDITIONSENTRY
.
_serialized_start
=
139
_SEARCHREQUEST_CONDITIONSENTRY
.
_serialized_end
=
188
_SEARCHRESPONSE
.
_serialized_start
=
190
_SEARCHRESPONSE
.
_serialized_end
=
290
_EPHEMSEARCHSRV
.
_serialized_start
=
292
_EPHEMSEARCHSRV
.
_serialized_end
=
375
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/common/ephem/ephem_pb2_grpc.py
View file @
9b992884
...
...
@@ -14,17 +14,17 @@ class EphemSearchSrvStub(object):
Args:
channel: A grpc.Channel.
"""
self
.
Gaia3
Search
=
channel
.
unary_stream
(
'/dfs.ephem.EphemSearchSrv/
Gaia3
Search'
,
request_serializer
=
common_dot_ephem_dot_ephem__pb2
.
Ephem
SearchRequest
.
SerializeToString
,
response_deserializer
=
common_dot_ephem_dot_ephem__pb2
.
Gaia3
SearchResponse
.
FromString
,
self
.
Search
=
channel
.
unary_stream
(
'/dfs.ephem.EphemSearchSrv/Search'
,
request_serializer
=
common_dot_ephem_dot_ephem__pb2
.
SearchRequest
.
SerializeToString
,
response_deserializer
=
common_dot_ephem_dot_ephem__pb2
.
SearchResponse
.
FromString
,
)
class
EphemSearchSrvServicer
(
object
):
"""Missing associated documentation comment in .proto file."""
def
Gaia3
Search
(
self
,
request
,
context
):
def
Search
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
...
...
@@ -33,10 +33,10 @@ class EphemSearchSrvServicer(object):
def
add_EphemSearchSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'
Gaia3
Search'
:
grpc
.
unary_stream_rpc_method_handler
(
servicer
.
Gaia3
Search
,
request_deserializer
=
common_dot_ephem_dot_ephem__pb2
.
Ephem
SearchRequest
.
FromString
,
response_serializer
=
common_dot_ephem_dot_ephem__pb2
.
Gaia3
SearchResponse
.
SerializeToString
,
'Search'
:
grpc
.
unary_stream_rpc_method_handler
(
servicer
.
Search
,
request_deserializer
=
common_dot_ephem_dot_ephem__pb2
.
SearchRequest
.
FromString
,
response_serializer
=
common_dot_ephem_dot_ephem__pb2
.
SearchResponse
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
...
...
@@ -49,7 +49,7 @@ class EphemSearchSrv(object):
"""Missing associated documentation comment in .proto file."""
@
staticmethod
def
Gaia3
Search
(
request
,
def
Search
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
...
...
@@ -59,8 +59,8 @@ class EphemSearchSrv(object):
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_stream
(
request
,
target
,
'/dfs.ephem.EphemSearchSrv/
Gaia3
Search'
,
common_dot_ephem_dot_ephem__pb2
.
Ephem
SearchRequest
.
SerializeToString
,
common_dot_ephem_dot_ephem__pb2
.
Gaia3
SearchResponse
.
FromString
,
return
grpc
.
experimental
.
unary_stream
(
request
,
target
,
'/dfs.ephem.EphemSearchSrv/Search'
,
common_dot_ephem_dot_ephem__pb2
.
SearchRequest
.
SerializeToString
,
common_dot_ephem_dot_ephem__pb2
.
SearchResponse
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
csst_dfs_proto/common/jwt/jwt.proto
deleted
100644 → 0
View file @
462fb961
syntax
=
"proto3"
;
package
dfs
.
jwt
;
option
go_package
=
"cnlab.net/csst/proto/common/auth"
;
import
"common/error.proto"
;
service
AuthSrv
{
rpc
MakeAccessToken
(
Request
)
returns
(
Response
)
{
}
rpc
DelUserAccessToken
(
Request
)
returns
(
Response
)
{
}
rpc
GetCachedAccessToken
(
Request
)
returns
(
Response
)
{
}
}
message
Request
{
int64
userId
=
1
;
string
userName
=
2
;
string
token
=
3
;
}
message
Response
{
bool
success
=
1
;
common.Error
error
=
2
;
string
token
=
3
;
}
\ No newline at end of file
csst_dfs_proto/common/oauth2/oauth2.proto
deleted
100644 → 0
View file @
462fb961
syntax
=
"proto3"
;
package
dfs
.
common.oauth2
;
option
go_package
=
"cnlab.net/csst/proto/common/oauth2"
;
service
Oauth2
{
rpc
Authorize
(
AuthorizeRequest
)
returns
(
AuthorizeResponse
)
{}
rpc
Token
(
TokenRequest
)
returns
(
TokenResponse
)
{}
rpc
Revoke
(
RevokeRequest
)
returns
(
RevokeResponse
)
{}
rpc
Introspect
(
IntrospectRequest
)
returns
(
IntrospectResponse
)
{}
}
message
Token
{
string
access_token
=
1
;
string
token_type
=
2
;
string
refresh_token
=
3
;
int64
expires_at
=
4
;
repeated
string
scopes
=
5
;
// metadata associated with the token
map
<
string
,
string
>
metadata
=
6
;
}
message
AuthorizeRequest
{
// code, token (not supported)
string
response_type
=
1
;
string
client_id
=
2
;
repeated
string
scopes
=
3
;
string
state
=
4
;
string
redirect_uri
=
5
;
}
message
AuthorizeResponse
{
string
code
=
1
;
string
state
=
2
;
// implicit response
Token
token
=
3
;
}
message
TokenRequest
{
string
client_id
=
1
;
string
client_secret
=
2
;
string
code
=
3
;
// password (not supported), client_credentials, authorization_code, refresh_token
string
grant_type
=
4
;
string
redirect_uri
=
5
;
string
refresh_token
=
6
;
// scopes can be added for client_credentials request
repeated
string
scopes
=
7
;
// metadata to be stored with a token that's generated
map
<
string
,
string
>
metadata
=
8
;
}
message
TokenResponse
{
Token
token
=
1
;
}
message
RevokeRequest
{
// revoke access token
string
access_token
=
1
;
// revoke via refresh token
string
refresh_token
=
2
;
}
message
RevokeResponse
{
}
message
IntrospectRequest
{
string
access_token
=
1
;
}
message
IntrospectResponse
{
Token
token
=
1
;
bool
active
=
2
;
}
csst_dfs_proto/db/__init__.py
0 → 100644
View file @
9b992884
csst_dfs_proto/db/db.proto
0 → 100644
View file @
9b992884
syntax
=
"proto3"
;
package
dfs
.
db
;
option
go_package
=
"cnlab.net/csst/proto/db"
;
import
"common/error.proto"
;
service
DBSrv
{
rpc
Find
(
FindReq
)
returns
(
stream
FindResp
)
{}
rpc
Get
(
GetReq
)
returns
(
GetResp
)
{}
rpc
Write
(
WriteReq
)
returns
(
WriteResp
)
{}
rpc
WriteStream
(
stream
WriteStreamReq
)
returns
(
WriteResp
)
{}
rpc
Update
(
UpdateReq
)
returns
(
UpdateResp
)
{}
}
message
FindReq
{
map
<
string
,
string
>
conditions
=
1
;
}
message
FindResp
{
bool
success
=
1
;
int32
totalCount
=
2
;
common.Error
error
=
3
;
bytes
records
=
4
;
}
message
GetReq
{
map
<
string
,
string
>
conditions
=
1
;
}
message
GetResp
{
repeated
string
columns
=
1
;
bytes
record
=
2
;
}
message
WriteReq
{
map
<
string
,
string
>
conditions
=
1
;
}
message
WriteStreamReq
{
map
<
string
,
string
>
conditions
=
1
;
bytes
data
=
2
;
}
message
WriteResp
{
bool
success
=
1
;
common.Error
error
=
2
;
repeated
string
columns
=
3
;
bytes
record
=
4
;
}
message
UpdateReq
{
map
<
string
,
string
>
conditions
=
1
;
}
message
UpdateResp
{
bool
success
=
1
;
common.Error
error
=
2
;
}
\ No newline at end of file
csst_dfs_proto/db/db_pb2.py
0 → 100644
View file @
9b992884
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: db/db.proto
"""Generated protocol buffer code."""
from
google.protobuf.internal
import
builder
as
_builder
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
descriptor_pool
as
_descriptor_pool
from
google.protobuf
import
symbol_database
as
_symbol_database
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
..common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\x0b\x64\x62
/db.proto
\x12\x06\x64\x66
s.db
\x1a\x12\x63
ommon/error.proto
\"
q
\n\x07\x46
indReq
\x12\x33\n\n
conditions
\x18\x01
\x03
(
\x0b\x32\x1f
.dfs.db.FindReq.ConditionsEntry
\x1a\x31\n\x0f\x43
onditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
^
\n\x08\x46
indResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x0f\n\x07
records
\x18\x04
\x01
(
\x0c\"
o
\n\x06
GetReq
\x12\x32\n\n
conditions
\x18\x01
\x03
(
\x0b\x32\x1e
.dfs.db.GetReq.ConditionsEntry
\x1a\x31\n\x0f\x43
onditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
*
\n\x07
GetResp
\x12\x0f\n\x07\x63
olumns
\x18\x01
\x03
(
\t\x12\x0e\n\x06
record
\x18\x02
\x01
(
\x0c\"
s
\n\x08
WriteReq
\x12\x34\n\n
conditions
\x18\x01
\x03
(
\x0b\x32
.dfs.db.WriteReq.ConditionsEntry
\x1a\x31\n\x0f\x43
onditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x8d\x01\n\x0e
WriteStreamReq
\x12
:
\n\n
conditions
\x18\x01
\x03
(
\x0b\x32
&.dfs.db.WriteStreamReq.ConditionsEntry
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\x1a\x31\n\x0f\x43
onditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
[
\n\t
WriteResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x0f\n\x07\x63
olumns
\x18\x03
\x03
(
\t\x12\x0e\n\x06
record
\x18\x04
\x01
(
\x0c\"
u
\n\t
UpdateReq
\x12\x35\n\n
conditions
\x18\x01
\x03
(
\x0b\x32
!.dfs.db.UpdateReq.ConditionsEntry
\x1a\x31\n\x0f\x43
onditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
;
\n\n
UpdateResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\x81\x02\n\x05\x44\x42
Srv
\x12
-
\n\x04\x46
ind
\x12\x0f
.dfs.db.FindReq
\x1a\x10
.dfs.db.FindResp
\"\x00\x30\x01\x12
(
\n\x03
Get
\x12\x0e
.dfs.db.GetReq
\x1a\x0f
.dfs.db.GetResp
\"\x00\x12
.
\n\x05
Write
\x12\x10
.dfs.db.WriteReq
\x1a\x11
.dfs.db.WriteResp
\"\x00\x12
<
\n\x0b
WriteStream
\x12\x16
.dfs.db.WriteStreamReq
\x1a\x11
.dfs.db.WriteResp
\"\x00
(
\x01\x12\x31\n\x06
Update
\x12\x11
.dfs.db.UpdateReq
\x1a\x12
.dfs.db.UpdateResp
\"\x00\x42\x19
Z
\x17\x63
nlab.net/csst/proto/dbb
\x06
proto3'
)
_builder
.
BuildMessageAndEnumDescriptors
(
DESCRIPTOR
,
globals
())
_builder
.
BuildTopDescriptorsAndMessages
(
DESCRIPTOR
,
'db.db_pb2'
,
globals
())
if
_descriptor
.
_USE_C_DESCRIPTORS
==
False
:
DESCRIPTOR
.
_options
=
None
DESCRIPTOR
.
_serialized_options
=
b
'Z
\027
cnlab.net/csst/proto/db'
_FINDREQ_CONDITIONSENTRY
.
_options
=
None
_FINDREQ_CONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_GETREQ_CONDITIONSENTRY
.
_options
=
None
_GETREQ_CONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_WRITEREQ_CONDITIONSENTRY
.
_options
=
None
_WRITEREQ_CONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_WRITESTREAMREQ_CONDITIONSENTRY
.
_options
=
None
_WRITESTREAMREQ_CONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_UPDATEREQ_CONDITIONSENTRY
.
_options
=
None
_UPDATEREQ_CONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_FINDREQ
.
_serialized_start
=
43
_FINDREQ
.
_serialized_end
=
156
_FINDREQ_CONDITIONSENTRY
.
_serialized_start
=
107
_FINDREQ_CONDITIONSENTRY
.
_serialized_end
=
156
_FINDRESP
.
_serialized_start
=
158
_FINDRESP
.
_serialized_end
=
252
_GETREQ
.
_serialized_start
=
254
_GETREQ
.
_serialized_end
=
365
_GETREQ_CONDITIONSENTRY
.
_serialized_start
=
107
_GETREQ_CONDITIONSENTRY
.
_serialized_end
=
156
_GETRESP
.
_serialized_start
=
367
_GETRESP
.
_serialized_end
=
409
_WRITEREQ
.
_serialized_start
=
411
_WRITEREQ
.
_serialized_end
=
526
_WRITEREQ_CONDITIONSENTRY
.
_serialized_start
=
107
_WRITEREQ_CONDITIONSENTRY
.
_serialized_end
=
156
_WRITESTREAMREQ
.
_serialized_start
=
529
_WRITESTREAMREQ
.
_serialized_end
=
670
_WRITESTREAMREQ_CONDITIONSENTRY
.
_serialized_start
=
107
_WRITESTREAMREQ_CONDITIONSENTRY
.
_serialized_end
=
156
_WRITERESP
.
_serialized_start
=
672
_WRITERESP
.
_serialized_end
=
763
_UPDATEREQ
.
_serialized_start
=
765
_UPDATEREQ
.
_serialized_end
=
882
_UPDATEREQ_CONDITIONSENTRY
.
_serialized_start
=
107
_UPDATEREQ_CONDITIONSENTRY
.
_serialized_end
=
156
_UPDATERESP
.
_serialized_start
=
884
_UPDATERESP
.
_serialized_end
=
943
_DBSRV
.
_serialized_start
=
946
_DBSRV
.
_serialized_end
=
1203
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/db/db_pb2_grpc.py
0 → 100644
View file @
9b992884
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import
grpc
from
.
import
db_pb2
as
db_dot_db__pb2
class
DBSrvStub
(
object
):
"""Missing associated documentation comment in .proto file."""
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_stream
(
'/dfs.db.DBSrv/Find'
,
request_serializer
=
db_dot_db__pb2
.
FindReq
.
SerializeToString
,
response_deserializer
=
db_dot_db__pb2
.
FindResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.db.DBSrv/Get'
,
request_serializer
=
db_dot_db__pb2
.
GetReq
.
SerializeToString
,
response_deserializer
=
db_dot_db__pb2
.
GetResp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/dfs.db.DBSrv/Write'
,
request_serializer
=
db_dot_db__pb2
.
WriteReq
.
SerializeToString
,
response_deserializer
=
db_dot_db__pb2
.
WriteResp
.
FromString
,
)
self
.
WriteStream
=
channel
.
stream_unary
(
'/dfs.db.DBSrv/WriteStream'
,
request_serializer
=
db_dot_db__pb2
.
WriteStreamReq
.
SerializeToString
,
response_deserializer
=
db_dot_db__pb2
.
WriteResp
.
FromString
,
)
self
.
Update
=
channel
.
unary_unary
(
'/dfs.db.DBSrv/Update'
,
request_serializer
=
db_dot_db__pb2
.
UpdateReq
.
SerializeToString
,
response_deserializer
=
db_dot_db__pb2
.
UpdateResp
.
FromString
,
)
class
DBSrvServicer
(
object
):
"""Missing associated documentation comment in .proto file."""
def
Find
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
WriteStream
(
self
,
request_iterator
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Update
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_DBSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_stream_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
db_dot_db__pb2
.
FindReq
.
FromString
,
response_serializer
=
db_dot_db__pb2
.
FindResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
db_dot_db__pb2
.
GetReq
.
FromString
,
response_serializer
=
db_dot_db__pb2
.
GetResp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
db_dot_db__pb2
.
WriteReq
.
FromString
,
response_serializer
=
db_dot_db__pb2
.
WriteResp
.
SerializeToString
,
),
'WriteStream'
:
grpc
.
stream_unary_rpc_method_handler
(
servicer
.
WriteStream
,
request_deserializer
=
db_dot_db__pb2
.
WriteStreamReq
.
FromString
,
response_serializer
=
db_dot_db__pb2
.
WriteResp
.
SerializeToString
,
),
'Update'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Update
,
request_deserializer
=
db_dot_db__pb2
.
UpdateReq
.
FromString
,
response_serializer
=
db_dot_db__pb2
.
UpdateResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.db.DBSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
DBSrv
(
object
):
"""Missing associated documentation comment in .proto file."""
@
staticmethod
def
Find
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
insecure
=
False
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_stream
(
request
,
target
,
'/dfs.db.DBSrv/Find'
,
db_dot_db__pb2
.
FindReq
.
SerializeToString
,
db_dot_db__pb2
.
FindResp
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Get
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
insecure
=
False
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.db.DBSrv/Get'
,
db_dot_db__pb2
.
GetReq
.
SerializeToString
,
db_dot_db__pb2
.
GetResp
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Write
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
insecure
=
False
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.db.DBSrv/Write'
,
db_dot_db__pb2
.
WriteReq
.
SerializeToString
,
db_dot_db__pb2
.
WriteResp
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
WriteStream
(
request_iterator
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
insecure
=
False
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
stream_unary
(
request_iterator
,
target
,
'/dfs.db.DBSrv/WriteStream'
,
db_dot_db__pb2
.
WriteStreamReq
.
SerializeToString
,
db_dot_db__pb2
.
WriteResp
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Update
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
insecure
=
False
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.db.DBSrv/Update'
,
db_dot_db__pb2
.
UpdateReq
.
SerializeToString
,
db_dot_db__pb2
.
UpdateResp
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
csst_dfs_proto/facility/level0prc/level0prc.proto
View file @
9b992884
...
...
@@ -11,13 +11,13 @@ service Level0PrcSrv {
}
message
Level0PrcRecord
{
int64
id
=
1
;
string
level0_id
=
2
;
int64
level0_id
=
2
;
string
pipeline_id
=
3
;
string
prc_module
=
4
;
string
params_file_path
=
5
;
string
run_id
=
5
;
int32
prc_status
=
6
;
string
prc_time
=
7
;
string
r
es
ult_file_path
=
8
;
string
m
es
sage
=
8
;
}
message
FindLevel0PrcReq
{
...
...
csst_dfs_proto/facility/level0prc/level0prc_pb2.py
View file @
9b992884
...
...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\"
facility/level0prc/level0prc.proto
\x12\x16\x64\x66
s.facility.level0prc
\x1a\x12\x63
ommon/error.proto
\"\x
b3
\x01\n\x0f
Level0PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\
t
\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x
18
\n\x
10
params_file_path
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x
18
\n\x
10
result_file_path
\x18\x08
\x01
(
\t\"\xf3\x01\n\x10\x46
indLevel0PrcReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\x05\x12
W
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
=.dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x90\x01\n\x11\x46
indLevel0PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x38\n\x07
records
\x18\x04
\x03
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
L
\n\x11
WriteLevel0PrcReq
\x12\x37\n\x06
record
\x18\x01
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
|
\n\x12
WriteLevel0PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x37\n\x06
record
\x18\x03
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xc0\x02\n\x0c
Level0PrcSrv
\x12
]
\n\x04\x46
ind
\x12
(.dfs.facility.level0prc.FindLevel0PrcReq
\x1a
).dfs.facility.level0prc.FindLevel0PrcResp
\"\x00\x12
`
\n\x05
Write
\x12
).dfs.facility.level0prc.WriteLevel0PrcReq
\x1a
*.dfs.facility.level0prc.WriteLevel0PrcResp
\"\x00\x12
o
\n\x10
UpdateProcStatus
\x12
+.dfs.facility.level0prc.UpdateProcStatusReq
\x1a
,.dfs.facility.level0prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level0prcb
\x06
proto3'
)
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\"
facility/level0prc/level0prc.proto
\x12\x16\x64\x66
s.facility.level0prc
\x1a\x12\x63
ommon/error.proto
\"\x
a0
\x01\n\x0f
Level0PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\
x03
\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x
0e
\n\x
06
run_id
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x
0f
\n\x
07
message
\x18\x08
\x01
(
\t\"\xf3\x01\n\x10\x46
indLevel0PrcReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\x05\x12
W
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
=.dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x90\x01\n\x11\x46
indLevel0PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x38\n\x07
records
\x18\x04
\x03
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
L
\n\x11
WriteLevel0PrcReq
\x12\x37\n\x06
record
\x18\x01
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
|
\n\x12
WriteLevel0PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x37\n\x06
record
\x18\x03
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xc0\x02\n\x0c
Level0PrcSrv
\x12
]
\n\x04\x46
ind
\x12
(.dfs.facility.level0prc.FindLevel0PrcReq
\x1a
).dfs.facility.level0prc.FindLevel0PrcResp
\"\x00\x12
`
\n\x05
Write
\x12
).dfs.facility.level0prc.WriteLevel0PrcReq
\x1a
*.dfs.facility.level0prc.WriteLevel0PrcResp
\"\x00\x12
o
\n\x10
UpdateProcStatus
\x12
+.dfs.facility.level0prc.UpdateProcStatusReq
\x1a
,.dfs.facility.level0prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level0prcb
\x06
proto3'
)
_builder
.
BuildMessageAndEnumDescriptors
(
DESCRIPTOR
,
globals
())
_builder
.
BuildTopDescriptorsAndMessages
(
DESCRIPTOR
,
'facility.level0prc.level0prc_pb2'
,
globals
())
...
...
@@ -25,21 +25,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_options
=
None
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_LEVEL0PRCRECORD
.
_serialized_start
=
83
_LEVEL0PRCRECORD
.
_serialized_end
=
2
62
_FINDLEVEL0PRCREQ
.
_serialized_start
=
26
5
_FINDLEVEL0PRCREQ
.
_serialized_end
=
508
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_start
=
45
4
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_end
=
508
_FINDLEVEL0PRCRESP
.
_serialized_start
=
511
_FINDLEVEL0PRCRESP
.
_serialized_end
=
6
55
_WRITELEVEL0PRCREQ
.
_serialized_start
=
6
57
_WRITELEVEL0PRCREQ
.
_serialized_end
=
7
33
_WRITELEVEL0PRCRESP
.
_serialized_start
=
7
35
_WRITELEVEL0PRCRESP
.
_serialized_end
=
8
59
_UPDATEPROCSTATUSREQ
.
_serialized_start
=
8
61
_UPDATEPROCSTATUSREQ
.
_serialized_end
=
91
0
_UPDATEPROCSTATUSRESP
.
_serialized_start
=
912
_UPDATEPROCSTATUSRESP
.
_serialized_end
=
9
81
_LEVEL0PRCSRV
.
_serialized_start
=
9
84
_LEVEL0PRCSRV
.
_serialized_end
=
1
304
_LEVEL0PRCRECORD
.
_serialized_end
=
2
43
_FINDLEVEL0PRCREQ
.
_serialized_start
=
2
4
6
_FINDLEVEL0PRCREQ
.
_serialized_end
=
489
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_start
=
4
3
5
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_end
=
489
_FINDLEVEL0PRCRESP
.
_serialized_start
=
492
_FINDLEVEL0PRCRESP
.
_serialized_end
=
6
36
_WRITELEVEL0PRCREQ
.
_serialized_start
=
6
38
_WRITELEVEL0PRCREQ
.
_serialized_end
=
7
14
_WRITELEVEL0PRCRESP
.
_serialized_start
=
7
16
_WRITELEVEL0PRCRESP
.
_serialized_end
=
8
40
_UPDATEPROCSTATUSREQ
.
_serialized_start
=
8
42
_UPDATEPROCSTATUSREQ
.
_serialized_end
=
8
91
_UPDATEPROCSTATUSRESP
.
_serialized_start
=
893
_UPDATEPROCSTATUSRESP
.
_serialized_end
=
9
62
_LEVEL0PRCSRV
.
_serialized_start
=
9
65
_LEVEL0PRCSRV
.
_serialized_end
=
1
285
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/facility/level1prc/level1prc.proto
View file @
9b992884
...
...
@@ -14,10 +14,10 @@ message Level1PrcRecord {
int64
level1_id
=
2
;
string
pipeline_id
=
3
;
string
prc_module
=
4
;
string
params_file_path
=
5
;
string
run_id
=
5
;
int32
prc_status
=
6
;
string
prc_time
=
7
;
string
r
es
ult_file_path
=
8
;
string
m
es
sage
=
8
;
}
message
FindLevel1PrcReq
{
...
...
csst_dfs_proto/facility/level1prc/level1prc_pb2.py
View file @
9b992884
...
...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\"
facility/level1prc/level1prc.proto
\x12\x16\x64\x66
s.facility.level1prc
\x1a\x12\x63
ommon/error.proto
\"\x
b3
\x01\n\x0f
Level1PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x
18
\n\x
10
params_file_path
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x
18
\n\x
10
result_file_path
\x18\x08
\x01
(
\t\"\xf3\x01\n\x10\x46
indLevel1PrcReq
\x12\x11\n\t
level1_id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\x05\x12
W
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
=.dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x90\x01\n\x11\x46
indLevel1PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x38\n\x07
records
\x18\x04
\x03
(
\x0b\x32\'
.dfs.facility.level1prc.Level1PrcRecord
\"
L
\n\x11
WriteLevel1PrcReq
\x12\x37\n\x06
record
\x18\x01
\x01
(
\x0b\x32\'
.dfs.facility.level1prc.Level1PrcRecord
\"
|
\n\x12
WriteLevel1PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x37\n\x06
record
\x18\x03
\x01
(
\x0b\x32\'
.dfs.facility.level1prc.Level1PrcRecord
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xc0\x02\n\x0c
Level1PrcSrv
\x12
]
\n\x04\x46
ind
\x12
(.dfs.facility.level1prc.FindLevel1PrcReq
\x1a
).dfs.facility.level1prc.FindLevel1PrcResp
\"\x00\x12
`
\n\x05
Write
\x12
).dfs.facility.level1prc.WriteLevel1PrcReq
\x1a
*.dfs.facility.level1prc.WriteLevel1PrcResp
\"\x00\x12
o
\n\x10
UpdateProcStatus
\x12
+.dfs.facility.level1prc.UpdateProcStatusReq
\x1a
,.dfs.facility.level1prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level1prcb
\x06
proto3'
)
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\"
facility/level1prc/level1prc.proto
\x12\x16\x64\x66
s.facility.level1prc
\x1a\x12\x63
ommon/error.proto
\"\x
a0
\x01\n\x0f
Level1PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x
0e
\n\x
06
run_id
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x
0f
\n\x
07
message
\x18\x08
\x01
(
\t\"\xf3\x01\n\x10\x46
indLevel1PrcReq
\x12\x11\n\t
level1_id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\x05\x12
W
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
=.dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x90\x01\n\x11\x46
indLevel1PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x38\n\x07
records
\x18\x04
\x03
(
\x0b\x32\'
.dfs.facility.level1prc.Level1PrcRecord
\"
L
\n\x11
WriteLevel1PrcReq
\x12\x37\n\x06
record
\x18\x01
\x01
(
\x0b\x32\'
.dfs.facility.level1prc.Level1PrcRecord
\"
|
\n\x12
WriteLevel1PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x37\n\x06
record
\x18\x03
\x01
(
\x0b\x32\'
.dfs.facility.level1prc.Level1PrcRecord
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xc0\x02\n\x0c
Level1PrcSrv
\x12
]
\n\x04\x46
ind
\x12
(.dfs.facility.level1prc.FindLevel1PrcReq
\x1a
).dfs.facility.level1prc.FindLevel1PrcResp
\"\x00\x12
`
\n\x05
Write
\x12
).dfs.facility.level1prc.WriteLevel1PrcReq
\x1a
*.dfs.facility.level1prc.WriteLevel1PrcResp
\"\x00\x12
o
\n\x10
UpdateProcStatus
\x12
+.dfs.facility.level1prc.UpdateProcStatusReq
\x1a
,.dfs.facility.level1prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level1prcb
\x06
proto3'
)
_builder
.
BuildMessageAndEnumDescriptors
(
DESCRIPTOR
,
globals
())
_builder
.
BuildTopDescriptorsAndMessages
(
DESCRIPTOR
,
'facility.level1prc.level1prc_pb2'
,
globals
())
...
...
@@ -25,21 +25,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_options
=
None
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_options
=
b
'8
\001
'
_LEVEL1PRCRECORD
.
_serialized_start
=
83
_LEVEL1PRCRECORD
.
_serialized_end
=
2
62
_FINDLEVEL1PRCREQ
.
_serialized_start
=
26
5
_FINDLEVEL1PRCREQ
.
_serialized_end
=
508
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_start
=
45
4
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_end
=
508
_FINDLEVEL1PRCRESP
.
_serialized_start
=
511
_FINDLEVEL1PRCRESP
.
_serialized_end
=
6
55
_WRITELEVEL1PRCREQ
.
_serialized_start
=
6
57
_WRITELEVEL1PRCREQ
.
_serialized_end
=
7
33
_WRITELEVEL1PRCRESP
.
_serialized_start
=
7
35
_WRITELEVEL1PRCRESP
.
_serialized_end
=
8
59
_UPDATEPROCSTATUSREQ
.
_serialized_start
=
8
61
_UPDATEPROCSTATUSREQ
.
_serialized_end
=
91
0
_UPDATEPROCSTATUSRESP
.
_serialized_start
=
912
_UPDATEPROCSTATUSRESP
.
_serialized_end
=
9
81
_LEVEL1PRCSRV
.
_serialized_start
=
9
84
_LEVEL1PRCSRV
.
_serialized_end
=
1
304
_LEVEL1PRCRECORD
.
_serialized_end
=
2
43
_FINDLEVEL1PRCREQ
.
_serialized_start
=
2
4
6
_FINDLEVEL1PRCREQ
.
_serialized_end
=
489
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_start
=
4
3
5
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_serialized_end
=
489
_FINDLEVEL1PRCRESP
.
_serialized_start
=
492
_FINDLEVEL1PRCRESP
.
_serialized_end
=
6
36
_WRITELEVEL1PRCREQ
.
_serialized_start
=
6
38
_WRITELEVEL1PRCREQ
.
_serialized_end
=
7
14
_WRITELEVEL1PRCRESP
.
_serialized_start
=
7
16
_WRITELEVEL1PRCRESP
.
_serialized_end
=
8
40
_UPDATEPROCSTATUSREQ
.
_serialized_start
=
8
42
_UPDATEPROCSTATUSREQ
.
_serialized_end
=
8
91
_UPDATEPROCSTATUSRESP
.
_serialized_start
=
893
_UPDATEPROCSTATUSRESP
.
_serialized_end
=
9
62
_LEVEL1PRCSRV
.
_serialized_start
=
9
65
_LEVEL1PRCSRV
.
_serialized_end
=
1
285
# @@protoc_insertion_point(module_scope)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment