@twin.org/dataspace-test-app 0.0.3-next.26 → 0.0.3-next.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,8 +4,6 @@ import { ContextIdHelper, ContextIdKeys, ContextIdStore } from "@twin.org/contex
|
|
|
4
4
|
import { ComponentFactory, Guards } from "@twin.org/core";
|
|
5
5
|
import { DataTypeHandlerFactory } from "@twin.org/data-core";
|
|
6
6
|
import { DataRequestType } from "@twin.org/dataspace-models";
|
|
7
|
-
import { DataspaceProtocolContexts } from "@twin.org/standards-dataspace-protocol";
|
|
8
|
-
import { DublinCoreContexts } from "@twin.org/standards-dublin-core";
|
|
9
7
|
// Default consignments — two entries with different port locations for filtering tests.
|
|
10
8
|
// Can be overridden via constructor options (e.g. loaded from a JSON file via @json: env syntax).
|
|
11
9
|
const DEFAULT_CONSIGNMENTS = [
|
|
@@ -114,48 +112,6 @@ export class TestDataspaceDataPlaneApp {
|
|
|
114
112
|
}
|
|
115
113
|
};
|
|
116
114
|
}
|
|
117
|
-
/**
|
|
118
|
-
* Datasets handled by the App.
|
|
119
|
-
* @returns Dataspace Protocol compliant datasets
|
|
120
|
-
*/
|
|
121
|
-
async datasetsHandled() {
|
|
122
|
-
const contextIds = await ContextIdStore.getContextIds();
|
|
123
|
-
const organizationId = contextIds?.[ContextIdKeys.Organization] ?? contextIds?.[ContextIdKeys.Node] ?? "";
|
|
124
|
-
return [
|
|
125
|
-
{
|
|
126
|
-
"@context": [
|
|
127
|
-
DataspaceProtocolContexts.Context,
|
|
128
|
-
{
|
|
129
|
-
dcterms: DublinCoreContexts.NamespaceTerms
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"@id": "https://twin.example.org/data-service-1",
|
|
133
|
-
"@type": "Dataset",
|
|
134
|
-
"dcterms:publisher": organizationId,
|
|
135
|
-
hasPolicy: [
|
|
136
|
-
{
|
|
137
|
-
"@id": "urn:policy:test-offer-read-consignment",
|
|
138
|
-
"@type": "Offer",
|
|
139
|
-
assigner: organizationId,
|
|
140
|
-
permission: [
|
|
141
|
-
{
|
|
142
|
-
action: "read"
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
distribution: [
|
|
148
|
-
{
|
|
149
|
-
"@id": "https://twin.example.org/distribution-1",
|
|
150
|
-
"@type": "Distribution",
|
|
151
|
-
accessService: "https://twin.example.org/data-service-1",
|
|
152
|
-
format: "Http-Pull-Query-Format"
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
"dcterms:type": "https://vocabulary.uncefact.org/Consignment"
|
|
156
|
-
}
|
|
157
|
-
];
|
|
158
|
-
}
|
|
159
115
|
/**
|
|
160
116
|
* Supported query types.
|
|
161
117
|
* @returns Types.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testDataspaceDataPlaneApp.js","sourceRoot":"","sources":["../../src/testDataspaceDataPlaneApp.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EACN,eAAe,EAMf,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACN,yBAAyB,EAEzB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAIrE,wFAAwF;AACxF,kGAAkG;AAClG,MAAM,oBAAoB,GAAsB;IAC/C;QACC,UAAU,EAAE,2DAA2D;QACvE,IAAI,EAAE,aAAa;QACnB,EAAE,EAAE,wCAAwC;QAC5C,UAAU,EAAE,YAAY;QACxB,QAAQ,EAAE,sBAAsB;QAChC,kBAAkB,EAAE;YACnB,IAAI,EAA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AAC;IACF,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { ContextIdHelper, ContextIdKeys, ContextIdStore } from \"@twin.org/context\";\nimport { ComponentFactory, Guards } from \"@twin.org/core\";\nimport { DataTypeHandlerFactory } from \"@twin.org/data-core\";\nimport type { IJsonLdDocument } from \"@twin.org/data-json-ld\";\nimport {\n\tDataRequestType,\n\ttype IDataspaceActivity,\n\ttype IActivityQuery,\n\ttype IDataRequest,\n\ttype IDataspaceApp,\n\ttype IProcessingGroupOptions\n} from \"@twin.org/dataspace-models\";\nimport type { ILoggingComponent } from \"@twin.org/logging-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport {\n\tDataspaceProtocolContexts,\n\ttype IDataspaceProtocolDataset\n} from \"@twin.org/standards-dataspace-protocol\";\nimport { DublinCoreContexts } from \"@twin.org/standards-dublin-core\";\nimport type { IActivityStreamsActivity } from \"@twin.org/standards-w3c-activity-streams\";\nimport type { ITestAppConstructorOptions } from \"./ITestAppConstructorOptions.js\";\n\n// Default consignments — two entries with different port locations for filtering tests.\n// Can be overridden via constructor options (e.g. loaded from a JSON file via @json: env syntax).\nconst DEFAULT_CONSIGNMENTS: IJsonLdDocument[] = [\n\t{\n\t\t\"@context\": \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\",\n\t\ttype: \"Consignment\",\n\t\tid: \"urn:ucr:24PLP051219453I002610799053311\",\n\t\tidentifier: \"M-Test0001\",\n\t\tglobalId: \"5-GB-IMPORT-Test0001\",\n\t\tdestinationCountry: {\n\t\t\ttype: \"Country\",\n\t\t\tcountryId: \"unece:CountryId#GB\"\n\t\t},\n\t\tloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#NLRTM\",\n\t\t\tname: \"Rotterdam\"\n\t\t},\n\t\tunloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#GBFXT\",\n\t\t\tname: \"Felixstowe\"\n\t\t}\n\t},\n\t{\n\t\t\"@context\": \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\",\n\t\ttype: \"Consignment\",\n\t\tid: \"urn:ucr:24PLP051219453I002710888164422\",\n\t\tidentifier: \"M-Test0002\",\n\t\tglobalId: \"5-GB-IMPORT-Test0002\",\n\t\tdestinationCountry: {\n\t\t\ttype: \"Country\",\n\t\t\tcountryId: \"unece:CountryId#GB\"\n\t\t},\n\t\tloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#FRLEH\",\n\t\t\tname: \"Le Havre\"\n\t\t},\n\t\tunloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#GBDVR\",\n\t\t\tname: \"Dover\"\n\t\t}\n\t}\n];\n\nconst DEFAULT_ENTITIES: IJsonLdDocument[] = [\n\tDEFAULT_CONSIGNMENTS[0],\n\t{\n\t\t\"@context\": \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\",\n\t\ttype: \"Document\",\n\t\tid: \"urn:document:a3456fddaa56\",\n\t\tdocumentTypeCode: \"unece:DocumentCodeList#853\"\n\t}\n];\n\n/**\n * Test App Activity Handler.\n */\nexport class TestDataspaceDataPlaneApp implements IDataspaceApp {\n\t/**\n\t * App Name.\n\t */\n\tpublic static readonly APP_ID = \"https://twin.example.org/app1\";\n\n\t/**\n\t * Runtime name for the class.\n\t */\n\tpublic static readonly CLASS_NAME: string = nameof<TestDataspaceDataPlaneApp>();\n\n\t/**\n\t * Logging component.\n\t * @internal\n\t */\n\tprivate readonly _logging?: ILoggingComponent;\n\n\t/**\n\t * Consignment documents served by this app.\n\t * @internal\n\t */\n\tprivate readonly _consignments: IJsonLdDocument[];\n\n\t/**\n\t * Node Identity\n\t * @internal\n\t */\n\tprivate _nodeId?: string;\n\n\t/**\n\t * Create a new instance of TestDataspaceDataPlaneApp.\n\t * @param options The constructor options.\n\t */\n\tconstructor(options?: ITestAppConstructorOptions) {\n\t\tthis._logging = ComponentFactory.getIfExists<ILoggingComponent>(\n\t\t\toptions?.loggingComponentType ?? \"logging\"\n\t\t);\n\t\tthis._consignments = options?.consignments ?? DEFAULT_CONSIGNMENTS;\n\t}\n\n\t/**\n\t * Returns the class name of the component.\n\t * @returns The class name of the component.\n\t */\n\tpublic className(): string {\n\t\treturn TestDataspaceDataPlaneApp.CLASS_NAME;\n\t}\n\n\t/**\n\t * The settings for the processing groups for tasks.\n\t * @returns The options for each process group.\n\t */\n\tpublic processingGroups(): {\n\t\t[id: string]: IProcessingGroupOptions;\n\t} {\n\t\treturn {\n\t\t\t\"test-default\": {\n\t\t\t\tconcurrentTasks: 2\n\t\t\t}\n\t\t};\n\t}\n\n\t/**\n\t * Datasets handled by the App.\n\t * @returns Dataspace Protocol compliant datasets\n\t */\n\tpublic async datasetsHandled(): Promise<IDataspaceProtocolDataset[]> {\n\t\tconst contextIds = await ContextIdStore.getContextIds();\n\t\tconst organizationId =\n\t\t\tcontextIds?.[ContextIdKeys.Organization] ?? contextIds?.[ContextIdKeys.Node] ?? \"\";\n\t\treturn [\n\t\t\t{\n\t\t\t\t\"@context\": [\n\t\t\t\t\tDataspaceProtocolContexts.Context,\n\t\t\t\t\t{\n\t\t\t\t\t\tdcterms: DublinCoreContexts.NamespaceTerms\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"@id\": \"https://twin.example.org/data-service-1\",\n\t\t\t\t\"@type\": \"Dataset\",\n\t\t\t\t\"dcterms:publisher\": organizationId,\n\t\t\t\thasPolicy: [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"@id\": \"urn:policy:test-offer-read-consignment\",\n\t\t\t\t\t\t\"@type\": \"Offer\",\n\t\t\t\t\t\tassigner: organizationId,\n\t\t\t\t\t\tpermission: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\taction: \"read\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\tdistribution: [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"@id\": \"https://twin.example.org/distribution-1\",\n\t\t\t\t\t\t\"@type\": \"Distribution\",\n\t\t\t\t\t\taccessService: \"https://twin.example.org/data-service-1\",\n\t\t\t\t\t\tformat: \"Http-Pull-Query-Format\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"dcterms:type\": \"https://vocabulary.uncefact.org/Consignment\"\n\t\t\t}\n\t\t];\n\t}\n\n\t/**\n\t * Supported query types.\n\t * @returns Types.\n\t */\n\tpublic supportedQueryTypes(): string[] {\n\t\treturn [\"TestQueryType\"];\n\t}\n\n\t/**\n\t * Start method.\n\t * @param nodeLoggingComponentType the logging component type of such a node.\n\t */\n\tpublic async start(nodeLoggingComponentType?: string): Promise<void> {\n\t\tconst contextIds = await ContextIdStore.getContextIds();\n\t\tContextIdHelper.guard(contextIds, ContextIdKeys.Node);\n\t\tthis._nodeId = contextIds[ContextIdKeys.Node];\n\n\t\tDataTypeHandlerFactory.register(\"https://twin.example.org/MyCreate\", () => ({\n\t\t\tnamespace: \"https://twin.example.org/\",\n\t\t\ttype: \"MyCreate\",\n\t\t\tdefaultValue: {},\n\t\t\tjsonSchema: async () => ({\n\t\t\t\ttype: \"object\"\n\t\t\t})\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(\"https://vocabulary.uncefact.org/Consignment\", () => ({\n\t\t\tnamespace: \"https://vocabulary.uncefact.org/\",\n\t\t\ttype: \"Consignment\",\n\t\t\tdefaultValue: {},\n\t\t\tjsonSchema: async () => ({\n\t\t\t\ttype: \"object\"\n\t\t\t})\n\t\t}));\n\t}\n\n\t/**\n\t * The activities handled by the App.\n\t * @returns The activities handled by the App.\n\t */\n\tpublic activitiesHandled(): IActivityQuery[] {\n\t\treturn [\n\t\t\t{\n\t\t\t\tobjectType: \"https://vocabulary.uncefact.org/Consignment\",\n\t\t\t\tprocessingGroupId: \"test-default\"\n\t\t\t}\n\t\t];\n\t}\n\n\t/**\n\t * Handle Activity.\n\t * @param activity Activity\n\t * @returns Activity processing result\n\t */\n\tpublic async handleActivity<T>(activity: IDataspaceActivity): Promise<T> {\n\t\tGuards.object<IActivityStreamsActivity>(\n\t\t\tTestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tnameof(activity),\n\t\t\tactivity\n\t\t);\n\n\t\tawait this._logging?.log({\n\t\t\tlevel: \"info\",\n\t\t\tsource: TestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tmessage: `App Called: ${TestDataspaceDataPlaneApp.APP_ID}`\n\t\t});\n\n\t\tawait this._logging?.log({\n\t\t\tlevel: \"info\",\n\t\t\tsource: TestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tmessage: `Node Identity: ${this._nodeId ?? \"\"}`\n\t\t});\n\n\t\tawait new Promise(resolve => setTimeout(resolve, 500));\n\t\treturn \"1234\" as T;\n\t}\n\n\t/**\n\t * Handles the Data Request.\n\t * @param dataRequest The data request\n\t * @param cursor Cursor that points to the next item in the result set.\n\t * @param limit Maximum number of entries retrieved or to be retrieved.\n\t * @returns the Data.\n\t */\n\tpublic async handleDataRequest(\n\t\tdataRequest: IDataRequest,\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<{ data: IJsonLdDocument; cursor?: string }> {\n\t\tGuards.object<IDataRequest>(\n\t\t\tTestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tnameof(dataRequest),\n\t\t\tdataRequest\n\t\t);\n\n\t\tswitch (dataRequest.type) {\n\t\t\tcase DataRequestType.DataAssetEntities: {\n\t\t\t\tif (dataRequest.entitySet.entityId) {\n\t\t\t\t\tconst entityIds = dataRequest.entitySet.entityId;\n\t\t\t\t\tconst matched = this._consignments.filter(c =>\n\t\t\t\t\t\tentityIds.includes((c as { id?: string }).id ?? \"\")\n\t\t\t\t\t);\n\t\t\t\t\treturn { data: (matched.length === 1 ? matched[0] : matched) as IJsonLdDocument };\n\t\t\t\t}\n\n\t\t\t\tif (dataRequest.entitySet.entityType === \"https://vocabulary.uncefact.org/Consignment\") {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdata: this._consignments as unknown as IJsonLdDocument\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\treturn { data: [] };\n\t\t\t}\n\n\t\t\tcase DataRequestType.QueryDataAsset:\n\t\t\t\treturn { data: DEFAULT_ENTITIES as unknown as IJsonLdDocument };\n\t\t}\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"testDataspaceDataPlaneApp.js","sourceRoot":"","sources":["../../src/testDataspaceDataPlaneApp.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EACN,eAAe,EAMf,MAAM,4BAA4B,CAAC;AAMpC,wFAAwF;AACxF,kGAAkG;AAClG,MAAM,oBAAoB,GAAsB;IAC/C;QACC,UAAU,EAAE,2DAA2D;QACvE,IAAI,EAAE,aAAa;QACnB,EAAE,EAAE,wCAAwC;QAC5C,UAAU,EAAE,YAAY;QACxB,QAAQ,EAAE,sBAAsB;QAChC,kBAAkB,EAAE;YACnB,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,oBAAoB;SAC/B;QACD,eAAe,EAAE;YAChB,IAAI,EAAE,mBAAmB;YACzB,EAAE,EAAE,oBAAoB;YACxB,IAAI,EAAE,WAAW;SACjB;QACD,iBAAiB,EAAE;YAClB,IAAI,EAAE,mBAAmB;YACzB,EAAE,EAAE,oBAAoB;YACxB,IAAI,EAAE,YAAY;SAClB;KACD;IACD;QACC,UAAU,EAAE,2DAA2D;QACvE,IAAI,EAAE,aAAa;QACnB,EAAE,EAAE,wCAAwC;QAC5C,UAAU,EAAE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eAAe,CAAC,cAAc;gBAClC,OAAO,EAAE,IAAI,EAAE,gBAA8C,EAAE,CAAC;QAClE,CAAC;IACF,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { ContextIdHelper, ContextIdKeys, ContextIdStore } from \"@twin.org/context\";\nimport { ComponentFactory, Guards } from \"@twin.org/core\";\nimport { DataTypeHandlerFactory } from \"@twin.org/data-core\";\nimport type { IJsonLdDocument } from \"@twin.org/data-json-ld\";\nimport {\n\tDataRequestType,\n\ttype IDataspaceActivity,\n\ttype IActivityQuery,\n\ttype IDataRequest,\n\ttype IDataspaceApp,\n\ttype IProcessingGroupOptions\n} from \"@twin.org/dataspace-models\";\nimport type { ILoggingComponent } from \"@twin.org/logging-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport type { IActivityStreamsActivity } from \"@twin.org/standards-w3c-activity-streams\";\nimport type { ITestAppConstructorOptions } from \"./ITestAppConstructorOptions.js\";\n\n// Default consignments — two entries with different port locations for filtering tests.\n// Can be overridden via constructor options (e.g. loaded from a JSON file via @json: env syntax).\nconst DEFAULT_CONSIGNMENTS: IJsonLdDocument[] = [\n\t{\n\t\t\"@context\": \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\",\n\t\ttype: \"Consignment\",\n\t\tid: \"urn:ucr:24PLP051219453I002610799053311\",\n\t\tidentifier: \"M-Test0001\",\n\t\tglobalId: \"5-GB-IMPORT-Test0001\",\n\t\tdestinationCountry: {\n\t\t\ttype: \"Country\",\n\t\t\tcountryId: \"unece:CountryId#GB\"\n\t\t},\n\t\tloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#NLRTM\",\n\t\t\tname: \"Rotterdam\"\n\t\t},\n\t\tunloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#GBFXT\",\n\t\t\tname: \"Felixstowe\"\n\t\t}\n\t},\n\t{\n\t\t\"@context\": \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\",\n\t\ttype: \"Consignment\",\n\t\tid: \"urn:ucr:24PLP051219453I002710888164422\",\n\t\tidentifier: \"M-Test0002\",\n\t\tglobalId: \"5-GB-IMPORT-Test0002\",\n\t\tdestinationCountry: {\n\t\t\ttype: \"Country\",\n\t\t\tcountryId: \"unece:CountryId#GB\"\n\t\t},\n\t\tloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#FRLEH\",\n\t\t\tname: \"Le Havre\"\n\t\t},\n\t\tunloadingLocation: {\n\t\t\ttype: \"LogisticsLocation\",\n\t\t\tid: \"unece:LOCODE#GBDVR\",\n\t\t\tname: \"Dover\"\n\t\t}\n\t}\n];\n\nconst DEFAULT_ENTITIES: IJsonLdDocument[] = [\n\tDEFAULT_CONSIGNMENTS[0],\n\t{\n\t\t\"@context\": \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\",\n\t\ttype: \"Document\",\n\t\tid: \"urn:document:a3456fddaa56\",\n\t\tdocumentTypeCode: \"unece:DocumentCodeList#853\"\n\t}\n];\n\n/**\n * Test App Activity Handler.\n */\nexport class TestDataspaceDataPlaneApp implements IDataspaceApp {\n\t/**\n\t * App Name.\n\t */\n\tpublic static readonly APP_ID = \"https://twin.example.org/app1\";\n\n\t/**\n\t * Runtime name for the class.\n\t */\n\tpublic static readonly CLASS_NAME: string = nameof<TestDataspaceDataPlaneApp>();\n\n\t/**\n\t * Logging component.\n\t * @internal\n\t */\n\tprivate readonly _logging?: ILoggingComponent;\n\n\t/**\n\t * Consignment documents served by this app.\n\t * @internal\n\t */\n\tprivate readonly _consignments: IJsonLdDocument[];\n\n\t/**\n\t * Node Identity\n\t * @internal\n\t */\n\tprivate _nodeId?: string;\n\n\t/**\n\t * Create a new instance of TestDataspaceDataPlaneApp.\n\t * @param options The constructor options.\n\t */\n\tconstructor(options?: ITestAppConstructorOptions) {\n\t\tthis._logging = ComponentFactory.getIfExists<ILoggingComponent>(\n\t\t\toptions?.loggingComponentType ?? \"logging\"\n\t\t);\n\t\tthis._consignments = options?.consignments ?? DEFAULT_CONSIGNMENTS;\n\t}\n\n\t/**\n\t * Returns the class name of the component.\n\t * @returns The class name of the component.\n\t */\n\tpublic className(): string {\n\t\treturn TestDataspaceDataPlaneApp.CLASS_NAME;\n\t}\n\n\t/**\n\t * The settings for the processing groups for tasks.\n\t * @returns The options for each process group.\n\t */\n\tpublic processingGroups(): {\n\t\t[id: string]: IProcessingGroupOptions;\n\t} {\n\t\treturn {\n\t\t\t\"test-default\": {\n\t\t\t\tconcurrentTasks: 2\n\t\t\t}\n\t\t};\n\t}\n\n\t/**\n\t * Supported query types.\n\t * @returns Types.\n\t */\n\tpublic supportedQueryTypes(): string[] {\n\t\treturn [\"TestQueryType\"];\n\t}\n\n\t/**\n\t * Start method.\n\t * @param nodeLoggingComponentType the logging component type of such a node.\n\t */\n\tpublic async start(nodeLoggingComponentType?: string): Promise<void> {\n\t\tconst contextIds = await ContextIdStore.getContextIds();\n\t\tContextIdHelper.guard(contextIds, ContextIdKeys.Node);\n\t\tthis._nodeId = contextIds[ContextIdKeys.Node];\n\n\t\tDataTypeHandlerFactory.register(\"https://twin.example.org/MyCreate\", () => ({\n\t\t\tnamespace: \"https://twin.example.org/\",\n\t\t\ttype: \"MyCreate\",\n\t\t\tdefaultValue: {},\n\t\t\tjsonSchema: async () => ({\n\t\t\t\ttype: \"object\"\n\t\t\t})\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(\"https://vocabulary.uncefact.org/Consignment\", () => ({\n\t\t\tnamespace: \"https://vocabulary.uncefact.org/\",\n\t\t\ttype: \"Consignment\",\n\t\t\tdefaultValue: {},\n\t\t\tjsonSchema: async () => ({\n\t\t\t\ttype: \"object\"\n\t\t\t})\n\t\t}));\n\t}\n\n\t/**\n\t * The activities handled by the App.\n\t * @returns The activities handled by the App.\n\t */\n\tpublic activitiesHandled(): IActivityQuery[] {\n\t\treturn [\n\t\t\t{\n\t\t\t\tobjectType: \"https://vocabulary.uncefact.org/Consignment\",\n\t\t\t\tprocessingGroupId: \"test-default\"\n\t\t\t}\n\t\t];\n\t}\n\n\t/**\n\t * Handle Activity.\n\t * @param activity Activity\n\t * @returns Activity processing result\n\t */\n\tpublic async handleActivity<T>(activity: IDataspaceActivity): Promise<T> {\n\t\tGuards.object<IActivityStreamsActivity>(\n\t\t\tTestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tnameof(activity),\n\t\t\tactivity\n\t\t);\n\n\t\tawait this._logging?.log({\n\t\t\tlevel: \"info\",\n\t\t\tsource: TestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tmessage: `App Called: ${TestDataspaceDataPlaneApp.APP_ID}`\n\t\t});\n\n\t\tawait this._logging?.log({\n\t\t\tlevel: \"info\",\n\t\t\tsource: TestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tmessage: `Node Identity: ${this._nodeId ?? \"\"}`\n\t\t});\n\n\t\tawait new Promise(resolve => setTimeout(resolve, 500));\n\t\treturn \"1234\" as T;\n\t}\n\n\t/**\n\t * Handles the Data Request.\n\t * @param dataRequest The data request\n\t * @param cursor Cursor that points to the next item in the result set.\n\t * @param limit Maximum number of entries retrieved or to be retrieved.\n\t * @returns the Data.\n\t */\n\tpublic async handleDataRequest(\n\t\tdataRequest: IDataRequest,\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<{ data: IJsonLdDocument; cursor?: string }> {\n\t\tGuards.object<IDataRequest>(\n\t\t\tTestDataspaceDataPlaneApp.CLASS_NAME,\n\t\t\tnameof(dataRequest),\n\t\t\tdataRequest\n\t\t);\n\n\t\tswitch (dataRequest.type) {\n\t\t\tcase DataRequestType.DataAssetEntities: {\n\t\t\t\tif (dataRequest.entitySet.entityId) {\n\t\t\t\t\tconst entityIds = dataRequest.entitySet.entityId;\n\t\t\t\t\tconst matched = this._consignments.filter(c =>\n\t\t\t\t\t\tentityIds.includes((c as { id?: string }).id ?? \"\")\n\t\t\t\t\t);\n\t\t\t\t\treturn { data: (matched.length === 1 ? matched[0] : matched) as IJsonLdDocument };\n\t\t\t\t}\n\n\t\t\t\tif (dataRequest.entitySet.entityType === \"https://vocabulary.uncefact.org/Consignment\") {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdata: this._consignments as unknown as IJsonLdDocument\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\treturn { data: [] };\n\t\t\t}\n\n\t\t\tcase DataRequestType.QueryDataAsset:\n\t\t\t\treturn { data: DEFAULT_ENTITIES as unknown as IJsonLdDocument };\n\t\t}\n\t}\n}\n"]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IJsonLdDocument } from "@twin.org/data-json-ld";
|
|
2
2
|
import { type IDataspaceActivity, type IActivityQuery, type IDataRequest, type IDataspaceApp, type IProcessingGroupOptions } from "@twin.org/dataspace-models";
|
|
3
|
-
import { type IDataspaceProtocolDataset } from "@twin.org/standards-dataspace-protocol";
|
|
4
3
|
import type { ITestAppConstructorOptions } from "./ITestAppConstructorOptions.js";
|
|
5
4
|
/**
|
|
6
5
|
* Test App Activity Handler.
|
|
@@ -31,11 +30,6 @@ export declare class TestDataspaceDataPlaneApp implements IDataspaceApp {
|
|
|
31
30
|
processingGroups(): {
|
|
32
31
|
[id: string]: IProcessingGroupOptions;
|
|
33
32
|
};
|
|
34
|
-
/**
|
|
35
|
-
* Datasets handled by the App.
|
|
36
|
-
* @returns Dataspace Protocol compliant datasets
|
|
37
|
-
*/
|
|
38
|
-
datasetsHandled(): Promise<IDataspaceProtocolDataset[]>;
|
|
39
33
|
/**
|
|
40
34
|
* Supported query types.
|
|
41
35
|
* @returns Types.
|
package/docs/changelog.md
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.3-next.
|
|
3
|
+
## [0.0.3-next.27](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.26...dataspace-test-app-v0.0.3-next.27) (2026-05-08)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
### Features
|
|
7
7
|
|
|
8
|
-
*
|
|
8
|
+
* endpoint encryption + getDatasetTargets multi-target fix ([#112](https://github.com/iotaledger/twin-dataspace/issues/112)) ([3288941](https://github.com/iotaledger/twin-dataspace/commit/328894113c19c7402f7d00dfa77b6a97ae40ca91))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/dataspace-models bumped from 0.0.3-next.26 to 0.0.3-next.27
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.26](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.25...dataspace-test-app-v0.0.3-next.26) (2026-04-14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add inline tasks and concurrent options ([#104](https://github.com/iotaledger/twin-dataspace/issues/104)) ([2227a21](https://github.com/iotaledger/twin-dataspace/commit/2227a212d906f58ba77850c79bb20bf2cb7195a8))
|
|
9
23
|
|
|
10
24
|
|
|
11
25
|
### Dependencies
|
|
@@ -14,7 +28,7 @@
|
|
|
14
28
|
* dependencies
|
|
15
29
|
* @twin.org/dataspace-models bumped from 0.0.3-next.25 to 0.0.3-next.26
|
|
16
30
|
|
|
17
|
-
## [0.0.3-next.25](https://github.com/
|
|
31
|
+
## [0.0.3-next.25](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.24...dataspace-test-app-v0.0.3-next.25) (2026-04-10)
|
|
18
32
|
|
|
19
33
|
|
|
20
34
|
### Miscellaneous Chores
|
|
@@ -28,7 +42,7 @@
|
|
|
28
42
|
* dependencies
|
|
29
43
|
* @twin.org/dataspace-models bumped from 0.0.3-next.24 to 0.0.3-next.25
|
|
30
44
|
|
|
31
|
-
## [0.0.3-next.24](https://github.com/
|
|
45
|
+
## [0.0.3-next.24](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.23...dataspace-test-app-v0.0.3-next.24) (2026-03-31)
|
|
32
46
|
|
|
33
47
|
|
|
34
48
|
### Miscellaneous Chores
|
|
@@ -42,12 +56,12 @@
|
|
|
42
56
|
* dependencies
|
|
43
57
|
* @twin.org/dataspace-models bumped from 0.0.3-next.23 to 0.0.3-next.24
|
|
44
58
|
|
|
45
|
-
## [0.0.3-next.23](https://github.com/
|
|
59
|
+
## [0.0.3-next.23](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.22...dataspace-test-app-v0.0.3-next.23) (2026-03-25)
|
|
46
60
|
|
|
47
61
|
|
|
48
62
|
### Features
|
|
49
63
|
|
|
50
|
-
* extend test app with multi-consignment data using UNECE vocabulary ([#92](https://github.com/
|
|
64
|
+
* extend test app with multi-consignment data using UNECE vocabulary ([#92](https://github.com/iotaledger/twin-dataspace/issues/92)) ([2f69566](https://github.com/iotaledger/twin-dataspace/commit/2f695668ec03e50c89ddb1437f2be39c047e3268))
|
|
51
65
|
|
|
52
66
|
|
|
53
67
|
### Dependencies
|
|
@@ -56,7 +70,7 @@
|
|
|
56
70
|
* dependencies
|
|
57
71
|
* @twin.org/dataspace-models bumped from 0.0.3-next.22 to 0.0.3-next.23
|
|
58
72
|
|
|
59
|
-
## [0.0.3-next.22](https://github.com/
|
|
73
|
+
## [0.0.3-next.22](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.21...dataspace-test-app-v0.0.3-next.22) (2026-03-20)
|
|
60
74
|
|
|
61
75
|
|
|
62
76
|
### Miscellaneous Chores
|
|
@@ -70,12 +84,12 @@
|
|
|
70
84
|
* dependencies
|
|
71
85
|
* @twin.org/dataspace-models bumped from 0.0.3-next.21 to 0.0.3-next.22
|
|
72
86
|
|
|
73
|
-
## [0.0.3-next.21](https://github.com/
|
|
87
|
+
## [0.0.3-next.21](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.20...dataspace-test-app-v0.0.3-next.21) (2026-03-17)
|
|
74
88
|
|
|
75
89
|
|
|
76
90
|
### Features
|
|
77
91
|
|
|
78
|
-
* improve open-api examples ([1368dbe](https://github.com/
|
|
92
|
+
* improve open-api examples ([1368dbe](https://github.com/iotaledger/twin-dataspace/commit/1368dbed5c36e074b4854942304a19b9ce51e088))
|
|
79
93
|
|
|
80
94
|
|
|
81
95
|
### Dependencies
|
|
@@ -84,7 +98,7 @@
|
|
|
84
98
|
* dependencies
|
|
85
99
|
* @twin.org/dataspace-models bumped from 0.0.3-next.20 to 0.0.3-next.21
|
|
86
100
|
|
|
87
|
-
## [0.0.3-next.20](https://github.com/
|
|
101
|
+
## [0.0.3-next.20](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.19...dataspace-test-app-v0.0.3-next.20) (2026-03-17)
|
|
88
102
|
|
|
89
103
|
|
|
90
104
|
### Miscellaneous Chores
|
|
@@ -98,7 +112,7 @@
|
|
|
98
112
|
* dependencies
|
|
99
113
|
* @twin.org/dataspace-models bumped from 0.0.3-next.19 to 0.0.3-next.20
|
|
100
114
|
|
|
101
|
-
## [0.0.3-next.19](https://github.com/
|
|
115
|
+
## [0.0.3-next.19](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.18...dataspace-test-app-v0.0.3-next.19) (2026-03-12)
|
|
102
116
|
|
|
103
117
|
|
|
104
118
|
### Miscellaneous Chores
|
|
@@ -112,12 +126,12 @@
|
|
|
112
126
|
* dependencies
|
|
113
127
|
* @twin.org/dataspace-models bumped from 0.0.3-next.18 to 0.0.3-next.19
|
|
114
128
|
|
|
115
|
-
## [0.0.3-next.18](https://github.com/
|
|
129
|
+
## [0.0.3-next.18](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.17...dataspace-test-app-v0.0.3-next.18) (2026-03-09)
|
|
116
130
|
|
|
117
131
|
|
|
118
132
|
### Features
|
|
119
133
|
|
|
120
|
-
* resolve DSP transfer flow bugs for cross-node communication ([#76](https://github.com/
|
|
134
|
+
* resolve DSP transfer flow bugs for cross-node communication ([#76](https://github.com/iotaledger/twin-dataspace/issues/76)) ([506a45c](https://github.com/iotaledger/twin-dataspace/commit/506a45c94e63d5f958b1fc7131adfe452c3e2974))
|
|
121
135
|
|
|
122
136
|
|
|
123
137
|
### Dependencies
|
|
@@ -126,18 +140,18 @@
|
|
|
126
140
|
* dependencies
|
|
127
141
|
* @twin.org/dataspace-models bumped from 0.0.3-next.17 to 0.0.3-next.18
|
|
128
142
|
|
|
129
|
-
## [0.0.3-next.17](https://github.com/
|
|
143
|
+
## [0.0.3-next.17](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.16...dataspace-test-app-v0.0.3-next.17) (2026-03-06)
|
|
130
144
|
|
|
131
145
|
|
|
132
146
|
### Features
|
|
133
147
|
|
|
134
|
-
* docs update ([8b44c7a](https://github.com/
|
|
135
|
-
* types update ([77c338e](https://github.com/
|
|
148
|
+
* docs update ([8b44c7a](https://github.com/iotaledger/twin-dataspace/commit/8b44c7a75afb8d377a6f606616f8a78d58439ab4))
|
|
149
|
+
* types update ([77c338e](https://github.com/iotaledger/twin-dataspace/commit/77c338e9244dcc7e3d597fdb06229513b1f13eac))
|
|
136
150
|
|
|
137
151
|
|
|
138
152
|
### Bug Fixes
|
|
139
153
|
|
|
140
|
-
* avoid compaction of incoming activities ([#77](https://github.com/
|
|
154
|
+
* avoid compaction of incoming activities ([#77](https://github.com/iotaledger/twin-dataspace/issues/77)) ([ff43d6a](https://github.com/iotaledger/twin-dataspace/commit/ff43d6a3e1563eb9cb185501134b2a53ae88787c))
|
|
141
155
|
|
|
142
156
|
|
|
143
157
|
### Dependencies
|
|
@@ -146,7 +160,7 @@
|
|
|
146
160
|
* dependencies
|
|
147
161
|
* @twin.org/dataspace-models bumped from 0.0.3-next.16 to 0.0.3-next.17
|
|
148
162
|
|
|
149
|
-
## [0.0.3-next.16](https://github.com/
|
|
163
|
+
## [0.0.3-next.16](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.15...dataspace-test-app-v0.0.3-next.16) (2026-03-02)
|
|
150
164
|
|
|
151
165
|
|
|
152
166
|
### Miscellaneous Chores
|
|
@@ -160,12 +174,12 @@
|
|
|
160
174
|
* dependencies
|
|
161
175
|
* @twin.org/dataspace-models bumped from 0.0.3-next.15 to 0.0.3-next.16
|
|
162
176
|
|
|
163
|
-
## [0.0.3-next.15](https://github.com/
|
|
177
|
+
## [0.0.3-next.15](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.14...dataspace-test-app-v0.0.3-next.15) (2026-03-02)
|
|
164
178
|
|
|
165
179
|
|
|
166
180
|
### Features
|
|
167
181
|
|
|
168
|
-
* unification of the data exchange and the data space connector ([#57](https://github.com/
|
|
182
|
+
* unification of the data exchange and the data space connector ([#57](https://github.com/iotaledger/twin-dataspace/issues/57)) ([df2644d](https://github.com/iotaledger/twin-dataspace/commit/df2644d989471e07dadd83d27bef736179e31bf4))
|
|
169
183
|
|
|
170
184
|
|
|
171
185
|
### Dependencies
|
|
@@ -174,7 +188,7 @@
|
|
|
174
188
|
* dependencies
|
|
175
189
|
* @twin.org/dataspace-models bumped from 0.0.3-next.14 to 0.0.3-next.15
|
|
176
190
|
|
|
177
|
-
## [0.0.3-next.12](https://github.com/
|
|
191
|
+
## [0.0.3-next.12](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.11...dataspace-test-app-v0.0.3-next.12) (2026-01-22)
|
|
178
192
|
|
|
179
193
|
|
|
180
194
|
### Miscellaneous Chores
|
|
@@ -188,12 +202,12 @@
|
|
|
188
202
|
* dependencies
|
|
189
203
|
* @twin.org/dataspace-models bumped from 0.0.3-next.11 to 0.0.3-next.12
|
|
190
204
|
|
|
191
|
-
## [0.0.3-next.11](https://github.com/
|
|
205
|
+
## [0.0.3-next.11](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.10...dataspace-test-app-v0.0.3-next.11) (2026-01-22)
|
|
192
206
|
|
|
193
207
|
|
|
194
208
|
### Features
|
|
195
209
|
|
|
196
|
-
* update contexts ([1c9a169](https://github.com/
|
|
210
|
+
* update contexts ([1c9a169](https://github.com/iotaledger/twin-dataspace/commit/1c9a169ebc44af59df890eb29dd5cb4274940ebe))
|
|
197
211
|
|
|
198
212
|
|
|
199
213
|
### Dependencies
|
|
@@ -202,12 +216,12 @@
|
|
|
202
216
|
* dependencies
|
|
203
217
|
* @twin.org/dataspace-models bumped from 0.0.3-next.10 to 0.0.3-next.11
|
|
204
218
|
|
|
205
|
-
## [0.0.3-next.10](https://github.com/
|
|
219
|
+
## [0.0.3-next.10](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.9...dataspace-test-app-v0.0.3-next.10) (2026-01-19)
|
|
206
220
|
|
|
207
221
|
|
|
208
222
|
### Features
|
|
209
223
|
|
|
210
|
-
* replace registerApp with factory pattern ([#51](https://github.com/
|
|
224
|
+
* replace registerApp with factory pattern ([#51](https://github.com/iotaledger/twin-dataspace/issues/51)) ([a7ef328](https://github.com/iotaledger/twin-dataspace/commit/a7ef32873f5781f7b1f8aa3670f5fb612dd17018))
|
|
211
225
|
|
|
212
226
|
|
|
213
227
|
### Dependencies
|
|
@@ -216,7 +230,7 @@
|
|
|
216
230
|
* dependencies
|
|
217
231
|
* @twin.org/dataspace-models bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
218
232
|
|
|
219
|
-
## [0.0.3-next.9](https://github.com/
|
|
233
|
+
## [0.0.3-next.9](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.8...dataspace-test-app-v0.0.3-next.9) (2026-01-19)
|
|
220
234
|
|
|
221
235
|
|
|
222
236
|
### Miscellaneous Chores
|
|
@@ -230,7 +244,7 @@
|
|
|
230
244
|
* dependencies
|
|
231
245
|
* @twin.org/dataspace-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
232
246
|
|
|
233
|
-
## [0.0.3-next.8](https://github.com/
|
|
247
|
+
## [0.0.3-next.8](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.7...dataspace-test-app-v0.0.3-next.8) (2026-01-16)
|
|
234
248
|
|
|
235
249
|
|
|
236
250
|
### Miscellaneous Chores
|
|
@@ -244,12 +258,12 @@
|
|
|
244
258
|
* dependencies
|
|
245
259
|
* @twin.org/dataspace-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
246
260
|
|
|
247
|
-
## [0.0.3-next.7](https://github.com/
|
|
261
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.6...dataspace-test-app-v0.0.3-next.7) (2026-01-16)
|
|
248
262
|
|
|
249
263
|
|
|
250
264
|
### Features
|
|
251
265
|
|
|
252
|
-
* implement Link headers for pagination ([#43](https://github.com/
|
|
266
|
+
* implement Link headers for pagination ([#43](https://github.com/iotaledger/twin-dataspace/issues/43)) ([ce2a31f](https://github.com/iotaledger/twin-dataspace/commit/ce2a31fab1b5a1338d34b8514e96a203705c68d1))
|
|
253
267
|
|
|
254
268
|
|
|
255
269
|
### Dependencies
|
|
@@ -258,12 +272,12 @@
|
|
|
258
272
|
* dependencies
|
|
259
273
|
* @twin.org/dataspace-models bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
260
274
|
|
|
261
|
-
## [0.0.3-next.6](https://github.com/
|
|
275
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.5...dataspace-test-app-v0.0.3-next.6) (2026-01-15)
|
|
262
276
|
|
|
263
277
|
|
|
264
278
|
### Features
|
|
265
279
|
|
|
266
|
-
* update contexts and namespaces ([#41](https://github.com/
|
|
280
|
+
* update contexts and namespaces ([#41](https://github.com/iotaledger/twin-dataspace/issues/41)) ([cad79f9](https://github.com/iotaledger/twin-dataspace/commit/cad79f9f18c0b1bc4a4604a951c28db1d1068f5e))
|
|
267
281
|
|
|
268
282
|
|
|
269
283
|
### Dependencies
|
|
@@ -272,7 +286,7 @@
|
|
|
272
286
|
* dependencies
|
|
273
287
|
* @twin.org/dataspace-models bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
274
288
|
|
|
275
|
-
## [0.0.3-next.5](https://github.com/
|
|
289
|
+
## [0.0.3-next.5](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.4...dataspace-test-app-v0.0.3-next.5) (2026-01-07)
|
|
276
290
|
|
|
277
291
|
|
|
278
292
|
### Miscellaneous Chores
|
|
@@ -286,13 +300,13 @@
|
|
|
286
300
|
* dependencies
|
|
287
301
|
* @twin.org/dataspace-models bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
288
302
|
|
|
289
|
-
## [0.0.3-next.4](https://github.com/
|
|
303
|
+
## [0.0.3-next.4](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.3...dataspace-test-app-v0.0.3-next.4) (2026-01-06)
|
|
290
304
|
|
|
291
305
|
|
|
292
306
|
### Features
|
|
293
307
|
|
|
294
|
-
* rfc 004 implementation ([#34](https://github.com/
|
|
295
|
-
* update standards dependencies ([8534ad7](https://github.com/
|
|
308
|
+
* rfc 004 implementation ([#34](https://github.com/iotaledger/twin-dataspace/issues/34)) ([3920a45](https://github.com/iotaledger/twin-dataspace/commit/3920a456f744610885c33cb0960e0448aea71a44))
|
|
309
|
+
* update standards dependencies ([8534ad7](https://github.com/iotaledger/twin-dataspace/commit/8534ad74b996610ed5994b5213c857989c2bf57a))
|
|
296
310
|
|
|
297
311
|
|
|
298
312
|
### Dependencies
|
|
@@ -301,7 +315,7 @@
|
|
|
301
315
|
* dependencies
|
|
302
316
|
* @twin.org/dataspace-models bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
303
317
|
|
|
304
|
-
## [0.0.3-next.3](https://github.com/
|
|
318
|
+
## [0.0.3-next.3](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.2...dataspace-test-app-v0.0.3-next.3) (2025-12-01)
|
|
305
319
|
|
|
306
320
|
|
|
307
321
|
### Miscellaneous Chores
|
|
@@ -315,7 +329,7 @@
|
|
|
315
329
|
* dependencies
|
|
316
330
|
* @twin.org/dataspace-models bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
317
331
|
|
|
318
|
-
## [0.0.3-next.2](https://github.com/
|
|
332
|
+
## [0.0.3-next.2](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.1...dataspace-test-app-v0.0.3-next.2) (2025-11-28)
|
|
319
333
|
|
|
320
334
|
|
|
321
335
|
### Miscellaneous Chores
|
|
@@ -329,25 +343,25 @@
|
|
|
329
343
|
* dependencies
|
|
330
344
|
* @twin.org/dataspace-models bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
331
345
|
|
|
332
|
-
## [0.0.3-next.1](https://github.com/
|
|
346
|
+
## [0.0.3-next.1](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.3-next.0...dataspace-test-app-v0.0.3-next.1) (2025-11-12)
|
|
333
347
|
|
|
334
348
|
|
|
335
349
|
### Features
|
|
336
350
|
|
|
337
|
-
* add context id features ([#26](https://github.com/
|
|
338
|
-
* add rest and socket clients ([950bf70](https://github.com/
|
|
339
|
-
* add validate-locales ([c0b08a7](https://github.com/
|
|
340
|
-
* dataspace ([#2](https://github.com/
|
|
341
|
-
* eslint migration to flat config ([b84e875](https://github.com/
|
|
342
|
-
* query interface data space connector ([#18](https://github.com/
|
|
343
|
-
* update framework components ([4d9ca95](https://github.com/
|
|
344
|
-
* use new engine extensions config ([80bdb5b](https://github.com/
|
|
345
|
-
* use new start signature ([4064d19](https://github.com/
|
|
351
|
+
* add context id features ([#26](https://github.com/iotaledger/twin-dataspace/issues/26)) ([6429a16](https://github.com/iotaledger/twin-dataspace/commit/6429a160dac9499304fdfb93a9dbdce37277ca7d))
|
|
352
|
+
* add rest and socket clients ([950bf70](https://github.com/iotaledger/twin-dataspace/commit/950bf705e6df4e709bbbe58e93968510067b9ddc))
|
|
353
|
+
* add validate-locales ([c0b08a7](https://github.com/iotaledger/twin-dataspace/commit/c0b08a73268f9fd3eb6ac3079b49d1ab0c01f118))
|
|
354
|
+
* dataspace ([#2](https://github.com/iotaledger/twin-dataspace/issues/2)) ([c2ac651](https://github.com/iotaledger/twin-dataspace/commit/c2ac651ceb6f35e46bd5eac97ac648bb1ee9dc0c))
|
|
355
|
+
* eslint migration to flat config ([b84e875](https://github.com/iotaledger/twin-dataspace/commit/b84e87530aa249891618096ab6e072b21ff9f63a))
|
|
356
|
+
* query interface data space connector ([#18](https://github.com/iotaledger/twin-dataspace/issues/18)) ([b12eca1](https://github.com/iotaledger/twin-dataspace/commit/b12eca124a8f46d290c168e364b7ed4bf72001d8))
|
|
357
|
+
* update framework components ([4d9ca95](https://github.com/iotaledger/twin-dataspace/commit/4d9ca95879bd6cae9d031595292b6a872bf5b5fd))
|
|
358
|
+
* use new engine extensions config ([80bdb5b](https://github.com/iotaledger/twin-dataspace/commit/80bdb5b298b65b5b22fa9927a0ad031cb9a3534d))
|
|
359
|
+
* use new start signature ([4064d19](https://github.com/iotaledger/twin-dataspace/commit/4064d19676b183e7162e667a701a24c4b1f48504))
|
|
346
360
|
|
|
347
361
|
|
|
348
362
|
### Bug Fixes
|
|
349
363
|
|
|
350
|
-
* the Dataspace Connector App receives Node Identity ([#14](https://github.com/
|
|
364
|
+
* the Dataspace Connector App receives Node Identity ([#14](https://github.com/iotaledger/twin-dataspace/issues/14)) ([a71ad44](https://github.com/iotaledger/twin-dataspace/commit/a71ad44539d9c2b55e13d865af58eeb9eb14e4ea))
|
|
351
365
|
|
|
352
366
|
|
|
353
367
|
### Dependencies
|
|
@@ -356,12 +370,12 @@
|
|
|
356
370
|
* dependencies
|
|
357
371
|
* @twin.org/dataspace-models bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
358
372
|
|
|
359
|
-
## [0.0.1-next.8](https://github.com/
|
|
373
|
+
## [0.0.1-next.8](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.1-next.7...dataspace-test-app-v0.0.1-next.8) (2025-10-09)
|
|
360
374
|
|
|
361
375
|
|
|
362
376
|
### Features
|
|
363
377
|
|
|
364
|
-
* add validate-locales ([c0b08a7](https://github.com/
|
|
378
|
+
* add validate-locales ([c0b08a7](https://github.com/iotaledger/twin-dataspace/commit/c0b08a73268f9fd3eb6ac3079b49d1ab0c01f118))
|
|
365
379
|
|
|
366
380
|
|
|
367
381
|
### Dependencies
|
|
@@ -370,12 +384,12 @@
|
|
|
370
384
|
* dependencies
|
|
371
385
|
* @twin.org/dataspace-models bumped from 0.0.1-next.7 to 0.0.1-next.8
|
|
372
386
|
|
|
373
|
-
## [0.0.1-next.7](https://github.com/
|
|
387
|
+
## [0.0.1-next.7](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.1-next.6...dataspace-test-app-v0.0.1-next.7) (2025-10-02)
|
|
374
388
|
|
|
375
389
|
|
|
376
390
|
### Features
|
|
377
391
|
|
|
378
|
-
* use new engine extensions config ([80bdb5b](https://github.com/
|
|
392
|
+
* use new engine extensions config ([80bdb5b](https://github.com/iotaledger/twin-dataspace/commit/80bdb5b298b65b5b22fa9927a0ad031cb9a3534d))
|
|
379
393
|
|
|
380
394
|
|
|
381
395
|
### Dependencies
|
|
@@ -384,12 +398,12 @@
|
|
|
384
398
|
* dependencies
|
|
385
399
|
* @twin.org/dataspace-models bumped from 0.0.1-next.6 to 0.0.1-next.7
|
|
386
400
|
|
|
387
|
-
## [0.0.1-next.6](https://github.com/
|
|
401
|
+
## [0.0.1-next.6](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.1-next.5...dataspace-test-app-v0.0.1-next.6) (2025-09-29)
|
|
388
402
|
|
|
389
403
|
|
|
390
404
|
### Features
|
|
391
405
|
|
|
392
|
-
* use new start signature ([4064d19](https://github.com/
|
|
406
|
+
* use new start signature ([4064d19](https://github.com/iotaledger/twin-dataspace/commit/4064d19676b183e7162e667a701a24c4b1f48504))
|
|
393
407
|
|
|
394
408
|
|
|
395
409
|
### Dependencies
|
|
@@ -398,17 +412,17 @@
|
|
|
398
412
|
* dependencies
|
|
399
413
|
* @twin.org/dataspace-models bumped from 0.0.1-next.5 to 0.0.1-next.6
|
|
400
414
|
|
|
401
|
-
## [0.0.1-next.5](https://github.com/
|
|
415
|
+
## [0.0.1-next.5](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.1-next.4...dataspace-test-app-v0.0.1-next.5) (2025-09-29)
|
|
402
416
|
|
|
403
417
|
|
|
404
418
|
### Features
|
|
405
419
|
|
|
406
|
-
* update framework components ([4d9ca95](https://github.com/
|
|
420
|
+
* update framework components ([4d9ca95](https://github.com/iotaledger/twin-dataspace/commit/4d9ca95879bd6cae9d031595292b6a872bf5b5fd))
|
|
407
421
|
|
|
408
422
|
|
|
409
423
|
### Bug Fixes
|
|
410
424
|
|
|
411
|
-
* the Dataspace Connector App receives Node Identity ([#14](https://github.com/
|
|
425
|
+
* the Dataspace Connector App receives Node Identity ([#14](https://github.com/iotaledger/twin-dataspace/issues/14)) ([a71ad44](https://github.com/iotaledger/twin-dataspace/commit/a71ad44539d9c2b55e13d865af58eeb9eb14e4ea))
|
|
412
426
|
|
|
413
427
|
|
|
414
428
|
### Dependencies
|
|
@@ -417,12 +431,12 @@
|
|
|
417
431
|
* dependencies
|
|
418
432
|
* @twin.org/dataspace-models bumped from 0.0.1-next.4 to 0.0.1-next.5
|
|
419
433
|
|
|
420
|
-
## [0.0.1-next.4](https://github.com/
|
|
434
|
+
## [0.0.1-next.4](https://github.com/iotaledger/twin-dataspace/compare/dataspace-test-app-v0.0.1-next.3...dataspace-test-app-v0.0.1-next.4) (2025-08-29)
|
|
421
435
|
|
|
422
436
|
|
|
423
437
|
### Features
|
|
424
438
|
|
|
425
|
-
* eslint migration to flat config ([b84e875](https://github.com/
|
|
439
|
+
* eslint migration to flat config ([b84e875](https://github.com/iotaledger/twin-dataspace/commit/b84e87530aa249891618096ab6e072b21ff9f63a))
|
|
426
440
|
|
|
427
441
|
|
|
428
442
|
### Dependencies
|
|
@@ -80,24 +80,6 @@ The options for each process group.
|
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
|
-
### datasetsHandled() {#datasetshandled}
|
|
84
|
-
|
|
85
|
-
> **datasetsHandled**(): `Promise`\<`IDataspaceProtocolDataset`[]\>
|
|
86
|
-
|
|
87
|
-
Datasets handled by the App.
|
|
88
|
-
|
|
89
|
-
#### Returns
|
|
90
|
-
|
|
91
|
-
`Promise`\<`IDataspaceProtocolDataset`[]\>
|
|
92
|
-
|
|
93
|
-
Dataspace Protocol compliant datasets
|
|
94
|
-
|
|
95
|
-
#### Implementation of
|
|
96
|
-
|
|
97
|
-
`IDataspaceApp.datasetsHandled`
|
|
98
|
-
|
|
99
|
-
***
|
|
100
|
-
|
|
101
83
|
### supportedQueryTypes() {#supportedquerytypes}
|
|
102
84
|
|
|
103
85
|
> **supportedQueryTypes**(): `string`[]
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/dataspace-test-app",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.27",
|
|
4
4
|
"description": "Provides a sample dataspace app for local integration tests and development workflows.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/iotaledger/dataspace.git",
|
|
8
8
|
"directory": "packages/dataspace-test-app"
|
|
9
9
|
},
|
|
10
10
|
"author": "jose.cantera@iota.org",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
20
|
"@twin.org/data-core": "next",
|
|
21
21
|
"@twin.org/data-json-ld": "next",
|
|
22
|
-
"@twin.org/dataspace-models": "0.0.3-next.
|
|
22
|
+
"@twin.org/dataspace-models": "0.0.3-next.27",
|
|
23
23
|
"@twin.org/engine-models": "next",
|
|
24
24
|
"@twin.org/engine-types": "next",
|
|
25
25
|
"@twin.org/logging-models": "next",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"integration"
|
|
56
56
|
],
|
|
57
57
|
"bugs": {
|
|
58
|
-
"url": "git+https://github.com/
|
|
58
|
+
"url": "git+https://github.com/iotaledger/dataspace/issues"
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://twindev.org"
|
|
61
61
|
}
|