Skip to content

Commit 2ad543f

Browse files
authored
Merge pull request #620 from 1EdTech/develop
Publish
2 parents 7d6122b + 36c44cf commit 2ad543f

File tree

20 files changed

+2026
-8
lines changed

20 files changed

+2026
-8
lines changed

.github/workflows/deploy-cloud-run.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
--allow-unauthenticated
8888
--ingress=internal-and-cloud-load-balancing
8989
--port=4321
90+
--timeout=120
91+
--min-instances=1
9092
--set-env-vars ASTRO_BASE_PATH=${{ env.ASTRO_BASE_PATH }}
9193
--set-env-vars AUTH0_DOMAIN=${{ env.AUTH0_DOMAIN }}
9294
--set-env-vars AUTH0_CLIENT_ID=${{ env.AUTH0_CLIENT_ID }}

.github/workflows/publish_extensions_push.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Extenssions
1+
name: Publish Extensions
22

33
on:
44
# Triggers the workflow on push or pull request events but only for the develop branch
@@ -10,12 +10,34 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13+
find-lines-files:
14+
runs-on: ubuntu-latest
15+
outputs:
16+
files: ${{ steps.set-files.outputs.files }}
17+
steps:
18+
- uses: actions/checkout@v4
19+
- id: set-files
20+
run: |
21+
files=$(find extensions/ -type f -name "*.lines" | jq -R . | jq -cs .)
22+
echo "files=$files" >> $GITHUB_OUTPUT
23+
24+
process-lines-files:
25+
needs: find-lines-files
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
file: ${{ fromJson(needs.find-lines-files.outputs.files) }}
30+
steps:
31+
- uses: actions/checkout@v4
32+
- name: Sideload the lines file
33+
run: curl -H 'X-Api-Key:${{ secrets.MPS_API_KEY }}' -F 'file=@${{ matrix.file }}' https://mps.1edtech.org/upload
34+
continue-on-error: false
1335
publish:
1436
name: Publish to GH pages
1537
runs-on: ubuntu-latest
1638
steps:
1739
- name: Checkout develop
18-
uses: actions/checkout@v2
40+
uses: actions/checkout@v4
1941
with:
2042
ref: develop
2143
- name: Upload extensions from develop

.microsite

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2-
"title": "Open Badges",
3-
"description": "Share verified skills and achievements with learning providers and employers across multiple platforms.",
4-
"categories": {
5-
}
6-
}
7-
2+
"title": "Open Badges",
3+
"description": "Share verified skills and achievements with learning providers and employers across multiple platforms.",
4+
"categories": {
5+
"Extension": {
6+
"description": "Extensions are optional additions to the Open Badges standard that provide additional functionality or support for specific use cases. They are designed to be modular and can be implemented independently of the core standard.",
7+
"image": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOmxpbms9Imh0dHA6Ly93d3cub3JnLzIwMDAveGxpbmsiIHZlcnNpb249IjEuMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNjQgNjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGQ9Ik0zOS40NywzMC43NWMtOC44NiwzLjAyLTEyLjMwLDE0LjIxLTYuNjQsMjEuNjhjMy42LDQuNzgsMTAuMDMsNi43NjEsMTUuNzAsNC44MkM1NC4xMyw1NS4zNCw1OCw0OS45Miw1OCw0NCAgQzU4LDM0LjU2LDQ4LjQyLDI3LjY5LDM5LjQ3LDMwLjc1eiBNNDkuNSw0Ni41aC0zdjNjMCwzLjIyLTUsMy4yMi01LDB2LTNoLTMgYy0zLjIyLDAuMDItMy4yMi01LDAuMDItNWgzdi0zYzAtMy4yMiw1LTMuMjIsNSwwdjNoMyAgQzUyLjcyLDQxLjUsNTIuNzIsNDYuNSw0OS41LDQ2LjV6Ii8+PHBhdGggZD0iTTIyLDU0aDkuNTEgYy01LjI4LTYuNi00LjQwLTE2LjQ3LDEuOTUtMjIuMDQgYzUuNzYtNS4wNSwxNC41Ny01LjIyOSwyMC41NC0wLjQ1VjIyYzAtMy4zMS0yLjY5LTYtNi02aC02LjY4ICBjMC45Ni0yLjAxLDAuOS00LjM2LTAuMTYtNi4zMmMtMS43Ni0zLjI3LTUuOS00LjYtOS4yMy0yLjk3Yy0zLjQsMS42Ni00Ljg4LDUuODctMy4yNSw5LjI5SDIyYy0zLjMxLDAtNiwyLjY5LTYsNnY1LjY4ICBjLTMuMTYtMS41LTcuMDYtMC4zOC04LjkyLDIuNTljLTIuMDEsMy4xOS0xLjA3LDcuNTMsMi4xLDkuNjAxYzIuMDQsMS4zMiw0LjYyLDEuNSw2LjgyLDAuNDVWNDhDMTYsNTEuMzEsMTguNjksNTQsMjIsNTR6Ii8+PC9zdmc+"
8+
}
9+
}
10+
}

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ RUN if [ -f /app/src/content/content.config.ts ]; then \
1717
COPY --chown=astro:nodejs ob_v3p0/microsites /app/src/content/standards/
1818
COPY --chown=astro:nodejs .microsite /app/src/content/
1919

