|
193 | 193 | "header": [], |
194 | 194 | "body": { |
195 | 195 | "mode": "raw", |
196 | | - "raw": "{\n \"@context\": [\n \"https://w3id.org/edc/connector/management/v0.0.1\"\n ],\n \"@type\": \"PolicyDefinition\",\n \"@id\": \"require-membership\",\n \"policy\": {\n \"@type\": \"http://www.w3.org/ns/odrl/2/Set\",\n \"permission\": [\n {\n \"action\": \"use\",\n \"constraint\": {\n \"@type\": \"LogicalConstraint\",\n \"leftOperand\": \"Membership\",\n \"operator\": \"eq\",\n \"rightOperand\": \"active\"\n }\n }\n ]\n }\n}", |
| 196 | + "raw": "{\n \"@context\": [\n {\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"https://w3id.org/tractusx/policy/v1.0.0\",\n \"http://www.w3.org/ns/odrl.jsonld\"\n ],\n \"@type\": \"PolicyDefinitionRequestDto\",\n \"@id\": \"require-membership\",\n \"policy\": {\n \"@type\": \"http://www.w3.org/ns/odrl/2/Set\",\n \"permission\": [\n {\n \"action\": \"use\",\n \"constraint\": {\n \"@type\": \"LogicalConstraint\",\n \"leftOperand\": \"Membership\",\n \"operator\": \"eq\",\n \"rightOperand\": \"active\"\n }\n }\n ]\n }\n}", |
197 | 197 | "options": { |
198 | 198 | "raw": { |
199 | 199 | "language": "json" |
|
244 | 244 | "header": [], |
245 | 245 | "body": { |
246 | 246 | "mode": "raw", |
247 | | - "raw": "{\n \"@context\": [\n \"https://w3id.org/edc/connector/management/v0.0.1\"\n ],\n \"@type\": \"PolicyDefinition\",\n \"@id\": \"require-deg\",\n \"policy\": {\n \"@type\": \"http://www.w3.org/ns/odrl/2/Set\",\n \"permission\": [\n {\n \"action\": \"use\",\n \"constraint\": {\n \"@type\": \"LogicalConstraint\",\n \"leftOperand\": \"FrameworkAgreement\",\n \"operator\": \"eq\",\n \"rightOperand\": \"DataExchangeGovernance\"\n }\n }\n ]\n }\n}", |
| 247 | + "raw": "{\n \"@context\": [\n {\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"https://w3id.org/tractusx/policy/v1.0.0\",\n \"http://www.w3.org/ns/odrl.jsonld\"\n ],\n \"@type\": \"PolicyDefinitionRequestDto\",\n \"@id\": \"require-deg\",\n \"policy\": {\n \"@type\": \"http://www.w3.org/ns/odrl/2/Set\",\n \"permission\": [\n {\n \"action\": \"use\",\n \"constraint\": {\n \"@type\": \"LogicalConstraint\",\n \"leftOperand\": \"FrameworkAgreement\",\n \"operator\": \"eq\",\n \"rightOperand\": \"DataExchangeGovernance\"\n }\n }\n ]\n }\n}", |
248 | 248 | "options": { |
249 | 249 | "raw": { |
250 | 250 | "language": "json" |
|
295 | 295 | "header": [], |
296 | 296 | "body": { |
297 | 297 | "mode": "raw", |
298 | | - "raw": "{\n \"@context\": [\n \"https://w3id.org/edc/connector/management/v0.0.1\"\n ],\n \"@type\": \"PolicyDefinition\",\n \"@id\": \"require-dismantler\",\n \"policy\": {\n \"@type\": \"http://www.w3.org/ns/odrl/2/Set\",\n \"permission\": [\n {\n \"action\": \"use\",\n \"constraint\": {\n \"@type\": \"LogicalConstraint\",\n \"leftOperand\": \"Dismantler\",\n \"operator\": \"eq\",\n \"rightOperand\": \"active\"\n }\n }\n ]\n }\n}", |
| 298 | + "raw": "{\n \"@context\": [\n {\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"https://w3id.org/tractusx/policy/v1.0.0\",\n \"http://www.w3.org/ns/odrl.jsonld\"\n ],\n \"@type\": \"PolicyDefinitionRequestDto\",\n \"@id\": \"require-dismantler\",\n \"policy\": {\n \"@type\": \"http://www.w3.org/ns/odrl/2/Set\",\n \"permission\": [\n {\n \"action\": \"use\",\n \"constraint\": {\n \"@type\": \"LogicalConstraint\",\n \"leftOperand\": \"Dismantler\",\n \"operator\": \"eq\",\n \"rightOperand\": \"active\"\n }\n }\n ]\n }\n}", |
299 | 299 | "options": { |
300 | 300 | "raw": { |
301 | 301 | "language": "json" |
|
1160 | 1160 | "header": [], |
1161 | 1161 | "body": { |
1162 | 1162 | "mode": "raw", |
1163 | | - "raw": "{\n \"did\": \"{{CONSUMER_ID}}\",\n \"participantId\": \"{{CONSUMER_ID}}\",\n \"name\": \"{{CONSUMER_NAME}}\"\n}", |
| 1163 | + "raw": "{\n \"roles\":[\"admin\"],\n \"serviceEndpoints\":[\n {\n \"type\": \"IssuerService\",\n \"serviceEndpoint\": \"http://dataspace-issuer-service:10012/api/issuance/v1alpha/issuers/ZGlkOndlYjpkYXRhc3BhY2UtaXNzdWVyLXNlcnZpY2UlM0ExMDAxNjppc3N1ZXI=\",\n \"id\": \"issuer-service-1\"\n }\n ],\n \"active\": true,\n \"participantId\": \"{{CONSUMER_ID}}\",\n \"did\": \"{{CONSUMER_ID}}\",\n \"key\":{\n \"keyId\": \"{{CONSUMER_ID}}#key-1\",\n \"privateKeyAlias\": \"key-1\",\n \"keyGeneratorParams\":{\n \"algorithm\": \"EdDSA\"\n }\n }\n }", |
1164 | 1164 | "options": { |
1165 | 1165 | "raw": { |
1166 | 1166 | "language": "json" |
1167 | 1167 | } |
1168 | 1168 | } |
1169 | 1169 | }, |
1170 | 1170 | "url": { |
1171 | | - "raw": "{{ISSUER_ADMIN_URL}}/api/admin/v1alpha/participants", |
| 1171 | + "raw": "{{ISSUER_CS_URL}}/api/identity/v1alpha/participants", |
1172 | 1172 | "host": [ |
1173 | | - "{{ISSUER_ADMIN_URL}}" |
| 1173 | + "{{ISSUER_CS_URL}}" |
1174 | 1174 | ], |
1175 | 1175 | "path": [ |
1176 | 1176 | "api", |
1177 | | - "admin", |
| 1177 | + "identity", |
1178 | 1178 | "v1alpha", |
1179 | 1179 | "participants" |
1180 | 1180 | ] |
|
1202 | 1202 | "header": [], |
1203 | 1203 | "body": { |
1204 | 1204 | "mode": "raw", |
1205 | | - "raw": "{\n \"did\": \"{{PROVIDER_ID}}\",\n \"participantId\": \"{{PROVIDER_ID}}\",\n \"name\": \"{{PROVIDER_NAME}}\"\n}", |
| 1205 | + "raw": "{\n \"roles\":[\"admin\"],\n \"serviceEndpoints\":[\n {\n \"type\": \"IssuerService\",\n \"serviceEndpoint\": \"http://dataspace-issuer-service:10012/api/issuance/v1alpha/issuers/ZGlkOndlYjpkYXRhc3BhY2UtaXNzdWVyLXNlcnZpY2UlM0ExMDAxNjppc3N1ZXI=\",\n \"id\": \"issuer-service-1\"\n }\n ],\n \"active\": true,\n \"participantId\": \"{{PROVIDER_ID}}\",\n \"did\": \"{{PROVIDER_ID}}\",\n \"key\":{\n \"keyId\": \"{{PROVIDER_ID}}#key-1\",\n \"privateKeyAlias\": \"key-1\",\n \"keyGeneratorParams\":{\n \"algorithm\": \"EdDSA\"\n }\n }\n }", |
1206 | 1206 | "options": { |
1207 | 1207 | "raw": { |
1208 | 1208 | "language": "json" |
1209 | 1209 | } |
1210 | 1210 | } |
1211 | 1211 | }, |
1212 | 1212 | "url": { |
1213 | | - "raw": "{{ISSUER_ADMIN_URL}}/api/admin/v1alpha/participants", |
| 1213 | + "raw": "{{ISSUER_CS_URL}}/api/identity/v1alpha/participants", |
1214 | 1214 | "host": [ |
1215 | | - "{{ISSUER_ADMIN_URL}}" |
| 1215 | + "{{ISSUER_CS_URL}}" |
1216 | 1216 | ], |
1217 | 1217 | "path": [ |
1218 | 1218 | "api", |
1219 | | - "admin", |
| 1219 | + "identity", |
1220 | 1220 | "v1alpha", |
1221 | 1221 | "participants" |
1222 | 1222 | ] |
|
1252 | 1252 | } |
1253 | 1253 | }, |
1254 | 1254 | "url": { |
1255 | | - "raw": "{{ISSUER_ADMIN_URL}}/api/admin/v1alpha/attestations", |
| 1255 | + "raw": "{{ISSUER_ADMIN_URL}}/api/admin/v1alpha/participants/{{PARTICIPANT_CONTEXT_ID_BASE64}}/attestations", |
1256 | 1256 | "host": [ |
1257 | 1257 | "{{ISSUER_ADMIN_URL}}" |
1258 | 1258 | ], |
1259 | 1259 | "path": [ |
1260 | 1260 | "api", |
1261 | 1261 | "admin", |
1262 | 1262 | "v1alpha", |
| 1263 | + "participants", |
| 1264 | + "{{PARTICIPANT_CONTEXT_ID_BASE64}}", |
1263 | 1265 | "attestations" |
1264 | 1266 | ] |
1265 | 1267 | }, |
|
1274 | 1276 | "header": [], |
1275 | 1277 | "body": { |
1276 | 1278 | "mode": "raw", |
1277 | | - "raw": "{\n \"attestations\": [\n \"name-attestation-def-1\"\n ],\n \"credentialType\": \"NameCredential\",\n \"dataModel\": \"V_1_1\",\n \"id\": \"name-credential-def-1\",\n \"jsonSchema\": \"{}\",\n \"jsonSchemaUrl\": \"https://example.com/schema/name-credential.json\",\n \"mappings\": [\n {\n \"input\": \"participant.name\",\n \"output\": \"credentialSubject.name\",\n \"required\": \"true\"\n },\n {\n \"input\": \"credential.id\",\n \"output\": \"credentialSubject.id\",\n \"required\": \"true\"\n }\n ],\n \"rules\": [\n {\n \"type\": \"expression\",\n \"configuration\": {\n \"claim\": \"onboarding.signedDocuments\",\n \"operator\": \"eq\",\n \"value\": true\n }\n }\n ]\n}", |
| 1279 | + "raw": "{\n \"attestations\": [\n \"name-attestation-def-1\"\n ],\n \"formats\": [\n \"VC1_0_JWT\"\n ],\n \"credentialType\": \"NameCredential\",\n \"validity\": \"1000000000000\",\n \"id\": \"name-credential-def-1\",\n \"jsonSchema\": \"{}\",\n \"jsonSchemaUrl\": \"https://example.com/schema/name-credential.json\",\n \"mappings\": [\n {\n \"input\": \"participant.name\",\n \"output\": \"credentialSubject.name\",\n \"required\": \"true\"\n },\n {\n \"input\": \"credential.id\",\n \"output\": \"credentialSubject.id\",\n \"required\": \"true\"\n }\n ],\n \"rules\": [\n {\n \"type\": \"expression\",\n \"configuration\": {\n \"claim\": \"onboarding.signedDocuments\",\n \"operator\": \"eq\",\n \"value\": true\n }\n }\n ]\n}", |
1278 | 1280 | "options": { |
1279 | 1281 | "raw": { |
1280 | 1282 | "language": "json" |
1281 | 1283 | } |
1282 | 1284 | } |
1283 | 1285 | }, |
1284 | 1286 | "url": { |
1285 | | - "raw": "{{ISSUER_ADMIN_URL}}/api/admin/v1alpha/credentialdefinitions", |
| 1287 | + "raw": "{{ISSUER_ADMIN_URL}}/api/admin/v1alpha/participants/{{PARTICIPANT_CONTEXT_ID_BASE64}}/credentialdefinitions", |
1286 | 1288 | "host": [ |
1287 | 1289 | "{{ISSUER_ADMIN_URL}}" |
1288 | 1290 | ], |
1289 | 1291 | "path": [ |
1290 | 1292 | "api", |
1291 | 1293 | "admin", |
1292 | 1294 | "v1alpha", |
| 1295 | + "participants", |
| 1296 | + "{{PARTICIPANT_CONTEXT_ID_BASE64}}", |
1293 | 1297 | "credentialdefinitions" |
1294 | 1298 | ] |
1295 | 1299 | }, |
|
0 commit comments