-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
230 lines (226 loc) · 7.18 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
//-------------------------------------------------------------------------------------
//-- File. . . : config.js
//-- Bevat . . : Template voor de configuratie voor respec
//-- Gebaseerd op https://github.com/Geonovum/respec/wiki
//-- Deze file moet worden neergezet in de root-directory van de
//-- betreffende standaard.
//-- Door. . . : Frank Terpstra/Jan van Gelder
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//-- Log . . . : 20180615 - FT - Initiele versie
//-- . . . . . : 20181106 - JvG - verplaatst naar root KP-APIs
//-- . . . . . : 20200417 - JvG - Definitieve versie van 04-02-2020 gemaakt
//-------------------------------------------------------------------------------------
//-- Postprocessors -------------------------------------------------------------------
//-- haalt gh-pages weg aan het eind van een URL
//-- Stopt zodra de eerste is gevonden (want komt maar 1x voor)
//-- JvG 2019-11-12
function custGHPG(respecConfig)
{
var tags = document.getElementsByTagName("a");
var srch = "gh-pages";
var slen = srch.length;
var i;
for (i = 0; i < tags.length; i++)
{
if(tags[i].href.indexOf(srch) > -1)
{
console.log(tags[i].href + " is gevonden");
tags[i].href = tags[i].href.substring(0, tags[i].href.length - slen);
console.log(tags[i].href + " is aangepast");
break;
}
}
}
var respecConfig =
{
specStatus: "GN-WV",
specType: "HR",
pubDomain: "api",
//publishDate: "2022-01-13",
//previousPublishDate: "2022-01-13",
//previousMaturity: "GN-CV",
editors:
[
{
name: "Frank Terpstra",
company: "Geonovum",
companyURL: "https://www.geonovum.nl/",
},
],
authors:
[
{
name: "Bart Zwemmer",
company: "GIS Specialisten",
companyURL: "https://www.gisspecialisten.nl/",
},
{
name: "Jonathan Pritchard",
company: "IIC Technologies",
companyURL: "https://www.iictechnologies.com/",
},
{
name: "Ahmad Ayubi",
company: "Ahmad Ayubi",
companyURL: "https://www.ahmadayubi.com/",
},
{
name: "Bert Meerman",
company: "Purple Polar Bear",
companyURL: "http://https://www.purplepolarbear.nl/",
},
{
name: "Bill Roberts",
company: "Swirrl",
companyURL: "https://www.swirrl.com/",
},
],
shortName: "Testbed-spatial-APIs",
github: "https://github.com/geonovum/testbed-spatial-APIs",
issueBase: "https://github.com/geonovum/testbed-spatial-APIs/issues/",
localBiblio: {
"OAuth2": {
href: "https://tools.ietf.org/html/rfc6749",
title:
"The OAuth 2.0 Authorization Framework",
authors: ["D. Hardt"],
date: "October 2012",
publisher: "The Internet Engineering Task Force",
},
"Expert": {
href: "https://www.forumstandaardisatie.nl/sites/bfs/files/Expertadvies%20OAuth%202.0.pdf",
title:
"Expertadvies OAuth 2.0",
authors: ["P. Dam"],
date: "24 februari 2017",
publisher: "Forum Standaardisatie",
},
"JWT": {
href: "https://tools.ietf.org/html/rfc7519",
title:
"JSON Web Token (JWT)",
authors: ["M. Jones, J. Bradley, N. Sakimura"],
date: "may 2015",
publisher: "IETF",
},
"JWS": {
href: "https://tools.ietf.org/html/rfc7515",
title:
"JSON Web Signature (JWS)",
authors: ["M. Jones, J. Bradley, N. Sakimura"],
date: "may 2015",
publisher: "IETF",
},
"JWE": {
href: "https://tools.ietf.org/html/rfc7516",
title:
"JSON Web Encryption (JWE)",
authors: ["M. Jones, J. Hildebrand"],
date: "may 2015",
publisher: "IETF",
},
"JWK": {
href: "https://tools.ietf.org/html/rfc7517",
title:
"JSON Web Key (JWK))",
authors: ["M. Jones"],
date: "may 2015",
publisher: "IETF",
},
"JWA": {
href: "https://tools.ietf.org/html/rfc7518",
title:
"JSON Web Algorithms (JWA)",
authors: ["M. Jones"],
date: "may 2015",
publisher: "IETF",
},
"PKCE": {
href: "https://tools.ietf.org/html/rfc7636",
title:
"Proof Key for Code Exchange by OAuth Public Clients",
authors: ["N. Sakimura, J. Bradley, N. Agarwal"],
date: "september 2015",
publisher: "IETF",
},
"Introspection": {
href: "https://tools.ietf.org/html/rfc7662",
title:
"OAuth 2.0 Token Introspection",
authors: ["J. Richer"],
date: "October 2015",
publisher: "IETF",
},
"OpenID.Core": {
href: "https://openid.net/specs/openid-connect-core-1_0.html",
title:
"OpenID Connect Core 1.0",
authors: ["N. Sakimura, J. Bradley, M. Jones, B. de Medeiros, C. Mortimore"],
date: "November 8 2014",
publisher: "OpenID foundation",
},
"iGOV.OpenID": {
href: "https://openid.net/specs/openid-igov-openid-connect-1_0.html",
title:
"International Government Assurance Profile (iGov) for OpenID Connect 1.0 - draft 3",
authors: ["M. Varley, P. Grassi"],
date: "October 5 2018",
publisher: "OpenID foundation",
},
"iGOV.OAuth2": {
href: "https://openid.net/specs/openid-igov-oauth2-1_0.html",
title:
"International Government Assurance Profile (iGov) for OAuth 2.0",
authors: ["J. Richer, M. Varley, P. Grassi"],
date: "October 5 2018",
publisher: "OpenID foundation",
},
"OpenID.Discovery": {
href: "https://openid.net/specs/openid-connect-discovery-1_0.html",
title:
"OpenID Connect Discovery 1.0",
authors: ["N. Sakimura, J. Bradley, M. Jones, E. Jay"],
date: "November 8 2014",
publisher: "OpenID foundation",
},
"I-D.ietf-oauth-pop-architecture": {
href: "https://tools.ietf.org/html/draft-ietf-oauth-pop-architecture-08",
title:
"OAuth 2.0 Proof-of-Possession (PoP) Security Architecture",
authors: ["P. Hunt, J. Richer, W. Mills, P. Mishra, H. Tschofenig"],
date: "July 8, 2016",
publisher: "IETF",
},
"HEART.OAuth2": {
href: "https://openid.net/specs/openid-heart-oauth2-1_0.html",
title:
"Health Relationship Trust Profile for OAuth 2.0",
authors: ["J. Richer"],
date: "April 25, 2017",
publisher: "OpenID foundation",
},
"JWS.JWE.Algs": {
href: "https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms",
title:
"IANA JSON Web Signatures and Encryption Algorithms registry",
authors: ["Jim Schaad, Jeff Hodges, Joe Hildebrand, Sean Turner"],
date: "",
publisher: "IANA",
},
"BCP195": {
href: "https://tools.ietf.org/html/bcp195",
title: "Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)",
authors: ["Y. Sheffer, R. Holz, P. Saint-Andre"],
date: "May 2015",
publisher: "IETF",
},
"HAL": {
href: "http://stateless.co/hal_specification.html",
title: "HAL - Hypertext Application Language",
authors: ["Mike Kelly"],
date: " 2013-09-18",
}
},
postProcess:[custGHPG],
};