Skip to content
This repository was archived by the owner on Oct 8, 2023. It is now read-only.

Commit deed1cc

Browse files
korydraughnalanking
authored andcommitted
[#180] Bump version to 0.9.4.
1 parent 36cbf14 commit deed1cc

File tree

7 files changed

+53
-53
lines changed

7 files changed

+53
-53
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ find_package(IRODS 4.3.0 EXACT REQUIRED CONFIG)
44

55
set(IRODS_CLIENT_VERSION_MAJOR "0")
66
set(IRODS_CLIENT_VERSION_MINOR "9")
7-
set(IRODS_CLIENT_VERSION_PATCH "3")
7+
set(IRODS_CLIENT_VERSION_PATCH "4")
88
set(IRODS_CLIENT_VERSION "${IRODS_CLIENT_VERSION_MAJOR}.${IRODS_CLIENT_VERSION_MINOR}.${IRODS_CLIENT_VERSION_PATCH}")
99

1010
set(IRODS_PACKAGE_REVISION "0")

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The administration interface to the iRODS Catalog which allows the creation, rem
216216

217217
**Example CURL Command:**
218218
```
219-
curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/admin?action=add&target=resource&arg2=ufs0&arg3=unixfilesystem&arg4=/tmp/irods/ufs0&arg5=&arg6=tempZone&arg7='
219+
curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/admin?action=add&target=resource&arg2=ufs0&arg3=unixfilesystem&arg4=/tmp/irods/ufs0&arg5=&arg6=tempZone&arg7='
220220
```
221221

222222
**Returns**
@@ -234,7 +234,7 @@ This endpoint provides an authentication service for the iRODS zone, currently o
234234
**Example CURL Command:**
235235
```
236236
export SECRETS=$(echo -n rods:rods | base64)
237-
export TOKEN=$(curl -X POST -H "Authorization: Basic ${SECRETS}" http://localhost:80/irods-rest/0.9.3/auth)
237+
export TOKEN=$(curl -X POST -H "Authorization: Basic ${SECRETS}" http://localhost:80/irods-rest/0.9.4/auth)
238238
```
239239

240240
**Returns:**
@@ -251,7 +251,7 @@ This endpoint will return a JSON structure holding the configuration for an iROD
251251

252252
**Example CURL Command:**
253253
```
254-
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/get_configuration' | jq
254+
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/get_configuration' | jq
255255
```
256256

257257
### /list
@@ -269,7 +269,7 @@ This endpoint provides a recursive listing of a collection, or stat, metadata, a
269269

270270
**Example CURL Command:**
271271
```
272-
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100' | jq
272+
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100' | jq
273273
```
274274

275275
**Returns**
@@ -300,11 +300,11 @@ A JSON structured response within the body containing the listing, or an iRODS e
300300
}
301301
],
302302
"_links": {
303-
"first": "/irods-rest/0.9.3/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100",
304-
"last": "/irods-rest/0.9.3/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=UNSUPPORTED&limit=100",
305-
"next": "/irods-rest/0.9.3/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=100&limit=100",
306-
"prev": "/irods-rest/0.9.3/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100",
307-
"self": "/irods-rest/0.9.3/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100"
303+
"first": "/irods-rest/0.9.4/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100",
304+
"last": "/irods-rest/0.9.4/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=UNSUPPORTED&limit=100",
305+
"next": "/irods-rest/0.9.4/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=100&limit=100",
306+
"prev": "/irods-rest/0.9.4/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100",
307+
"self": "/irods-rest/0.9.4/list?logical-path=%2FtempZone%2Fhome%2Frods&stat=0&permissions=0&metadata=0&offset=0&limit=100"
308308
}
309309
}
310310
```
@@ -324,7 +324,7 @@ Create an entity in the iRODS logical namespace.
324324
**Example CURL command**
325325
```
326326
# Equivalent to: imkdir -p /tempZone/home/rods/a/b/c
327-
curl -X POST -H "Authorization: ${TOKEN}" "http://localhost/irods-rest/0.9.3/logicalpath?logical-path=/tempZone/home/rods/a/b/c&collection=1&create-parent-collections=1"
327+
curl -X POST -H "Authorization: ${TOKEN}" "http://localhost/irods-rest/0.9.4/logicalpath?logical-path=/tempZone/home/rods/a/b/c&collection=1&create-parent-collections=1"
328328
```
329329

330330
**Returns**
@@ -342,7 +342,7 @@ Deletes a data object or a collection.
342342

343343
**Example CURL command**
344344
```
345-
curl -X DELETE -H "Authorization: ${TOKEN}" "http://localhost:80/irods-rest/0.9.3/logicalpath?logical-path=/tempZone/home/rods/hello.cpp&no-trash=1"
345+
curl -X DELETE -H "Authorization: ${TOKEN}" "http://localhost:80/irods-rest/0.9.4/logicalpath?logical-path=/tempZone/home/rods/hello.cpp&no-trash=1"
346346
```
347347

348348
**Returns**
@@ -359,7 +359,7 @@ Renames a data object or collection
359359

360360
**Example CURL command**
361361
```
362-
curl -X POST -H "Authorization: ${TOKEN}" "http://localhost:80/irods-rest/0.9.3/logicalpath/rename?src=/tempZone/home/rods/hello&dst=/tempZone/home/rods/goodbye"
362+
curl -X POST -H "Authorization: ${TOKEN}" "http://localhost:80/irods-rest/0.9.4/logicalpath/rename?src=/tempZone/home/rods/hello&dst=/tempZone/home/rods/goodbye"
363363
```
364364

365365
**Returns**
@@ -382,7 +382,7 @@ Replicates a data object into some resource
382382

383383
**Example CURL command**:
384384
```
385-
curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/logicalpath/replicate?logical-path=/tempZone/home/rods/hello.cpp&dst-resource=ufs0'
385+
curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/logicalpath/replicate?logical-path=/tempZone/home/rods/hello.cpp&dst-resource=ufs0'
386386
```
387387

388388
### /logicalpath/trim
@@ -398,7 +398,7 @@ curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/log
398398

399399
**Example CURL command**:
400400
```
401-
curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/logicalpath/trim?logical-path=/tempZone/home/rods/foo&src-resource=ufs0'
401+
curl -X POST -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/logicalpath/trim?logical-path=/tempZone/home/rods/foo&src-resource=ufs0'
402402
```
403403

404404
**Returns**
@@ -430,7 +430,7 @@ curl -X POST \
430430
}
431431
]
432432
}' \
433-
http://localhost/irods-rest/0.9.3/metadata
433+
http://localhost/irods-rest/0.9.4/metadata
434434
```
435435

