Skip to content

Commit

Permalink
Updates to publish OASIS Specification (#576)
Browse files Browse the repository at this point in the history
* Updates to publish OASIS Specification

* Remove revision from os path component

OASIS Standards don't have revisions.

* Revert "Remove revision from os path component"

This reverts commit ca3c5df.

* Remove revision from os path component

OASIS Standards don't have revisions.

* Update ttl copyright and remove text below Previous stage links

* Map foaf: and ldp: prefixes to local files

Co-authored-by: Andrew Berezovskyi <[email protected]>
  • Loading branch information
Jim Amsden and berezovskyi authored Jul 27, 2022
1 parent 5243c4b commit 9f2afea
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 30 deletions.
16 changes: 10 additions & 6 deletions specs/am/architecture-management-shapes.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@
class="remove"
></script>
<script class="remove">
var status = "PS";
var status = "OS";
var revision = 1;

var wdBase = "https://oslc-op.github.io/oslc-specs/specs/am/";
var oasisBase = "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/";
var thisBase = wdBase;
if ("WD" !== status) {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
if (status == "OS") {
var thisBase = oasisBase + status.toLowerCase() + "/";
} else {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
}
}

var respecConfig = {
Expand All @@ -38,12 +42,12 @@
},
],

publishDate: "2021-09-30T12:00Z",
previousPublishDate: "2020-09-17",
previousMaturity: "PSD",
publishDate: "2022-07-11T12:00Z",
//previousPublishDate: "2021-09-30",
//previousMaturity: "PS",

thisVersion: thisBase + "architecture-management-shapes.html",
prevVersion: "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/psd01/architecture-management-shapes.html",
prevVersion: "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-shapes.html",
latestVersion: oasisBase + "architecture-management-shapes.html",
latestSpecVersion: "https://open-services.net/spec/am/latest",
edDraftURI: "https://open-services.net/spec/am/latest-draft",
Expand Down
12 changes: 6 additions & 6 deletions specs/am/architecture-management-shapes.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020 OASIS Open
# Copyright 2022 OASIS Open
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -30,12 +30,12 @@
rdfs:label "OSLC Architecture Management (AM) Constraints" ;
dcterms:description "All vocabulary URIs defined in the OSLC Architecture Management (AM) namespace."^^rdf:XMLLiteral ;
dcterms:publisher <https://open-services.net/about/> ;
dcterms:issued "2021-09-30"^^<http://www.w3.org/2001/XMLSchema#date> ;
dcterms:issued "2022-07-11"^^<http://www.w3.org/2001/XMLSchema#date> ;
dcterms:license <http://www.apache.org/licenses/LICENSE-2.0> ;
dcterms:source <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-shapes.ttl> ;
dcterms:isPartOf <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-spec.html> ;
dcterms:hasVersion "PS01" ;
dcterms:dateCopyrighted "2012-2021" .
dcterms:source <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/os/architecture-management-shapes.ttl> ;
dcterms:isPartOf <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/os/architecture-management-spec.html> ;
dcterms:hasVersion "OS" ;
dcterms:dateCopyrighted "2012-2022" .

:ResourceShape
a oslc:ResourceShape ;
Expand Down
16 changes: 10 additions & 6 deletions specs/am/architecture-management-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@
class="remove"
></script>
<script class="remove">
var status = "PS";
var status = "OS";
var revision = 1;

var wdBase = "https://oslc-op.github.io/oslc-specs/specs/am/";
var oasisBase = "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/";
var thisBase = wdBase;
if ("WD" !== status) {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
if (status == "OS") {
var thisBase = oasisBase + status.toLowerCase() + "/";
} else {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
}
}

var respecConfig = {
Expand All @@ -39,12 +43,12 @@
},
],

publishDate: "2021-09-30T12:00Z",
previousPublishDate: "2020-09-17",
previousMaturity: "PSD",
publishDate: "2022-07-11T12:00Z",
//previousPublishDate: "2021-09-30",
//previousMaturity: "PS",

thisVersion: thisBase + "architecture-management-spec.html",
prevVersion: "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/psd01/architecture-management-spec.html",
prevVersion: "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-spec.html",
latestVersion: oasisBase + "architecture-management-spec.html",
latestSpecVersion: "https://open-services.net/spec/am/latest",
edDraftURI: "https://open-services.net/spec/am/latest-draft",
Expand Down
16 changes: 10 additions & 6 deletions specs/am/architecture-management-vocab.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@
class="remove"
></script>
<script class="remove">
var status = "PS";
var status = "OS";
var revision = 1;

var wdBase = "https://oslc-op.github.io/oslc-specs/specs/am/";
var oasisBase = "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/";
var thisBase = wdBase;
if ("WD" !== status) {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
if (status == "OS") {
var thisBase = oasisBase + status.toLowerCase() + "/";
} else {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
}
}

var respecConfig = {
Expand All @@ -38,12 +42,12 @@
},
],

publishDate: "2021-09-30T12:00Z",
previousPublishDate: "2020-09-17",
previousMaturity: "PSD",
publishDate: "2022-07-11T12:00Z",
//previousPublishDate: "2021-09-30T",
//previousMaturity: "PS",

thisVersion: thisBase + "architecture-management-vocab.html",
prevVersion: "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/psd01/architecture-management-vocab.html",
prevVersion: "https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-vocab.html",
latestVersion: oasisBase + "architecture-management-vocab.html",
latestSpecVersion: "https://open-services.net/spec/am/latest",
edDraftURI: "https://open-services.net/spec/am/latest-draft",
Expand Down
12 changes: 6 additions & 6 deletions specs/am/architecture-management-vocab.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020 OASIS Open
# Copyright 2022 OASIS Open
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,12 +29,12 @@ oslc_am:
dcterms:description "All vocabulary URIs defined in the OSLC Architecture Management (AM) namespace."^^rdf:XMLLiteral ;
vann:preferredNamespacePrefix "oslc_am" ;
dcterms:publisher <https://open-services.net/about/> ;
dcterms:issued "2021-09-30"^^<http://www.w3.org/2001/XMLSchema#date> ;
dcterms:issued "2022-07-11"^^<http://www.w3.org/2001/XMLSchema#date> ;
dcterms:license <http://www.apache.org/licenses/LICENSE-2.0> ;
dcterms:source <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-vocab.ttl> ;
dcterms:isPartOf <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/ps01/architecture-management-spec.html> ;
dcterms:hasVersion "PS01" ;
dcterms:dateCopyrighted "2012-2021" .
dcterms:source <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/os/architecture-management-vocab.ttl> ;
dcterms:isPartOf <https://docs.oasis-open-projects.org/oslc-op/am/v3.0/os/architecture-management-spec.html> ;
dcterms:hasVersion "OS" ;
dcterms:dateCopyrighted "2012-2022" .


oslc_am:Resource
Expand Down

0 comments on commit 9f2afea

Please sign in to comment.