You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.3 KiB
Django/Jinja
68 lines
1.3 KiB
Django/Jinja
export default { config };
|
|
|
|
var config = {
|
|
"pep-credentials" : "{{pep_credentials}}",
|
|
"hosts" : [
|
|
{
|
|
"host": "cdn-pep",
|
|
"audience" : "d4science-cdn",
|
|
"allow-basic-auth" : false,
|
|
"paths" : [
|
|
{
|
|
"name" : "Default Resource",
|
|
"path" : "^/config/d4s-cdn/.+$",
|
|
"methods" : [
|
|
{
|
|
"method" : "GET",
|
|
"scopes" : ["get"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "Default Resource",
|
|
"path" : "^/visuals/d4s-cdn/.*$",
|
|
"methods" : [
|
|
{
|
|
"method" : "GET"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "Default Resource",
|
|
"path" : "^/d4s-cdn/.+$",
|
|
"methods" : [
|
|
{
|
|
"method" : "GET"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "Default Resource",
|
|
"path" : "^/services/d4s-cdn/.*$",
|
|
"methods" : [
|
|
{
|
|
"method" : "OPTIONS"
|
|
},
|
|
{
|
|
"method" : "POST"
|
|
},
|
|
{
|
|
"method" : "HEAD"
|
|
},
|
|
{
|
|
"method" : "PUT"
|
|
},
|
|
{
|
|
"method" : "DELETE"
|
|
},
|
|
{
|
|
"method" : "GET"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|