436436
**Returns**
@@ -465,7 +465,7 @@ This endpoint will write the url encoded JSON to the specified files in `/etc/ir
465465
**Example CURL Command:**
466466
```
467467
export CONTENTS="%5B%7B%22file_name%22%3A%22test_rest_cfg_put_1.json%22%2C%20%22contents%22%3A%7B%22key0%22%3A%22value0%22%2C%22key1%22%20%3A%20%22value1%22%7D%7D%2C%7B%22file_name%22%3A%22test_rest_cfg_put_2.json%22%2C%22contents%22%3A%7B%22key2%22%20%3A%20%22value2%22%2C%22key3%22%20%3A%20%22value3%22%7D%7D%5D"
468-
curl -X PUT -H "Authorization: ${TOKEN}" "http://localhost/irods-rest/0.9.3/put_configuration?cfg=${CONTENTS}"
468+
curl -X PUT -H "Authorization: ${TOKEN}" "http://localhost/irods-rest/0.9.4/put_configuration?cfg=${CONTENTS}"
469469
```
470470

471471
**Returns**
@@ -486,7 +486,7 @@ This endpoint provides access to the iRODS General Query language, which is a ge
486486

487487
**Example CURL Command:**
488488
```
489-
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/query?limit=100&offset=0&type=general&query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27' | jq
489+
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/query?limit=100&offset=0&type=general&query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27' | jq
490490
```
491491

492492
**Returns**
@@ -512,11 +512,11 @@ A JSON structure containing the query results
512512
]
513513
],
514514
"_links": {
515-
"first": "/irods-rest/0.9.3/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
516-
"last": "/irods-rest/0.9.3/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
517-
"next": "/irods-rest/0.9.3/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
518-
"prev": "/irods-rest/0.9.3/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
519-
"self": "/irods-rest/0.9.3/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1"
515+
"first": "/irods-rest/0.9.4/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
516+
"last": "/irods-rest/0.9.4/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
517+
"next": "/irods-rest/0.9.4/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
518+
"prev": "/irods-rest/0.9.4/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1",
519+
"self": "/irods-rest/0.9.4/query?query=SELECT%20COLL_NAME%2C%20DATA_NAME%20WHERE%20COLL_NAME%20LIKE%20%27%2FtempZone%2Fhome%2Frods%25%27&limit=100&offset=0&type=general&case-sensitive=1&distinct=1"
520520
},
521521
"count": "4",
522522
"total": "4"
@@ -548,11 +548,11 @@ GET: The data requested in the body of the response
548548

549549
**Example CURL Command:**
550550
```
551-
curl -X PUT -H "Authorization: ${TOKEN}" [-H "irods-ticket: ${TICKET}"] -d"This is some data" 'http://localhost/irods-rest/0.9.3/stream?logical-path=%2FtempZone%2Fhome%2Frods%2FfileX&offset=10'
551+
curl -X PUT -H "Authorization: ${TOKEN}" [-H "irods-ticket: ${TICKET}"] -d"This is some data" 'http://localhost/irods-rest/0.9.4/stream?logical-path=%2FtempZone%2Fhome%2Frods%2FfileX&offset=10'
552552
```
553553
or
554554
```
555-
curl -X GET -H "Authorization: ${TOKEN}" [-H "irods-ticket: ${TICKET}"] 'http://localhost/irods-rest/0.9.3/stream?logical-path=%2FtempZone%2Fhome%2Frods%2FfileX&offset=0&count=1000'
555+
curl -X GET -H "Authorization: ${TOKEN}" [-H "irods-ticket: ${TICKET}"] 'http://localhost/irods-rest/0.9.4/stream?logical-path=%2FtempZone%2Fhome%2Frods%2FfileX&offset=0&count=1000'
556556
```
557557

558558
### /ticket
@@ -573,7 +573,7 @@ This endpoint provides a service for the generation of an iRODS ticket to a give
573573

574574
**Example CURL Command:**
575575
```
576-
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/ticket?logical-path=%2FtempZone%2Fhome%2Frods%2Ffile0&type=write&write-file-count=10'
576+
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/ticket?logical-path=%2FtempZone%2Fhome%2Frods%2Ffile0&type=write&write-file-count=10'
577577
```
578578

579579
**Returns**
@@ -584,7 +584,7 @@ An iRODS ticket token within the **irods-ticket** header, and a URL for streamin
584584
"headers": {
585585
"irods-ticket": ["CS11B8C4KZX2BIl"]
586586
},
587-
"url": "/irods-rest/0.9.3/stream?logical-path=%2FtempZone%2Fhome%2Frods%2Ffile0&offset=0&count=33064"
587+
"url": "/irods-rest/0.9.4/stream?logical-path=%2FtempZone%2Fhome%2Frods%2Ffile0&offset=0&count=33064"
588588
}
589589
```
590590

