diff --git a/CHANGELOG.md b/CHANGELOG.md
index 02759db..2432620 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change Log
+## [v24.0.5](https://github.com/gisaia/arlas-persistence/tree/v24.0.5) (2024-02-05)
+
+[Full Changelog](https://github.com/gisaia/arlas-persistence/compare/v24.0.4...v24.0.5)
+
+**Miscellaneous:**
+
+- List with no arlas-org-filter returns only public ressource [\#92](https://github.com/gisaia/ARLAS-persistence/issues/92)
+- Add organisation and public status in each element of the resouces list [\#90](https://github.com/gisaia/ARLAS-persistence/issues/90)
+- Public dashboards are not available when logged in [\#89](https://github.com/gisaia/ARLAS-persistence/issues/89)
+
## [v24.0.4](https://github.com/gisaia/arlas-persistence/tree/v24.0.4) (2023-12-11)
[Full Changelog](https://github.com/gisaia/arlas-persistence/compare/v24.0.2...v24.0.4)
diff --git a/arlas-persistence-core/docs/api/definitions.md b/arlas-persistence-core/docs/api/definitions.md
index ab67d92..f5b36e0 100644
--- a/arlas-persistence-core/docs/api/definitions.md
+++ b/arlas-persistence-core/docs/api/definitions.md
@@ -28,6 +28,7 @@
|**doc_writers**
*optional*|< string > array|
|**doc_zone**
*required*|string|
|**id**
*optional*|string|
+|**ispublic**
*optional*|boolean|
|**last_update_date**
*required*|string (date-time)|
|**updatable**
*optional*|boolean|
diff --git a/arlas-persistence-core/docs/api/overview.md b/arlas-persistence-core/docs/api/overview.md
index 4bf1d1c..a01c4c3 100644
--- a/arlas-persistence-core/docs/api/overview.md
+++ b/arlas-persistence-core/docs/api/overview.md
@@ -7,7 +7,7 @@ persistence REST services
### Version information
-*Version* : 24.0.4
+*Version* : 24.0.5
### Contact information
diff --git a/arlas-persistence-core/docs/api/paths.md b/arlas-persistence-core/docs/api/paths.md
index 5d73855..7be96e2 100644
--- a/arlas-persistence-core/docs/api/paths.md
+++ b/arlas-persistence-core/docs/api/paths.md
@@ -80,44 +80,6 @@ Check the existence of an entry given its id.
* `application/json;charset=utf-8`
-
-#### Check the existence of an entry given its zone and key.
-```
-GET /persist/resource/exists/{zone}/{key}
-```
-
-
-##### Description
-Check the existence of an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[Exists](#exists)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch an entry given its id.
```
@@ -278,84 +240,6 @@ Store a new piece of data for the provided zone and key (auto generate id).
* `application/json;charset=utf-8`
-
-#### Fetch an entry given its zone and key.
-```
-GET /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Fetch an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Key or zone not found.|[Error](#error)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
-
-#### Delete an entry given its key and id.
-```
-DELETE /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Delete an entry given its key and id.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**202**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Zone or key not found.|[Error](#error)|
-|**500**|Arlas Server Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch a list of data related to a zone.
```
diff --git a/arlas-persistence-core/pom.xml b/arlas-persistence-core/pom.xml
index 548b58a..4847914 100644
--- a/arlas-persistence-core/pom.xml
+++ b/arlas-persistence-core/pom.xml
@@ -6,14 +6,14 @@
io.arlas
arlas-persistence-core
- 24.0.5-SNAPSHOT
+ 24.0.5
jar
ARLAS persistence server core
io.arlas
arlas-persistence-parent
- 24.0.5-SNAPSHOT
+ 24.0.5
diff --git a/arlas-persistence-rest/docs/api/definitions.md b/arlas-persistence-rest/docs/api/definitions.md
index ab67d92..f5b36e0 100644
--- a/arlas-persistence-rest/docs/api/definitions.md
+++ b/arlas-persistence-rest/docs/api/definitions.md
@@ -28,6 +28,7 @@
|**doc_writers**
*optional*|< string > array|
|**doc_zone**
*required*|string|
|**id**
*optional*|string|
+|**ispublic**
*optional*|boolean|
|**last_update_date**
*required*|string (date-time)|
|**updatable**
*optional*|boolean|
diff --git a/arlas-persistence-rest/docs/api/overview.md b/arlas-persistence-rest/docs/api/overview.md
index 4bf1d1c..a01c4c3 100644
--- a/arlas-persistence-rest/docs/api/overview.md
+++ b/arlas-persistence-rest/docs/api/overview.md
@@ -7,7 +7,7 @@ persistence REST services
### Version information
-*Version* : 24.0.4
+*Version* : 24.0.5
### Contact information
diff --git a/arlas-persistence-rest/docs/api/paths.md b/arlas-persistence-rest/docs/api/paths.md
index 5d73855..7be96e2 100644
--- a/arlas-persistence-rest/docs/api/paths.md
+++ b/arlas-persistence-rest/docs/api/paths.md
@@ -80,44 +80,6 @@ Check the existence of an entry given its id.
* `application/json;charset=utf-8`
-
-#### Check the existence of an entry given its zone and key.
-```
-GET /persist/resource/exists/{zone}/{key}
-```
-
-
-##### Description
-Check the existence of an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[Exists](#exists)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch an entry given its id.
```
@@ -278,84 +240,6 @@ Store a new piece of data for the provided zone and key (auto generate id).
* `application/json;charset=utf-8`
-
-#### Fetch an entry given its zone and key.
-```
-GET /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Fetch an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Key or zone not found.|[Error](#error)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
-
-#### Delete an entry given its key and id.
-```
-DELETE /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Delete an entry given its key and id.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**202**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Zone or key not found.|[Error](#error)|
-|**500**|Arlas Server Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch a list of data related to a zone.
```
diff --git a/arlas-persistence-rest/pom.xml b/arlas-persistence-rest/pom.xml
index e2bacf1..c991640 100644
--- a/arlas-persistence-rest/pom.xml
+++ b/arlas-persistence-rest/pom.xml
@@ -6,21 +6,21 @@
io.arlas
arlas-persistence-rest
- 24.0.5-SNAPSHOT
+ 24.0.5
jar
ARLAS persistence server rest
io.arlas
arlas-persistence-parent
- 24.0.5-SNAPSHOT
+ 24.0.5
io.arlas
arlas-persistence-core
- 24.0.5-SNAPSHOT
+ 24.0.5
diff --git a/arlas-persistence-rest/src/main/java/io/arlas/persistence/rest/PersistenceRestService.java b/arlas-persistence-rest/src/main/java/io/arlas/persistence/rest/PersistenceRestService.java
index 3fd3060..1c43e81 100644
--- a/arlas-persistence-rest/src/main/java/io/arlas/persistence/rest/PersistenceRestService.java
+++ b/arlas-persistence-rest/src/main/java/io/arlas/persistence/rest/PersistenceRestService.java
@@ -52,7 +52,7 @@
title = "ARLAS persistence API",
description = "persistence REST services",
license = @License(name = "Apache 2.0", url = "https://www.apache.org/licenses/LICENSE-2.0.html"),
- version = "API_VERSION"),
+ version = "24.0.5"),
schemes = { SwaggerDefinition.Scheme.HTTP, SwaggerDefinition.Scheme.HTTPS })
public class PersistenceRestService {
diff --git a/arlas-persistence-server/docs/api/definitions.md b/arlas-persistence-server/docs/api/definitions.md
index ab67d92..f5b36e0 100644
--- a/arlas-persistence-server/docs/api/definitions.md
+++ b/arlas-persistence-server/docs/api/definitions.md
@@ -28,6 +28,7 @@
|**doc_writers**
*optional*|< string > array|
|**doc_zone**
*required*|string|
|**id**
*optional*|string|
+|**ispublic**
*optional*|boolean|
|**last_update_date**
*required*|string (date-time)|
|**updatable**
*optional*|boolean|
diff --git a/arlas-persistence-server/docs/api/overview.md b/arlas-persistence-server/docs/api/overview.md
index 4bf1d1c..a01c4c3 100644
--- a/arlas-persistence-server/docs/api/overview.md
+++ b/arlas-persistence-server/docs/api/overview.md
@@ -7,7 +7,7 @@ persistence REST services
### Version information
-*Version* : 24.0.4
+*Version* : 24.0.5
### Contact information
diff --git a/arlas-persistence-server/docs/api/paths.md b/arlas-persistence-server/docs/api/paths.md
index 5d73855..7be96e2 100644
--- a/arlas-persistence-server/docs/api/paths.md
+++ b/arlas-persistence-server/docs/api/paths.md
@@ -80,44 +80,6 @@ Check the existence of an entry given its id.
* `application/json;charset=utf-8`
-
-#### Check the existence of an entry given its zone and key.
-```
-GET /persist/resource/exists/{zone}/{key}
-```
-
-
-##### Description
-Check the existence of an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[Exists](#exists)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch an entry given its id.
```
@@ -278,84 +240,6 @@ Store a new piece of data for the provided zone and key (auto generate id).
* `application/json;charset=utf-8`
-
-#### Fetch an entry given its zone and key.
-```
-GET /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Fetch an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Key or zone not found.|[Error](#error)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
-
-#### Delete an entry given its key and id.
-```
-DELETE /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Delete an entry given its key and id.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**202**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Zone or key not found.|[Error](#error)|
-|**500**|Arlas Server Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch a list of data related to a zone.
```
diff --git a/arlas-persistence-server/pom.xml b/arlas-persistence-server/pom.xml
index df6d39d..30d561c 100644
--- a/arlas-persistence-server/pom.xml
+++ b/arlas-persistence-server/pom.xml
@@ -5,14 +5,14 @@
4.0.0
io.arlas
arlas-persistence-server
- 24.0.5-SNAPSHOT
+ 24.0.5
jar
ARLAS persistence server
io.arlas
arlas-persistence-parent
- 24.0.5-SNAPSHOT
+ 24.0.5
@@ -24,7 +24,7 @@
io.arlas
arlas-persistence-rest
- 24.0.5-SNAPSHOT
+ 24.0.5
diff --git a/arlas-persistence-tests/docs/api/definitions.md b/arlas-persistence-tests/docs/api/definitions.md
index ab67d92..f5b36e0 100644
--- a/arlas-persistence-tests/docs/api/definitions.md
+++ b/arlas-persistence-tests/docs/api/definitions.md
@@ -28,6 +28,7 @@
|**doc_writers**
*optional*|< string > array|
|**doc_zone**
*required*|string|
|**id**
*optional*|string|
+|**ispublic**
*optional*|boolean|
|**last_update_date**
*required*|string (date-time)|
|**updatable**
*optional*|boolean|
diff --git a/arlas-persistence-tests/docs/api/overview.md b/arlas-persistence-tests/docs/api/overview.md
index 4bf1d1c..a01c4c3 100644
--- a/arlas-persistence-tests/docs/api/overview.md
+++ b/arlas-persistence-tests/docs/api/overview.md
@@ -7,7 +7,7 @@ persistence REST services
### Version information
-*Version* : 24.0.4
+*Version* : 24.0.5
### Contact information
diff --git a/arlas-persistence-tests/docs/api/paths.md b/arlas-persistence-tests/docs/api/paths.md
index 5d73855..7be96e2 100644
--- a/arlas-persistence-tests/docs/api/paths.md
+++ b/arlas-persistence-tests/docs/api/paths.md
@@ -80,44 +80,6 @@ Check the existence of an entry given its id.
* `application/json;charset=utf-8`
-
-#### Check the existence of an entry given its zone and key.
-```
-GET /persist/resource/exists/{zone}/{key}
-```
-
-
-##### Description
-Check the existence of an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[Exists](#exists)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch an entry given its id.
```
@@ -278,84 +240,6 @@ Store a new piece of data for the provided zone and key (auto generate id).
* `application/json;charset=utf-8`
-
-#### Fetch an entry given its zone and key.
-```
-GET /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Fetch an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Key or zone not found.|[Error](#error)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
-
-#### Delete an entry given its key and id.
-```
-DELETE /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Delete an entry given its key and id.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**202**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Zone or key not found.|[Error](#error)|
-|**500**|Arlas Server Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch a list of data related to a zone.
```
diff --git a/arlas-persistence-tests/pom.xml b/arlas-persistence-tests/pom.xml
index c9e0e48..b70aabf 100644
--- a/arlas-persistence-tests/pom.xml
+++ b/arlas-persistence-tests/pom.xml
@@ -5,14 +5,14 @@
4.0.0
io.arlas
arlas-persistence-tests
- 24.0.5-SNAPSHOT
+ 24.0.5
jar
ARLAS persistence tests
io.arlas
arlas-persistence-parent
- 24.0.5-SNAPSHOT
+ 24.0.5
diff --git a/docs/api/definitions.md b/docs/api/definitions.md
index ab67d92..f5b36e0 100644
--- a/docs/api/definitions.md
+++ b/docs/api/definitions.md
@@ -28,6 +28,7 @@
|**doc_writers**
*optional*|< string > array|
|**doc_zone**
*required*|string|
|**id**
*optional*|string|
+|**ispublic**
*optional*|boolean|
|**last_update_date**
*required*|string (date-time)|
|**updatable**
*optional*|boolean|
diff --git a/docs/api/overview.md b/docs/api/overview.md
index 4bf1d1c..a01c4c3 100644
--- a/docs/api/overview.md
+++ b/docs/api/overview.md
@@ -7,7 +7,7 @@ persistence REST services
### Version information
-*Version* : 24.0.4
+*Version* : 24.0.5
### Contact information
diff --git a/docs/api/paths.md b/docs/api/paths.md
index 5d73855..7be96e2 100644
--- a/docs/api/paths.md
+++ b/docs/api/paths.md
@@ -80,44 +80,6 @@ Check the existence of an entry given its id.
* `application/json;charset=utf-8`
-
-#### Check the existence of an entry given its zone and key.
-```
-GET /persist/resource/exists/{zone}/{key}
-```
-
-
-##### Description
-Check the existence of an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[Exists](#exists)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch an entry given its id.
```
@@ -278,84 +240,6 @@ Store a new piece of data for the provided zone and key (auto generate id).
* `application/json;charset=utf-8`
-
-#### Fetch an entry given its zone and key.
-```
-GET /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Fetch an entry given its zone and key.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**200**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Key or zone not found.|[Error](#error)|
-|**500**|Arlas Persistence Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
-
-#### Delete an entry given its key and id.
-```
-DELETE /persist/resource/{zone}/{key}
-```
-
-
-##### Description
-Delete an entry given its key and id.
-
-
-##### Parameters
-
-|Type|Name|Description|Schema|Default|
-|---|---|---|---|---|
-|**Path**|**key**
*required*|The key of the data.|string||
-|**Path**|**zone**
*required*|Zone of the document.|string|`"pref"`|
-|**Query**|**pretty**
*optional*|Pretty print|boolean|`"false"`|
-
-
-##### Responses
-
-|HTTP Code|Description|Schema|
-|---|---|---|
-|**202**|Successful operation|[DataWithLinks](#datawithlinks)|
-|**404**|Zone or key not found.|[Error](#error)|
-|**500**|Arlas Server Error.|[Error](#error)|
-
-
-##### Consumes
-
-* `application/json;charset=utf-8`
-
-
-##### Produces
-
-* `application/json;charset=utf-8`
-
-
#### Fetch a list of data related to a zone.
```
diff --git a/openapi/swagger.json b/openapi/swagger.json
index 1389b67..0f05c93 100644
--- a/openapi/swagger.json
+++ b/openapi/swagger.json
@@ -2,7 +2,7 @@
"swagger" : "2.0",
"info" : {
"description" : "persistence REST services",
- "version" : "24.0.5-SNAPSHOT",
+ "version" : "24.0.5",
"title" : "ARLAS persistence API",
"contact" : {
"name" : "Gisaia",
@@ -261,55 +261,6 @@
}
},
"/persist/resource/{zone}/{key}" : {
- "get" : {
- "tags" : [ "persist" ],
- "summary" : "Fetch an entry given its zone and key.",
- "description" : "Fetch an entry given its zone and key.",
- "operationId" : "getByKey",
- "consumes" : [ "application/json;charset=utf-8" ],
- "produces" : [ "application/json;charset=utf-8" ],
- "parameters" : [ {
- "name" : "zone",
- "in" : "path",
- "description" : "Zone of the document.",
- "required" : true,
- "type" : "string",
- "default" : "pref"
- }, {
- "name" : "key",
- "in" : "path",
- "description" : "The key of the data.",
- "required" : true,
- "type" : "string"
- }, {
- "name" : "pretty",
- "in" : "query",
- "description" : "Pretty print",
- "required" : false,
- "type" : "boolean",
- "default" : false
- } ],
- "responses" : {
- "200" : {
- "description" : "Successful operation",
- "schema" : {
- "$ref" : "#/definitions/DataWithLinks"
- }
- },
- "404" : {
- "description" : "Key or zone not found.",
- "schema" : {
- "$ref" : "#/definitions/Error"
- }
- },
- "500" : {
- "description" : "Arlas Persistence Error.",
- "schema" : {
- "$ref" : "#/definitions/Error"
- }
- }
- }
- },
"post" : {
"tags" : [ "persist" ],
"summary" : "Store a new piece of data for the provided zone and key (auto generate id).",
@@ -380,100 +331,6 @@
}
}
}
- },
- "delete" : {
- "tags" : [ "persist" ],
- "summary" : "Delete an entry given its key and id.",
- "description" : "Delete an entry given its key and id.",
- "operationId" : "delete",
- "consumes" : [ "application/json;charset=utf-8" ],
- "produces" : [ "application/json;charset=utf-8" ],
- "parameters" : [ {
- "name" : "zone",
- "in" : "path",
- "description" : "Zone of the document.",
- "required" : true,
- "type" : "string",
- "default" : "pref"
- }, {
- "name" : "key",
- "in" : "path",
- "description" : "The key of the data.",
- "required" : true,
- "type" : "string"
- }, {
- "name" : "pretty",
- "in" : "query",
- "description" : "Pretty print",
- "required" : false,
- "type" : "boolean",
- "default" : false
- } ],
- "responses" : {
- "202" : {
- "description" : "Successful operation",
- "schema" : {
- "$ref" : "#/definitions/DataWithLinks"
- }
- },
- "404" : {
- "description" : "Zone or key not found.",
- "schema" : {
- "$ref" : "#/definitions/Error"
- }
- },
- "500" : {
- "description" : "Arlas Server Error.",
- "schema" : {
- "$ref" : "#/definitions/Error"
- }
- }
- }
- }
- },
- "/persist/resource/exists/{zone}/{key}" : {
- "get" : {
- "tags" : [ "persist" ],
- "summary" : "Check the existence of an entry given its zone and key.",
- "description" : "Check the existence of an entry given its zone and key.",
- "operationId" : "existsByKey",
- "consumes" : [ "application/json;charset=utf-8" ],
- "produces" : [ "application/json;charset=utf-8" ],
- "parameters" : [ {
- "name" : "zone",
- "in" : "path",
- "description" : "Zone of the document.",
- "required" : true,
- "type" : "string",
- "default" : "pref"
- }, {
- "name" : "key",
- "in" : "path",
- "description" : "The key of the data.",
- "required" : true,
- "type" : "string"
- }, {
- "name" : "pretty",
- "in" : "query",
- "description" : "Pretty print",
- "required" : false,
- "type" : "boolean",
- "default" : false
- } ],
- "responses" : {
- "200" : {
- "description" : "Successful operation",
- "schema" : {
- "$ref" : "#/definitions/Exists"
- }
- },
- "500" : {
- "description" : "Arlas Persistence Error.",
- "schema" : {
- "$ref" : "#/definitions/Error"
- }
- }
- }
}
},
"/persist/resource/exists/id/{id}" : {
@@ -616,6 +473,9 @@
},
"updatable" : {
"type" : "boolean"
+ },
+ "ispublic" : {
+ "type" : "boolean"
}
}
},
diff --git a/openapi/swagger.yaml b/openapi/swagger.yaml
index 1611859..213d09b 100644
--- a/openapi/swagger.yaml
+++ b/openapi/swagger.yaml
@@ -2,7 +2,7 @@
swagger: "2.0"
info:
description: "persistence REST services"
- version: "24.0.5-SNAPSHOT"
+ version: "24.0.5"
title: "ARLAS persistence API"
contact:
name: "Gisaia"
@@ -220,47 +220,6 @@ paths:
schema:
$ref: "#/definitions/Error"
/persist/resource/{zone}/{key}:
- get:
- tags:
- - "persist"
- summary: "Fetch an entry given its zone and key."
- description: "Fetch an entry given its zone and key."
- operationId: "getByKey"
- consumes:
- - "application/json;charset=utf-8"
- produces:
- - "application/json;charset=utf-8"
- parameters:
- - name: "zone"
- in: "path"
- description: "Zone of the document."
- required: true
- type: "string"
- default: "pref"
- - name: "key"
- in: "path"
- description: "The key of the data."
- required: true
- type: "string"
- - name: "pretty"
- in: "query"
- description: "Pretty print"
- required: false
- type: "boolean"
- default: false
- responses:
- "200":
- description: "Successful operation"
- schema:
- $ref: "#/definitions/DataWithLinks"
- "404":
- description: "Key or zone not found."
- schema:
- $ref: "#/definitions/Error"
- "500":
- description: "Arlas Persistence Error."
- schema:
- $ref: "#/definitions/Error"
post:
tags:
- "persist"
@@ -322,85 +281,6 @@ paths:
description: "Arlas Server Error."
schema:
$ref: "#/definitions/Error"
- delete:
- tags:
- - "persist"
- summary: "Delete an entry given its key and id."
- description: "Delete an entry given its key and id."
- operationId: "delete"
- consumes:
- - "application/json;charset=utf-8"
- produces:
- - "application/json;charset=utf-8"
- parameters:
- - name: "zone"
- in: "path"
- description: "Zone of the document."
- required: true
- type: "string"
- default: "pref"
- - name: "key"
- in: "path"
- description: "The key of the data."
- required: true
- type: "string"
- - name: "pretty"
- in: "query"
- description: "Pretty print"
- required: false
- type: "boolean"
- default: false
- responses:
- "202":
- description: "Successful operation"
- schema:
- $ref: "#/definitions/DataWithLinks"
- "404":
- description: "Zone or key not found."
- schema:
- $ref: "#/definitions/Error"
- "500":
- description: "Arlas Server Error."
- schema:
- $ref: "#/definitions/Error"
- /persist/resource/exists/{zone}/{key}:
- get:
- tags:
- - "persist"
- summary: "Check the existence of an entry given its zone and key."
- description: "Check the existence of an entry given its zone and key."
- operationId: "existsByKey"
- consumes:
- - "application/json;charset=utf-8"
- produces:
- - "application/json;charset=utf-8"
- parameters:
- - name: "zone"
- in: "path"
- description: "Zone of the document."
- required: true
- type: "string"
- default: "pref"
- - name: "key"
- in: "path"
- description: "The key of the data."
- required: true
- type: "string"
- - name: "pretty"
- in: "query"
- description: "Pretty print"
- required: false
- type: "boolean"
- default: false
- responses:
- "200":
- description: "Successful operation"
- schema:
- $ref: "#/definitions/Exists"
- "500":
- description: "Arlas Persistence Error."
- schema:
- $ref: "#/definitions/Error"
/persist/resource/exists/id/{id}:
get:
tags:
@@ -516,6 +396,8 @@ definitions:
$ref: "#/definitions/Link"
updatable:
type: "boolean"
+ ispublic:
+ type: "boolean"
Link:
type: "object"
required:
diff --git a/pom.xml b/pom.xml
index f2492d6..0f1adc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
io.arlas
arlas-persistence-parent
- 24.0.5-SNAPSHOT
+ 24.0.5
pom
ARLAS persistence parent
diff --git a/release.sh b/release.sh
index 5b5dce6..ab329f0 100755
--- a/release.sh
+++ b/release.sh
@@ -253,28 +253,28 @@ else
else echo "=> Skip npm api publish"; fi
- echo "=> Build Python API "${FULL_API_VERSION}
- cd ${BASEDIR}/target/tmp/python-api/
- cp ${BASEDIR}/conf/python/setup.py setup.py
- sed -i.bak 's/\"api_persistence_version\"/\"'${FULL_API_VERSION}'\"/' setup.py
-
- docker run \
- -e GROUP_ID="$(id -g)" \
- -e USER_ID="$(id -u)" \
- --mount dst=/opt/python,src="$PWD",type=bind \
- --rm \
- gisaia/python-3-alpine \
- setup.py sdist bdist_wheel
-
- echo "=> Publish Python API "
- if [ "$RELEASE" == "YES" ]; then
- docker run --rm \
- -w /opt/python \
- -v $PWD:/opt/python \
- python:3 \
- /bin/bash -c "pip install twine ; twine upload dist/* -u ${PIP_LOGIN} -p ${PIP_PASSWORD}"
- ### At this stage username and password of Pypi repository should be set
- else echo "=> Skip python api publish"; fi
+# echo "=> Build Python API "${FULL_API_VERSION}
+# cd ${BASEDIR}/target/tmp/python-api/
+# cp ${BASEDIR}/conf/python/setup.py setup.py
+# sed -i.bak 's/\"api_persistence_version\"/\"'${FULL_API_VERSION}'\"/' setup.py
+#
+# docker run \
+# -e GROUP_ID="$(id -g)" \
+# -e USER_ID="$(id -u)" \
+# --mount dst=/opt/python,src="$PWD",type=bind \
+# --rm \
+# gisaia/python-3-alpine \
+# setup.py sdist bdist_wheel
+#
+# echo "=> Publish Python API "
+# if [ "$RELEASE" == "YES" ]; then
+# docker run --rm \
+# -w /opt/python \
+# -v $PWD:/opt/python \
+# python:3 \
+# /bin/bash -c "pip install twine ; twine upload dist/* -u ${PIP_LOGIN} -p ${PIP_PASSWORD}"
+# ### At this stage username and password of Pypi repository should be set
+# else echo "=> Skip python api publish"; fi
fi
cd ${BASEDIR}