20+
# ACE Extension
21+
COPY --chown=astro:nodejs extensions/aceExtension/v1p0/microsite /app/src/content/standards/ace-extension
22+
23+
# Assessment Extension
24+
COPY --chown=astro:nodejs extensions/assessmentExtension/v2p0/microsite /app/src/content/standards/assessment-extension
25+
26+
# Issuer Accreditation Extension
27+
COPY --chown=astro:nodejs extensions/issuerAccreditationExtension/v2p0/microsite /app/src/content/standards/issuer-accreditation-extension
28+
2029
# The base image handles everything:
2130
# 1. Runtime processes the assets (transforms paths, copies assets)
2231
# 2. Starts the Astro server
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"@context": {
3+
"@protected": true,
4+
"id": "@id",
5+
"type": "@type",
6+
"ACEEndorsementSubject": {
7+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#ACEEndorsementSubject",
8+
"@context": {
9+
"@protected": true,
10+
"id": "@id",
11+
"type": "@type",
12+
"identifier": {
13+
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifier",
14+
"@container": "@set"
15+
},
16+
"version": {
17+
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version"
18+
},
19+
"minimumPassingScore": {
20+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#minimumPassingScore",
21+
"@container": "@set"
22+
},
23+
"creditRecommendations": {
24+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#creditRecommendations",
25+
"@container": "@set"
26+
}
27+
}
28+
},
29+
"ACECreditRecommendation": {
30+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#CreditRecommendation",
31+
"@context": {
32+
"@protected": true,
33+
"id": "@id",
34+
"type": "@type",
35+
"creditRecommendationId": {
36+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#creditRecommendationId"
37+
},
38+
"semesterHours": {
39+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#semesterHours",
40+
"@type": "https://www.w3.org/2001/XMLSchema#float"
41+
},
42+
"level": {
43+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#level"
44+
},
45+
"subject": {
46+
"@id": "https://purl.imsglobal.org/spec/vc/ob-ace/vocab.html#subject",
47+
"@type": "https://www.w3.org/2001/XMLSchema#string"
48+
}
49+
}
50+
}
51+
}
52+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<h3>EndorsementCredential</h3>
2+
<pre
3+
class="json example vc"
4+
data-schema="org.1edtech.ob.v3p0.endorsementcredential.class"
5+
data-source="CORE"
6+
data-allowadditionalproperties="true"
7+
title="Sample EndorsementCredential with ACE extension"
8+
>
9+
{
10+
"@context": [
11+
"https://www.w3.org/ns/credentials/v2",
12+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
13+
"https://purl.imsglobal.org/spec/ob/v3p0/extensions.json",
14+
"https://purl.imsglobal.org/spec/ob-ace/v1p0/context/context-1.0.0.json"
15+
],
16+
"id": "http://example.com/credentials/3527",
17+
"type": [
18+
"VerifiableCredential",
19+
"EndorsementCredential"
20+
],
21+
"name": "SDE endorsement",
22+
"issuer": {
23+
"id": "https://state.gov/issuers/565049",
24+
"type": ["Profile"],
25+
"name": "State Department of Education"
26+
},
27+
"validFrom": "2010-01-01T00:00:00Z",
28+
"validUntil": "2030-01-01T00:00:00Z",
29+
"credentialSubject": {
30+
"id": "https://1edtech.edu/issuers/565049",
31+
"type": ["EndorsementSubject", "ACEEndorsementSubject"],
32+
"endorsementComment": "Some notes about the credit recommendations.",
33+
"identifier": [{
34+
"type": ["IdentityObject"],
35+
"hashed": false,
36+
"identityType": "ext:ACEId",
37+
"identityHash": "ACE-123456"
38+
}],
39+
"minimumPassingScore": {
40+
"type": ["ResultDescription"],
41+
"name": "Passing Score",
42+
"resultType": "Percent",
43+
"requiredValue": "80"
44+
},
45+
"version": 1,
46+
"creditRecommendations": [
47+
{
48+
"type": ["ACECreditRecommendation"],
49+
"creditRecommendationId": "b7e8c2a1-4f3d-4e2b-9d6f-8a1c2e3f4b5a",
50+
"semesterHours": 12.0,
51+
"level": "LowerDivisionBaccalaureate",
52+
"subject": "Computer networking"
53+
},
54+
{
55+
"type": ["ACECreditRecommendation"],
56+
"creditRecommendationId": "a3f9d7c4-2b1e-4a6f-9e8d-7c6b5a4e3f2d",
57+
"semesterHours": 24.0,
58+
"level": "VocationalCertificate",
59+
"subject": "Computer networking"
60+
}
61+
],
62+
"alignment": [{
63+
"type": ["Alignment"],
64+
"targetDescription": "Robot software is a set of commands and procedures robots use to respond to input and perform autonomous tasks.",
65+
"targetName": "Robot Programming",
66+
"targetFramework": "Example Robotics Framework",
67+
"targetType": "CFItem",
68+
"targetUrl": "https://robotics-competencies.example.com/competencies/robot-programming"
69+
}, {
70+
"type": ["Alignment"],
71+
"targetName": "National Guide Link",
72+
"targetType": "ext:ACENationalGuideLink",
73+
"targetUrl": "https://example.com"
74+
}]
75+
},
76+
"credentialSchema": [
77+
{
78+
"id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_endorsementcredential_schema.json",
79+
"type": "1EdTechJsonSchemaValidator2019"
80+
},
81+
{
82+
"id": "https://purl.imsglobal.org/spec/ob-ace/v1p0/schema/ob_ace_v1p0_endorsementcredential_schema.json",
83+
"type": "1EdTechJsonSchemaValidator2019"
84+
}
85+
]
86+
}
87+
</pre>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"OB-ACE-10-ERRATA": {
3+
"title": "Open Badges American Council of Education (ACE) Extension v1.0: Errata",
4+
"href": "https://www.imsglobal.org/spec/ob-ace/v1p0/errata/"
5+
}
6+
}

0 commit comments

Comments
 (0)