@@ -598,7 +598,7 @@ Requests a JSON formatted iRODS Zone report, containing all configuration inform
598598

599599
**Example CURL Command:**
600600
```
601-
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.3/zonereport' | jq
601+
curl -X GET -H "Authorization: ${TOKEN}" 'http://localhost/irods-rest/0.9.4/zonereport' | jq
602602
```
603603

604604
**Returns**

docker/runner/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ services:
1313
context: .
1414
dockerfile: irods_client_rest_cpp.Dockerfile
1515
args:
16-
- local_package=irods-client-rest-cpp_0.9.3-0~focal_amd64.deb
16+
- local_package=irods-client-rest-cpp_0.9.4-0~focal_amd64.deb
1717
volumes:
1818
- ./irods_client_rest_cpp.json:/etc/irods_client_rest_cpp/irods_client_rest_cpp.json:ro

docker/runner/irods_client_rest_cpp_reverse_proxy.conf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,63 +5,63 @@ server {
55
add_header 'Access-Control-Allow-Headers' '*' always;
66
add_header 'Access-Control-Allow-Methods' 'AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE' always;
77

8-
location /irods-rest/0.9.3/ticket {
8+
location /irods-rest/0.9.4/ticket {
99
if ($request_method = 'OPTIONS') {
1010
return 204;
1111
}
1212

1313
proxy_pass http://irods-client-rest-cpp:8080;
1414
}
1515

16-
location /irods-rest/0.9.3/admin {
16+
location /irods-rest/0.9.4/admin {
1717
if ($request_method = 'OPTIONS') {
1818
return 204;
1919
}
2020

2121
proxy_pass http://irods-client-rest-cpp:8087;
2222
}
2323

24-
location /irods-rest/0.9.3/auth {
24+
location /irods-rest/0.9.4/auth {
2525
if ($request_method = 'OPTIONS') {
2626
return 204;
2727
}
2828

2929
proxy_pass http://irods-client-rest-cpp:8081;
3030
}
3131

32-
location /irods-rest/0.9.3/get_configuration {
32+
location /irods-rest/0.9.4/get_configuration {
3333
if ($request_method = 'OPTIONS') {
3434
return 204;
3535
}
3636

3737
proxy_pass http://irods-client-rest-cpp:8088;
3838
}
3939

40-
location /irods-rest/0.9.3/put_configuration {
40+
location /irods-rest/0.9.4/put_configuration {
4141
if ($request_method = 'OPTIONS') {
4242
return 204;
4343
}
4444

4545
proxy_pass http://irods-client-rest-cpp:8089;
4646
}
4747

48-
location /irods-rest/0.9.3/list {
48+
location /irods-rest/0.9.4/list {
4949
if ($request_method = 'OPTIONS') {
5050
return 204;
5151
}
5252

5353
proxy_pass http://irods-client-rest-cpp:8082;
5454
}
5555

56-
location /irods-rest/0.9.3/query {
56+
location /irods-rest/0.9.4/query {
5757
if ($request_method = 'OPTIONS') {
5858
return 204;
5959
}
6060

6161
proxy_pass http://irods-client-rest-cpp:8083;
6262
}
6363

64-
location /irods-rest/0.9.3/stream {
64+
location /irods-rest/0.9.4/stream {
6565
if ($request_method = 'OPTIONS') {
6666
return 204;
6767
}
@@ -75,23 +75,23 @@ server {
7575
}
7676
}
7777

78-
location /irods-rest/0.9.3/zonereport {
78+
location /irods-rest/0.9.4/zonereport {
7979
if ($request_method = 'OPTIONS') {
8080
return 204;
8181
}
8282

8383
proxy_pass http://irods-client-rest-cpp:8086;
8484
}
8585

86-
location /irods-rest/0.9.3/logicalpath {
86+
location /irods-rest/0.9.4/logicalpath {
8787
if ($request_method = 'OPTIONS') {
8888
return 204;
8989
}
9090

9191
proxy_pass http://irods-client-rest-cpp:8090;
9292
}
9393

94-
location /irods-rest/0.9.3/metadata {
94+
location /irods-rest/0.9.4/metadata {
9595
if ($request_method = 'OPTIONS') {
9696
return 204;
9797
}

docker/tester/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ services:
1313
context: .
1414
dockerfile: irods_client_rest_cpp.Dockerfile
1515
volumes:
16-
- ./irods-client-rest-cpp_0.9.3-0~focal_amd64.deb:/irods-client-rest-cpp_package.deb:ro
16+
- ./irods-client-rest-cpp_0.9.4-0~focal_amd64.deb:/irods-client-rest-cpp_package.deb:ro
1717
environment:
1818
- local_package=/irods-client-rest-cpp_package.deb

0 commit comments

Comments
 (0)