policies generated by policy playground cannot be expanded
@lgblaumeiser ci sta già lavorando.
Dal 27/5/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Current Behavior
If I generate the simplest policy in the playground:
{
"@context": [
"http://www.w3.org/ns/odrl.jsonld",
"https://w3id.org/tractusx/edc/v0.0.1",
{
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
}
],
"@type": "PolicyDefinition",
"@id": "{{POLICY_ID}}",
"policy": {
"@type": "Set",
"permission": [
{
"action": "use",
"constraint": [
{
"leftOperand": "BusinessPartnerNumber",
"operator": "eq",
"rightOperand": "<bpnNumber>"
}
]
}
]
}
}
and I try to expand it on the JSON-LD Playground
I get this error:
jsonld.InvalidUrl: Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Expected Behavior
to being able to expand the policy correctly.
The policy actually works if ingested in the Tractus-X connector because the context it's cached there, but the https://w3id.org/tractusx/edc/v0.0.1 url should point to the actual file uploaded somewhere to permit eventually other connectors or tools to being able to expand it correctly.
- Lingua principale
- HCL
- Stelle
- 19
- Fork
- 33
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-tractusx/tutorial-resources
-
Dependency IssueApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
eclipse-tractusx/tutorial-resources#545 · 8 commenti · 4 reazioni ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
eclipse-tractusx/tutorial-resources#512 · 3 commenti ·
-
Error execution TerraformApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
eclipse-tractusx/tutorial-resources#497 · 2 commenti ·
-
Postman Query catalogue call no longer worksForse di nuovo libera @AndrYurk l’ha presa 665 giorni fa e non c’è nessuna pull request aperta. Apertabug good first issue
eclipse-tractusx/tutorial-resources#476 · 14 commenti · 1 assegnatario ·
-
End2End tests are brokenApertabug good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
eclipse-tractusx/tutorial-resources#475 · 3 commenti ·