Skip to content

Commit

Permalink
chore(deps): bump dsp-api to 24.0.3 (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpro7 authored Sep 23, 2022
1 parent 2df52ea commit 3916e6b
Show file tree
Hide file tree
Showing 115 changed files with 126 additions and 126 deletions.
4 changes: 2 additions & 2 deletions src/api/v2/ontology/ontologies-endpoint.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ describe("OntologiesEndpoint", () => {
deleteCardinalitiesFromClassRequest.id = "http://0.0.0.0:3333/ontology/0001/freetest/v2";

// update this timestamp after every release of dsp-api
deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-09T07:52:15.273219859Z";
deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-23T08:03:38.468359102Z";

const cardinalityToRemove = new UpdateResourceClassCardinality();

Expand Down Expand Up @@ -1265,7 +1265,7 @@ describe("OntologiesEndpoint", () => {
deleteCardinalitiesFromClassRequest.id = "http://0.0.0.0:3333/ontology/0001/freetest/v2";

// update this timestamp after every release of dsp-api
deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-09T07:52:15.273219859Z";
deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-23T08:03:38.468359102Z";

const cardinalityToRemove = new UpdateResourceClassCardinality();

Expand Down
8 changes: 4 additions & 4 deletions src/api/v2/resource/resources-endpoint.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ describe("ResourcesEndpoint", () => {
expect(res.hasPermissions).toEqual("CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember");

// update this timestamp after every release of dsp-api
expect(res.lastModificationDate).toEqual("2022-09-10T07:41:03.157343158Z");
expect(res.lastModificationDate).toEqual("2022-09-24T07:55:51.540428065Z");
done();
}
);
Expand Down Expand Up @@ -550,7 +550,7 @@ describe("ResourcesEndpoint", () => {
updateResourceMetadata.lastModificationDate = "2021-09-30T16:41:46.980756Z";

// update this timestamp after every release of dsp-api
updateResourceMetadata.newModificationDate = "2022-09-10T07:41:04.349155655Z";
updateResourceMetadata.newModificationDate = "2022-09-24T07:55:52.603204095Z";

knoraApiConnection.v2.res.updateResourceMetadata(updateResourceMetadata).subscribe(
(res: UpdateResourceMetadataResponse) => {
Expand All @@ -560,7 +560,7 @@ describe("ResourcesEndpoint", () => {
expect(res.hasPermissions).toEqual("CR knora-admin:ProjectMember|V knora-admin:ProjectMember");

// update this timestamp after every release of dsp-api
expect(res.lastModificationDate).toEqual("2022-09-10T07:41:04.349155655Z");
expect(res.lastModificationDate).toEqual("2022-09-24T07:55:52.603204095Z");
done();
}
);
Expand All @@ -578,7 +578,7 @@ describe("ResourcesEndpoint", () => {
expectedPayload["http://api.knora.org/ontology/knora-api/v2#lastModificationDate"]["@value"] = "2021-09-30T16:41:46.980756Z";

// update this timestamp after every release of dsp-api
expectedPayload["http://api.knora.org/ontology/knora-api/v2#newModificationDate"]["@value"] = "2022-09-10T07:41:04.349155655Z";
expectedPayload["http://api.knora.org/ontology/knora-api/v2#newModificationDate"]["@value"] = "2022-09-24T07:55:52.603204095Z";

expect(request.data()).toEqual(expectedPayload);

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}}
{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}}
2 changes: 1 addition & 1 deletion test/data/api/admin/groups/create-group-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"group":{"descriptions":[{"value":"NewGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"NewGroup","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}}
{"group":{"descriptions":[{"value":"NewGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"NewGroup","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}}
2 changes: 1 addition & 1 deletion test/data/api/admin/groups/delete-group-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":false}}
{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":false}}
2 changes: 1 addition & 1 deletion test/data/api/admin/groups/update-group-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}}
{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parentNodeIri": "http://rdfh.ch/lists/0001/Ccaiory_RhSyHqBg6jrryg",
"parentNodeIri": "http://rdfh.ch/lists/0001/_aBhbolSRF2lJZDz3ZwQSA",
"projectIri": "http://rdfh.ch/projects/0001",
"name": "third",
"labels": [{ "value": "New Third Child List Node Value", "language": "en"}],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nodeinfo":{"comments":[{"value":"New Third Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/SFpplsU7T4yY6ayIgKm1jg","labels":[{"value":"New Third Child List Node Value","language":"en"}],"name":"third","position":0}}
{"nodeinfo":{"comments":[{"value":"New Third Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/ZsW4et73RpyO-fuWZzL-tA","labels":[{"value":"New Third Child List Node Value","language":"en"}],"name":"third","position":0}}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parentNodeIri": "http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g",
"parentNodeIri": "http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ",
"projectIri": "http://rdfh.ch/projects/0001",
"name": "second",
"labels": [{ "value": "New Second Child List Node Value", "language": "en"}],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nodeinfo":{"comments":[{"value":"New Second Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/lDbWM8DDSg-nNLGDxTJObA","labels":[{"value":"New Second Child List Node Value","language":"en"}],"name":"second","position":1}}
{"nodeinfo":{"comments":[{"value":"New Second Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/nLqAi2o5RISLL29CoIvf4w","labels":[{"value":"New Second Child List Node Value","language":"en"}],"name":"second","position":1}}
2 changes: 1 addition & 1 deletion test/data/api/admin/lists/create-child-node-request.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parentNodeIri": "http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g",
"parentNodeIri": "http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ",
"projectIri": "http://rdfh.ch/projects/0001",
"name": "first",
"labels": [{ "value": "New First Child List Node Value", "language": "en"}],
Expand Down
2 changes: 1 addition & 1 deletion test/data/api/admin/lists/create-child-node-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nodeinfo":{"comments":[{"value":"New First Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/xFrq7w7MQou2HK5FMspcQA","labels":[{"value":"New First Child List Node Value","language":"en"}],"name":"first","position":0}}
{"nodeinfo":{"comments":[{"value":"New First Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/pJtTDLk2TDu0e_sDtZr1Ww","labels":[{"value":"New First Child List Node Value","language":"en"}],"name":"first","position":0}}
2 changes: 1 addition & 1 deletion test/data/api/admin/lists/create-list-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"list":{"children":[],"listinfo":{"comments":[{"value":"XXXXX","language":"en"}],"id":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","isRootNode":true,"labels":[{"value":"Neue Liste","language":"de"}],"projectIri":"http://rdfh.ch/projects/0001"}}}
{"list":{"children":[],"listinfo":{"comments":[{"value":"XXXXX","language":"en"}],"id":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","isRootNode":true,"labels":[{"value":"Neue Liste","language":"de"}],"projectIri":"http://rdfh.ch/projects/0001"}}}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parentNodeIri": "http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g",
"parentNodeIri": "http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ",
"projectIri": "http://rdfh.ch/projects/0001",
"name": "child with position",
"position": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nodeinfo":{"comments":[{"value":"Inserted List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/Ccaiory_RhSyHqBg6jrryg","labels":[{"value":"Inserted List Node Label","language":"en"}],"name":"child with position","position":1}}
{"nodeinfo":{"comments":[{"value":"Inserted List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/_aBhbolSRF2lJZDz3ZwQSA","labels":[{"value":"Inserted List Node Label","language":"en"}],"name":"child with position","position":1}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"administrative_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","hasPermissions":[{"additionalInformation":null,"name":"ProjectAdminGroupAllPermission","permissionCode":null}],"iri":"http://rdfh.ch/permissions/0001/oYXZFnt1T2eJNutntpS85A"}}
{"administrative_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","hasPermissions":[{"additionalInformation":null,"name":"ProjectAdminGroupAllPermission","permissionCode":null}],"iri":"http://rdfh.ch/permissions/0001/jKYnhICpRjG7UM4YWprI2A"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"default_object_access_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","forProperty":null,"forResourceClass":null,"hasPermissions":[{"additionalInformation":"http://www.knora.org/ontology/knora-admin#ProjectMember","name":"D","permissionCode":7}],"iri":"http://rdfh.ch/permissions/0001/fUUfmCbxQqi9l7C0DSqPWw"}}
{"default_object_access_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","forProperty":null,"forResourceClass":null,"hasPermissions":[{"additionalInformation":"http://www.knora.org/ontology/knora-admin#ProjectMember","name":"D","permissionCode":7}],"iri":"http://rdfh.ch/permissions/0001/ewYjGIYeSt2ppCeag6Htxg"}}
2 changes: 1 addition & 1 deletion test/data/api/admin/users/create-user-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"user":{"email":"donald.duck@example.org","familyName":"Duck","givenName":"Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"en","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.duck"}}
{"user":{"email":"donald.duck@example.org","familyName":"Duck","givenName":"Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"en","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.duck"}}
2 changes: 1 addition & 1 deletion test/data/api/admin/users/update-user-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.big.duck"}}
{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.big.duck"}}
2 changes: 1 addition & 1 deletion test/data/api/admin/users/update-user-status-response.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}}
{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{"http://www.knora.org/ontology/knora-admin#SystemProject":["http://www.knora.org/ontology/knora-admin#SystemAdmin"]}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}}
{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{"http://www.knora.org/ontology/knora-admin#SystemProject":["http://www.knora.org/ontology/knora-admin#SystemAdmin"]}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}}
4 changes: 2 additions & 2 deletions test/data/api/system/health/response-headers.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Server: webapi/24.0.2 akka-http/10.2.9
Date: Fri, 09 Sep 2022 07:38:32 GMT
Server: webapi/24.0.3 akka-http/10.2.10
Date: Fri, 23 Sep 2022 07:54:08 GMT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:52.881153800Z"}}
{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:21.083249921Z"}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@type" : "owl:Ontology",
"knora-api:lastModificationDate" : {
"@type" : "xsd:dateTimeStamp",
"@value" : "2022-09-09T07:51:52.881153800Z"
"@value" : "2022-09-23T08:03:21.083249921Z"
},
"@graph" : [ {
"@id" : "anything:Nothing",
Expand Down
Loading

0 comments on commit 3916e6b

Please sign in to comment.