@twin.org/dataspace-test-app 0.0.3-next.25 → 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 = [
|
|
@@ -104,46 +102,15 @@ export class TestDataspaceDataPlaneApp {
|
|
|
104
102
|
return TestDataspaceDataPlaneApp.CLASS_NAME;
|
|
105
103
|
}
|
|
106
104
|
/**
|
|
107
|
-
*
|
|
108
|
-
* @returns
|
|
105
|
+
* The settings for the processing groups for tasks.
|
|
106
|
+
* @returns The options for each process group.
|
|
109
107
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
{
|
|
115
|
-
"@context": [
|
|
116
|
-
DataspaceProtocolContexts.Context,
|
|
117
|
-
{
|
|
118
|
-
dcterms: DublinCoreContexts.NamespaceTerms
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"@id": "https://twin.example.org/data-service-1",
|
|
122
|
-
"@type": "Dataset",
|
|
123
|
-
"dcterms:publisher": organizationId,
|
|
124
|
-
hasPolicy: [
|
|
125
|
-
{
|
|
126
|
-
"@id": "urn:policy:test-offer-read-consignment",
|
|
127
|
-
"@type": "Offer",
|
|
128
|
-
assigner: organizationId,
|
|
129
|
-
permission: [
|
|
130
|
-
{
|
|
131
|
-
action: "read"
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
distribution: [
|
|
137
|
-
{
|
|
138
|
-
"@id": "https://twin.example.org/distribution-1",
|
|
139
|
-
"@type": "Distribution",
|
|
140
|
-
accessService: "https://twin.example.org/data-service-1",
|
|
141
|
-
format: "Http-Pull-Query-Format"
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
"dcterms:type": "https://vocabulary.uncefact.org/Consignment"
|
|
108
|
+
processingGroups() {
|
|
109
|
+
return {
|
|
110
|
+
"test-default": {
|
|
111
|
+
concurrentTasks: 2
|
|
145
112
|
}
|
|
146
|
-
|
|
113
|
+
};
|
|
147
114
|
}
|
|
148
115
|
/**
|
|
149
116
|
* Supported query types.
|
|
@@ -182,7 +149,12 @@ export class TestDataspaceDataPlaneApp {
|
|
|
182
149
|
* @returns The activities handled by the App.
|
|
183
150
|
*/
|
|
184
151
|
activitiesHandled() {
|
|
185
|
-
return [
|
|
152
|
+
return [
|
|
153
|
+
{
|
|
154
|
+
objectType: "https://vocabulary.uncefact.org/Consignment",
|
|
155
|
+
processingGroupId: "test-default"
|
|
156
|
+
}
|
|
157
|
+
];
|
|
186
158
|
}
|
|
187
159
|
/**
|
|
188
160
|
* Handle Activity.
|
|
@@ -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,EAKf,MAAM,4BAA4B,CAAC;AAGpC,OAAO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IAAI,CAAC,aAA2C;qBACtD,CAAC;gBACH,CAAC;gBAED,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;YACrB,CAAC;YAED,KAAK,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} 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 * 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 [{ objectType: \"https://vocabulary.uncefact.org/Consignment\" }];\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,YAAY;QACxB,QAAQ,EAAE,sBAAsB;QAChC,kBAAkB,EAAE;YACnB,IAAI,EAAE,SAAS;YACf,SAAS,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C","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
|
-
import { type IDataspaceActivity, type IActivityQuery, type IDataRequest, type IDataspaceApp } from "@twin.org/dataspace-models";
|
|
3
|
-
import { type IDataspaceProtocolDataset } from "@twin.org/standards-dataspace-protocol";
|
|
2
|
+
import { type IDataspaceActivity, type IActivityQuery, type IDataRequest, type IDataspaceApp, type IProcessingGroupOptions } from "@twin.org/dataspace-models";
|
|
4
3
|
import type { ITestAppConstructorOptions } from "./ITestAppConstructorOptions.js";
|
|
5
4
|
/**
|
|
6
5
|
* Test App Activity Handler.
|
|
@@ -25,10 +24,12 @@ export declare class TestDataspaceDataPlaneApp implements IDataspaceApp {
|
|
|
25
24
|
*/
|
|
26
25
|
className(): string;
|
|
27
26
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @returns
|
|
27
|
+
* The settings for the processing groups for tasks.
|
|
28
|
+
* @returns The options for each process group.
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
processingGroups(): {
|
|
31
|
+
[id: string]: IProcessingGroupOptions;
|
|
32
|
+
};
|
|
32
33
|
/**
|
|
33
34
|
* Supported query types.
|
|
34
35
|
* @returns Types.
|
package/docs/changelog.md
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
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
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
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))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/dataspace-models bumped from 0.0.3-next.25 to 0.0.3-next.26
|
|
30
|
+
|
|
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)
|
|
4
32
|
|
|
5
33
|
|
|
6
34
|
### Miscellaneous Chores
|
|
@@ -14,7 +42,7 @@
|
|
|
14
42
|
* dependencies
|
|
15
43
|
* @twin.org/dataspace-models bumped from 0.0.3-next.24 to 0.0.3-next.25
|
|
16
44
|
|
|
17
|
-
## [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)
|
|
18
46
|
|
|
19
47
|
|
|
20
48
|
### Miscellaneous Chores
|
|
@@ -28,12 +56,12 @@
|
|
|
28
56
|
* dependencies
|
|
29
57
|
* @twin.org/dataspace-models bumped from 0.0.3-next.23 to 0.0.3-next.24
|
|
30
58
|
|
|
31
|
-
## [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)
|
|
32
60
|
|
|
33
61
|
|
|
34
62
|
### Features
|
|
35
63
|
|
|
36
|
-
* 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))
|
|
37
65
|
|
|
38
66
|
|
|
39
67
|
### Dependencies
|
|
@@ -42,7 +70,7 @@
|
|
|
42
70
|
* dependencies
|
|
43
71
|
* @twin.org/dataspace-models bumped from 0.0.3-next.22 to 0.0.3-next.23
|
|
44
72
|
|
|
45
|
-
## [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)
|
|
46
74
|
|
|
47
75
|
|
|
48
76
|
### Miscellaneous Chores
|
|
@@ -56,12 +84,12 @@
|
|
|
56
84
|
* dependencies
|
|
57
85
|
* @twin.org/dataspace-models bumped from 0.0.3-next.21 to 0.0.3-next.22
|
|
58
86
|
|
|
59
|
-
## [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)
|
|
60
88
|
|
|
61
89
|
|
|
62
90
|
### Features
|
|
63
91
|
|
|
64
|
-
* improve open-api examples ([1368dbe](https://github.com/
|
|
92
|
+
* improve open-api examples ([1368dbe](https://github.com/iotaledger/twin-dataspace/commit/1368dbed5c36e074b4854942304a19b9ce51e088))
|
|
65
93
|
|
|
66
94
|
|
|
67
95
|
### Dependencies
|
|
@@ -70,7 +98,7 @@
|
|
|
70
98
|
* dependencies
|
|
71
99
|
* @twin.org/dataspace-models bumped from 0.0.3-next.20 to 0.0.3-next.21
|
|
72
100
|
|
|
73
|
-
## [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)
|
|
74
102
|
|
|
75
103
|
|
|
76
104
|
### Miscellaneous Chores
|
|
@@ -84,7 +112,7 @@
|
|
|
84
112
|
* dependencies
|
|
85
113
|
* @twin.org/dataspace-models bumped from 0.0.3-next.19 to 0.0.3-next.20
|
|
86
114
|
|
|
87
|
-
## [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)
|
|
88
116
|
|
|
89
117
|
|
|
90
118
|
### Miscellaneous Chores
|
|
@@ -98,12 +126,12 @@
|
|
|
98
126
|
* dependencies
|
|
99
127
|
* @twin.org/dataspace-models bumped from 0.0.3-next.18 to 0.0.3-next.19
|
|
100
128
|
|
|
101
|
-
## [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)
|
|
102
130
|
|
|
103
131
|
|
|
104
132
|
### Features
|
|
105
133
|
|
|
106
|
-
* 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))
|
|
107
135
|
|
|
108
136
|
|
|
109
137
|
### Dependencies
|
|
@@ -112,18 +140,18 @@
|
|
|
112
140
|
* dependencies
|
|
113
141
|
* @twin.org/dataspace-models bumped from 0.0.3-next.17 to 0.0.3-next.18
|
|
114
142
|
|
|
115
|
-
## [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)
|
|
116
144
|
|
|
117
145
|
|
|
118
146
|
### Features
|
|
119
147
|
|
|
120
|
-
* docs update ([8b44c7a](https://github.com/
|
|
121
|
-
* 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))
|
|
122
150
|
|
|
123
151
|
|
|
124
152
|
### Bug Fixes
|
|
125
153
|
|
|
126
|
-
* 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))
|
|
127
155
|
|
|
128
156
|
|
|
129
157
|
### Dependencies
|
|
@@ -132,7 +160,7 @@
|
|
|
132
160
|
* dependencies
|
|
133
161
|
* @twin.org/dataspace-models bumped from 0.0.3-next.16 to 0.0.3-next.17
|
|
134
162
|
|
|
135
|
-
## [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)
|
|
136
164
|
|
|
137
165
|
|
|
138
166
|
### Miscellaneous Chores
|
|
@@ -146,12 +174,12 @@
|
|
|
146
174
|
* dependencies
|
|
147
175
|
* @twin.org/dataspace-models bumped from 0.0.3-next.15 to 0.0.3-next.16
|
|
148
176
|
|
|
149
|
-
## [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)
|
|
150
178
|
|
|
151
179
|
|
|
152
180
|
### Features
|
|
153
181
|
|
|
154
|
-
* 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))
|
|
155
183
|
|
|
156
184
|
|
|
157
185
|
### Dependencies
|
|
@@ -160,7 +188,7 @@
|
|
|
160
188
|
* dependencies
|
|
161
189
|
* @twin.org/dataspace-models bumped from 0.0.3-next.14 to 0.0.3-next.15
|
|
162
190
|
|
|
163
|
-
## [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)
|
|
164
192
|
|
|
165
193
|
|
|
166
194
|
### Miscellaneous Chores
|
|
@@ -174,12 +202,12 @@
|
|
|
174
202
|
* dependencies
|
|
175
203
|
* @twin.org/dataspace-models bumped from 0.0.3-next.11 to 0.0.3-next.12
|
|
176
204
|
|
|
177
|
-
## [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)
|
|
178
206
|
|
|
179
207
|
|
|
180
208
|
### Features
|
|
181
209
|
|
|
182
|
-
* update contexts ([1c9a169](https://github.com/
|
|
210
|
+
* update contexts ([1c9a169](https://github.com/iotaledger/twin-dataspace/commit/1c9a169ebc44af59df890eb29dd5cb4274940ebe))
|
|
183
211
|
|
|
184
212
|
|
|
185
213
|
### Dependencies
|
|
@@ -188,12 +216,12 @@
|
|
|
188
216
|
* dependencies
|
|
189
217
|
* @twin.org/dataspace-models bumped from 0.0.3-next.10 to 0.0.3-next.11
|
|
190
218
|
|
|
191
|
-
## [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)
|
|
192
220
|
|
|
193
221
|
|
|
194
222
|
### Features
|
|
195
223
|
|
|
196
|
-
* 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))
|
|
197
225
|
|
|
198
226
|
|
|
199
227
|
### Dependencies
|
|
@@ -202,7 +230,7 @@
|
|
|
202
230
|
* dependencies
|
|
203
231
|
* @twin.org/dataspace-models bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
204
232
|
|
|
205
|
-
## [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)
|
|
206
234
|
|
|
207
235
|
|
|
208
236
|
### Miscellaneous Chores
|
|
@@ -216,7 +244,7 @@
|
|
|
216
244
|
* dependencies
|
|
217
245
|
* @twin.org/dataspace-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
218
246
|
|
|
219
|
-
## [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)
|
|
220
248
|
|
|
221
249
|
|
|
222
250
|
### Miscellaneous Chores
|
|
@@ -230,12 +258,12 @@
|
|
|
230
258
|
* dependencies
|
|
231
259
|
* @twin.org/dataspace-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
232
260
|
|
|
233
|
-
## [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)
|
|
234
262
|
|
|
235
263
|
|
|
236
264
|
### Features
|
|
237
265
|
|
|
238
|
-
* 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))
|
|
239
267
|
|
|
240
268
|
|
|
241
269
|
### Dependencies
|
|
@@ -244,12 +272,12 @@
|
|
|
244
272
|
* dependencies
|
|
245
273
|
* @twin.org/dataspace-models bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
246
274
|
|
|
247
|
-
## [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)
|
|
248
276
|
|
|
249
277
|
|
|
250
278
|
### Features
|
|
251
279
|
|
|
252
|
-
* 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))
|
|
253
281
|
|
|
254
282
|
|
|
255
283
|
### Dependencies
|
|
@@ -258,7 +286,7 @@
|
|
|
258
286
|
* dependencies
|
|
259
287
|
* @twin.org/dataspace-models bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
260
288
|
|
|
261
|
-
## [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)
|
|
262
290
|
|
|
263
291
|
|
|
264
292
|
### Miscellaneous Chores
|
|
@@ -272,13 +300,13 @@
|
|
|
272
300
|
* dependencies
|
|
273
301
|
* @twin.org/dataspace-models bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
274
302
|
|
|
275
|
-
## [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)
|
|
276
304
|
|
|
277
305
|
|
|
278
306
|
### Features
|
|
279
307
|
|
|
280
|
-
* rfc 004 implementation ([#34](https://github.com/
|
|
281
|
-
* 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))
|
|
282
310
|
|
|
283
311
|
|
|
284
312
|
### Dependencies
|
|
@@ -287,7 +315,7 @@
|
|
|
287
315
|
* dependencies
|
|
288
316
|
* @twin.org/dataspace-models bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
289
317
|
|
|
290
|
-
## [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)
|
|
291
319
|
|
|
292
320
|
|
|
293
321
|
### Miscellaneous Chores
|
|
@@ -301,7 +329,7 @@
|
|
|
301
329
|
* dependencies
|
|
302
330
|
* @twin.org/dataspace-models bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
303
331
|
|
|
304
|
-
## [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)
|
|
305
333
|
|
|
306
334
|
|
|
307
335
|
### Miscellaneous Chores
|
|
@@ -315,25 +343,25 @@
|
|
|
315
343
|
* dependencies
|
|
316
344
|
* @twin.org/dataspace-models bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
317
345
|
|
|
318
|
-
## [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)
|
|
319
347
|
|
|
320
348
|
|
|
321
349
|
### Features
|
|
322
350
|
|
|
323
|
-
* add context id features ([#26](https://github.com/
|
|
324
|
-
* add rest and socket clients ([950bf70](https://github.com/
|
|
325
|
-
* add validate-locales ([c0b08a7](https://github.com/
|
|
326
|
-
* dataspace ([#2](https://github.com/
|
|
327
|
-
* eslint migration to flat config ([b84e875](https://github.com/
|
|
328
|
-
* query interface data space connector ([#18](https://github.com/
|
|
329
|
-
* update framework components ([4d9ca95](https://github.com/
|
|
330
|
-
* use new engine extensions config ([80bdb5b](https://github.com/
|
|
331
|
-
* 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))
|
|
332
360
|
|
|
333
361
|
|
|
334
362
|
### Bug Fixes
|
|
335
363
|
|
|
336
|
-
* 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))
|
|
337
365
|
|
|
338
366
|
|
|
339
367
|
### Dependencies
|
|
@@ -342,12 +370,12 @@
|
|
|
342
370
|
* dependencies
|
|
343
371
|
* @twin.org/dataspace-models bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
344
372
|
|
|
345
|
-
## [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)
|
|
346
374
|
|
|
347
375
|
|
|
348
376
|
### Features
|
|
349
377
|
|
|
350
|
-
* add validate-locales ([c0b08a7](https://github.com/
|
|
378
|
+
* add validate-locales ([c0b08a7](https://github.com/iotaledger/twin-dataspace/commit/c0b08a73268f9fd3eb6ac3079b49d1ab0c01f118))
|
|
351
379
|
|
|
352
380
|
|
|
353
381
|
### Dependencies
|
|
@@ -356,12 +384,12 @@
|
|
|
356
384
|
* dependencies
|
|
357
385
|
* @twin.org/dataspace-models bumped from 0.0.1-next.7 to 0.0.1-next.8
|
|
358
386
|
|
|
359
|
-
## [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)
|
|
360
388
|
|
|
361
389
|
|
|
362
390
|
### Features
|
|
363
391
|
|
|
364
|
-
* use new engine extensions config ([80bdb5b](https://github.com/
|
|
392
|
+
* use new engine extensions config ([80bdb5b](https://github.com/iotaledger/twin-dataspace/commit/80bdb5b298b65b5b22fa9927a0ad031cb9a3534d))
|
|
365
393
|
|
|
366
394
|
|
|
367
395
|
### Dependencies
|
|
@@ -370,12 +398,12 @@
|
|
|
370
398
|
* dependencies
|
|
371
399
|
* @twin.org/dataspace-models bumped from 0.0.1-next.6 to 0.0.1-next.7
|
|
372
400
|
|
|
373
|
-
## [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)
|
|
374
402
|
|
|
375
403
|
|
|
376
404
|
### Features
|
|
377
405
|
|
|
378
|
-
* use new start signature ([4064d19](https://github.com/
|
|
406
|
+
* use new start signature ([4064d19](https://github.com/iotaledger/twin-dataspace/commit/4064d19676b183e7162e667a701a24c4b1f48504))
|
|
379
407
|
|
|
380
408
|
|
|
381
409
|
### Dependencies
|
|
@@ -384,17 +412,17 @@
|
|
|
384
412
|
* dependencies
|
|
385
413
|
* @twin.org/dataspace-models bumped from 0.0.1-next.5 to 0.0.1-next.6
|
|
386
414
|
|
|
387
|
-
## [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)
|
|
388
416
|
|
|
389
417
|
|
|
390
418
|
### Features
|
|
391
419
|
|
|
392
|
-
* update framework components ([4d9ca95](https://github.com/
|
|
420
|
+
* update framework components ([4d9ca95](https://github.com/iotaledger/twin-dataspace/commit/4d9ca95879bd6cae9d031595292b6a872bf5b5fd))
|
|
393
421
|
|
|
394
422
|
|
|
395
423
|
### Bug Fixes
|
|
396
424
|
|
|
397
|
-
* 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))
|
|
398
426
|
|
|
399
427
|
|
|
400
428
|
### Dependencies
|
|
@@ -403,12 +431,12 @@
|
|
|
403
431
|
* dependencies
|
|
404
432
|
* @twin.org/dataspace-models bumped from 0.0.1-next.4 to 0.0.1-next.5
|
|
405
433
|
|
|
406
|
-
## [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)
|
|
407
435
|
|
|
408
436
|
|
|
409
437
|
### Features
|
|
410
438
|
|
|
411
|
-
* eslint migration to flat config ([b84e875](https://github.com/
|
|
439
|
+
* eslint migration to flat config ([b84e875](https://github.com/iotaledger/twin-dataspace/commit/b84e87530aa249891618096ab6e072b21ff9f63a))
|
|
412
440
|
|
|
413
441
|
|
|
414
442
|
### Dependencies
|
|
@@ -62,21 +62,21 @@ The class name of the component.
|
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
65
|
-
###
|
|
65
|
+
### processingGroups() {#processinggroups}
|
|
66
66
|
|
|
67
|
-
> **
|
|
67
|
+
> **processingGroups**(): `object`
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
The settings for the processing groups for tasks.
|
|
70
70
|
|
|
71
71
|
#### Returns
|
|
72
72
|
|
|
73
|
-
`
|
|
73
|
+
`object`
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
The options for each process group.
|
|
76
76
|
|
|
77
77
|
#### Implementation of
|
|
78
78
|
|
|
79
|
-
`IDataspaceApp.
|
|
79
|
+
`IDataspaceApp.processingGroups`
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
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
|
}
|