policies generated by policy playground cannot be expanded
@lgblaumeiser がすでに取り組んでいます。
2025年5月27日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- HCL
- スター
- 19
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-tractusx/tutorial-resources のほかの issue
-
Dependency Issueオープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
eclipse-tractusx/tutorial-resources#545 · コメント 8 件 · リアクション 4 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
eclipse-tractusx/tutorial-resources#512 · コメント 3 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
eclipse-tractusx/tutorial-resources#497 · コメント 2 件 ·
-
Postman Query catalogue call no longer works再び着手できるかも @AndrYurk が 665 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug good first issue
eclipse-tractusx/tutorial-resources#476 · コメント 14 件 · 担当者 1 名 ·
-
bug good first issue
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
eclipse-tractusx/tutorial-resources#475 · コメント 3 件 ·