Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
3c6b41f1
Commit
3c6b41f1
authored
3 years ago
by
sknirmalkar89
Browse files
Options
Download
Patches
Plain Diff
SB-29303: Portal : Unable to download the certificate issue fix: signatory list is removed
parent
fd62f68a
master
login-changes
loginRegisterBtn
prasath-release-5.1.0
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
upstream/release-5.1.0-vdn
release-5.2.0-inquiry_RC1
release-5.1.0_RC3
release-5.1.0_RC2
release-5.1.0_RC1
release-5.0.2
release-5.0.2_RC1
release-5.0.1
release-5.0.1_RC1
release-5.0.0
release-5.0.0_RC5
release-5.0.0_RC4
release-5.0.0_RC3
release-5.0.0_RC2
release-5.0.0_RC1
release-4.10.2_RC1
release-4.10.1
release-4.10.1_RC2
release-4.10.1_RC1
release-4.10.0
release-4.10.0_RC1
release-4.9.0
release-4.9.0_RC4
release-4.9.0_RC3
release-4.9.0_RC2
release-4.9.0_RC1
release-4.8.0
release-4.8.0_RC8
release-4.8.0_RC7
release-4.8.0_RC6
release-4.8.0_RC5
release-4.8.0_RC4
release-4.8.0_RC3
release-4.8.0_RC2
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
kubernetes/helm_charts/sunbird-RC/registry/schemas/TrainingCertificate.json
+1
-1
...arts/sunbird-RC/registry/schemas/TrainingCertificate.json
kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md
+24
-0
kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md
kubernetes/helm_charts/sunbird-RC/registry/templates/credential_template.json
+27
-0
...ts/sunbird-RC/registry/templates/credential_template.json
kubernetes/helm_charts/sunbird-RC/registry/templates/sunbird_context.json
+63
-0
...charts/sunbird-RC/registry/templates/sunbird_context.json
kubernetes/helm_charts/sunbird-RC/registry/templates/v1_context.json
+237
-0
...helm_charts/sunbird-RC/registry/templates/v1_context.json
with
352 additions
and
1 deletion
+352
-1
kubernetes/helm_charts/sunbird-RC/registry/schemas/TrainingCertificate.json
+
1
−
1
View file @
3c6b41f1
...
...
@@ -69,6 +69,6 @@
],
"systemFields"
:
[
"osCreatedAt"
,
"osUpdatedAt"
,
"osCreatedBy"
,
"osUpdatedBy"
],
"enableLogin"
:
false
,
"credentialTemplate"
:
"https://raw.githubusercontent.com/
sknirmalkar89/sunbird-rc-core/main/sunbird-specs/
template.json"
"credentialTemplate"
:
"https://raw.githubusercontent.com/
project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/credential_
template.json"
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md
0 → 100644
+
24
−
0
View file @
3c6b41f1
# Training Certificate
Training Certificate is used to store all relevant certifcates of the sunbird
Training Details below
## Training Name
## Training Id
## Name
## Public Key
## Url
## designation
## Image
## identity
# signatory
# Issuer
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/registry/templates/credential_template.json
0 → 100644
+
27
−
0
View file @
3c6b41f1
{
"@context"
:
[
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/v1_context.json"
,
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/sunbird_context.json"
],
"type"
:
[
"VerifiableCredential"
],
"id"
:
"did:sunbird:{{osid}}"
,
"issuanceDate"
:
"{{osCreatedAt}}"
,
"credentialSubject"
:
{
"type"
:
"{{certificateLabel}}"
,
"name"
:
"{{recipient.name}}"
,
"trainingName"
:
"{{training.name}}"
,
"trainingId"
:
"{{training.id}}"
},
"issuer"
:{
"id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#Issuer"
,
"type"
:[
"Issuer"
],
"name"
:
"{{issuer.name}}"
,
"url"
:
"{{issuer.url}}"
,
"publicKey"
:[
"{{issuer.kid}}"
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/registry/templates/sunbird_context.json
0 → 100644
+
63
−
0
View file @
3c6b41f1
{
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"TrainingCertificate"
:
{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#TrainingCertificate"
,
"@context"
:
{
"id"
:
"@id"
,
"@version"
:
1.1
,
"@protected"
:
true
,
"TrainingCertificate"
:
"schema:Text"
}
},
"trainingName"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#trainingName"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"trainingId"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#trainingId"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"name"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#name"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"publicKey"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#publicKey"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"url"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#url"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"designation"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#designation"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"image"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#image"
,
"@context"
:
{
"name"
:
"schema:Text"
}
},
"identity"
:{
"@id"
:
"https://raw.githubusercontent.com/project-sunbird/sunbird-devops/release-4.8.0/kubernetes/helm_charts/sunbird-RC/registry/templates/READ.md#identity"
,
"@context"
:
{
"name"
:
"schema:Text"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/registry/templates/v1_context.json
0 → 100644
+
237
−
0
View file @
3c6b41f1
{
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"VerifiableCredential"
:
{
"@id"
:
"https://www.w3.org/2018/credentials#VerifiableCredential"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"cred"
:
"https://www.w3.org/2018/credentials#"
,
"sec"
:
"https://w3id.org/security#"
,
"xsd"
:
"http://www.w3.org/2001/XMLSchema#"
,
"credentialSchema"
:
{
"@id"
:
"cred:credentialSchema"
,
"@type"
:
"@id"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"cred"
:
"https://www.w3.org/2018/credentials#"
,
"JsonSchemaValidator2018"
:
"cred:JsonSchemaValidator2018"
}
},
"credentialStatus"
:
{
"@id"
:
"cred:credentialStatus"
,
"@type"
:
"@id"
},
"credentialSubject"
:
{
"@id"
:
"cred:credentialSubject"
,
"@type"
:
"@id"
},
"evidence"
:
{
"@id"
:
"cred:evidence"
,
"@type"
:
"@id"
},
"expirationDate"
:
{
"@id"
:
"cred:expirationDate"
,
"@type"
:
"xsd:dateTime"
},
"holder"
:
{
"@id"
:
"cred:holder"
,
"@type"
:
"@id"
},
"issued"
:
{
"@id"
:
"cred:issued"
,
"@type"
:
"xsd:dateTime"
},
"issuer"
:
{
"@id"
:
"cred:issuer"
,
"@type"
:
"@id"
},
"issuanceDate"
:
{
"@id"
:
"cred:issuanceDate"
,
"@type"
:
"xsd:dateTime"
},
"proof"
:
{
"@id"
:
"sec:proof"
,
"@type"
:
"@id"
,
"@container"
:
"@graph"
},
"refreshService"
:
{
"@id"
:
"cred:refreshService"
,
"@type"
:
"@id"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"cred"
:
"https://www.w3.org/2018/credentials#"
,
"ManualRefreshService2018"
:
"cred:ManualRefreshService2018"
}
},
"termsOfUse"
:
{
"@id"
:
"cred:termsOfUse"
,
"@type"
:
"@id"
},
"validFrom"
:
{
"@id"
:
"cred:validFrom"
,
"@type"
:
"xsd:dateTime"
},
"validUntil"
:
{
"@id"
:
"cred:validUntil"
,
"@type"
:
"xsd:dateTime"
}
}
},
"VerifiablePresentation"
:
{
"@id"
:
"https://www.w3.org/2018/credentials#VerifiablePresentation"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"cred"
:
"https://www.w3.org/2018/credentials#"
,
"sec"
:
"https://w3id.org/security#"
,
"holder"
:
{
"@id"
:
"cred:holder"
,
"@type"
:
"@id"
},
"proof"
:
{
"@id"
:
"sec:proof"
,
"@type"
:
"@id"
,
"@container"
:
"@graph"
},
"verifiableCredential"
:
{
"@id"
:
"cred:verifiableCredential"
,
"@type"
:
"@id"
,
"@container"
:
"@graph"
}
}
},
"EcdsaSecp256k1Signature2019"
:
{
"@id"
:
"https://w3id.org/security#EcdsaSecp256k1Signature2019"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"xsd"
:
"http://www.w3.org/2001/XMLSchema#"
,
"challenge"
:
"sec:challenge"
,
"created"
:
{
"@id"
:
"http://purl.org/dc/terms/created"
,
"@type"
:
"xsd:dateTime"
},
"domain"
:
"sec:domain"
,
"expires"
:
{
"@id"
:
"sec:expiration"
,
"@type"
:
"xsd:dateTime"
},
"jws"
:
"sec:jws"
,
"nonce"
:
"sec:nonce"
,
"proofPurpose"
:
{
"@id"
:
"sec:proofPurpose"
,
"@type"
:
"@vocab"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"assertionMethod"
:
{
"@id"
:
"sec:assertionMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
},
"authentication"
:
{
"@id"
:
"sec:authenticationMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
}
}
},
"proofValue"
:
"sec:proofValue"
,
"verificationMethod"
:
{
"@id"
:
"sec:verificationMethod"
,
"@type"
:
"@id"
}
}
},
"EcdsaSecp256r1Signature2019"
:
{
"@id"
:
"https://w3id.org/security#EcdsaSecp256r1Signature2019"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"xsd"
:
"http://www.w3.org/2001/XMLSchema#"
,
"challenge"
:
"sec:challenge"
,
"created"
:
{
"@id"
:
"http://purl.org/dc/terms/created"
,
"@type"
:
"xsd:dateTime"
},
"domain"
:
"sec:domain"
,
"expires"
:
{
"@id"
:
"sec:expiration"
,
"@type"
:
"xsd:dateTime"
},
"jws"
:
"sec:jws"
,
"nonce"
:
"sec:nonce"
,
"proofPurpose"
:
{
"@id"
:
"sec:proofPurpose"
,
"@type"
:
"@vocab"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"assertionMethod"
:
{
"@id"
:
"sec:assertionMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
},
"authentication"
:
{
"@id"
:
"sec:authenticationMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
}
}
},
"proofValue"
:
"sec:proofValue"
,
"verificationMethod"
:
{
"@id"
:
"sec:verificationMethod"
,
"@type"
:
"@id"
}
}
},
"Ed25519Signature2018"
:
{
"@id"
:
"https://w3id.org/security#Ed25519Signature2018"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"xsd"
:
"http://www.w3.org/2001/XMLSchema#"
,
"challenge"
:
"sec:challenge"
,
"created"
:
{
"@id"
:
"http://purl.org/dc/terms/created"
,
"@type"
:
"xsd:dateTime"
},
"domain"
:
"sec:domain"
,
"expires"
:
{
"@id"
:
"sec:expiration"
,
"@type"
:
"xsd:dateTime"
},
"jws"
:
"sec:jws"
,
"nonce"
:
"sec:nonce"
,
"proofPurpose"
:
{
"@id"
:
"sec:proofPurpose"
,
"@type"
:
"@vocab"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"assertionMethod"
:
{
"@id"
:
"sec:assertionMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
},
"authentication"
:
{
"@id"
:
"sec:authenticationMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
}
}
},
"proofValue"
:
"sec:proofValue"
,
"verificationMethod"
:
{
"@id"
:
"sec:verificationMethod"
,
"@type"
:
"@id"
}
}
},
"RsaSignature2018"
:
{
"@id"
:
"https://w3id.org/security#RsaSignature2018"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"challenge"
:
"sec:challenge"
,
"created"
:
{
"@id"
:
"http://purl.org/dc/terms/created"
,
"@type"
:
"xsd:dateTime"
},
"domain"
:
"sec:domain"
,
"expires"
:
{
"@id"
:
"sec:expiration"
,
"@type"
:
"xsd:dateTime"
},
"jws"
:
"sec:jws"
,
"nonce"
:
"sec:nonce"
,
"proofPurpose"
:
{
"@id"
:
"sec:proofPurpose"
,
"@type"
:
"@vocab"
,
"@context"
:
{
"@version"
:
1.1
,
"@protected"
:
true
,
"id"
:
"@id"
,
"type"
:
"@type"
,
"sec"
:
"https://w3id.org/security#"
,
"assertionMethod"
:
{
"@id"
:
"sec:assertionMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
},
"authentication"
:
{
"@id"
:
"sec:authenticationMethod"
,
"@type"
:
"@id"
,
"@container"
:
"@set"
}
}
},
"proofValue"
:
"sec:proofValue"
,
"verificationMethod"
:
{
"@id"
:
"sec:verificationMethod"
,
"@type"
:
"@id"
}
}
},
"proof"
:
{
"@id"
:
"https://w3id.org/security#proof"
,
"@type"
:
"@id"
,
"@container"
:
"@graph"
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets