This commit is contained in:
kevgliss 2016-12-20 14:26:39 -08:00 committed by GitHub
parent f7c795c7f6
commit cdcae4efb0
2 changed files with 5 additions and 0 deletions

View File

@ -175,6 +175,7 @@ class CertificateOutputSchema(LemurOutputSchema):
authority = fields.Nested(AuthorityNestedOutputSchema)
roles = fields.Nested(RoleNestedOutputSchema, many=True)
endpoints = fields.Nested(EndpointNestedOutputSchema, many=True, missing=[])
replaced = fields.Nested(CertificateNestedOutputSchema, many=True)
class CertificateUploadInputSchema(CertificateCreationSchema):

View File

@ -99,6 +99,7 @@ class CertificatesList(AuthenticatedResource):
"name": "*.test.example.net"
}],
"replaces": [],
"replaced": [],
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
"roles": [{
"id": 464,
@ -520,6 +521,7 @@ class Certificates(AuthenticatedResource):
"name": "*.test.example.net"
}],
"replaces": [],
"replaced": [],
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
"roles": [{
"id": 464,
@ -720,6 +722,7 @@ class NotificationCertificatesList(AuthenticatedResource):
"name": "*.test.example.net"
}],
"replaces": [],
"replaced": [],
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
"roles": [{
"id": 464,
@ -824,6 +827,7 @@ class CertificatesReplacementsList(AuthenticatedResource):
"name": "*.test.example.net"
}],
"replaces": [],
"replaced": [],
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
"roles": [{
"id": 464,