From dde6b99a4ec33b30a174934b291b21103aaa5efa Mon Sep 17 00:00:00 2001 From: MohamedHamou Date: Mon, 23 Dec 2019 11:14:22 +0100 Subject: [PATCH] release version 11.6.4 --- CHANGELOG.md | 87 +++++++++++++++++-- arlas-admin/pom.xml | 6 +- arlas-core/pom.xml | 4 +- arlas-opensearch/pom.xml | 8 +- arlas-rest/pom.xml | 6 +- .../rest/explore/ExploreRESTServices.java | 2 +- arlas-server/pom.xml | 14 +-- arlas-tests/pom.xml | 6 +- ogc-common/pom.xml | 6 +- ogc-csw/pom.xml | 6 +- ogc-wfs/pom.xml | 6 +- openapi/swagger.json | 73 ++++++++-------- openapi/swagger.yaml | 64 +++++++------- packaging/helm/arlas-server/Chart.yaml | 4 +- pom.xml | 2 +- 15 files changed, 186 insertions(+), 108 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 482d96c84..254a03e60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,95 @@ # Change Log -## [v11.6.3](https://github.com/gisaia/ARLAS-server/tree/v11.6.3) (2019-10-21) +## [v11.6.4](https://github.com/gisaia/ARLAS-server/tree/v11.6.4) (2019-12-20) -[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v11.7.0...v11.6.3) +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v12.7.2...v11.6.4) + +**Fixed bugs:** + +- Describe does not return properly the list of taggable fields [\#568](https://github.com/gisaia/ARLAS-server/issues/568) +- Describe does not return properly the list of taggable fields [\#569](https://github.com/gisaia/ARLAS-server/pull/569) ([alainbodiguel](https://github.com/alainbodiguel)) + +## [v12.7.2](https://github.com/gisaia/ARLAS-server/tree/v12.7.2) (2019-11-25) + +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v12.7.1...v12.7.2) + +**New stuff:** + +- Support array of geohashes for geo-point fields [\#556](https://github.com/gisaia/ARLAS-server/issues/556) + +## [v12.7.1](https://github.com/gisaia/ARLAS-server/tree/v12.7.1) (2019-11-21) + +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v12.7.0...v12.7.1) + +**Fixed bugs:** + +- \[GEOAGGREGATE\] apply fetch\_geometry strategy on the geo-point on which we aggregate [\#552](https://github.com/gisaia/ARLAS-server/issues/552) + +## [v12.7.0](https://github.com/gisaia/ARLAS-server/tree/v12.7.0) (2019-11-15) + +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v11.7.2...v12.7.0) + +**Breaking changes:** + +- Remove tag api [\#535](https://github.com/gisaia/ARLAS-server/issues/535) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] +- \[Multi-geometry\] Support multi\_geometries in geometric filters [\#465](https://github.com/gisaia/ARLAS-server/issues/465) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] + +**New stuff:** + +- Add HTTPS in the swagger definition [\#513](https://github.com/gisaia/ARLAS-server/issues/513) +- \[auth-4\] Variable support in rules and headers [\#497](https://github.com/gisaia/ARLAS-server/issues/497) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] +- \[auth-3\] Authorization mode: headers processing [\#496](https://github.com/gisaia/ARLAS-server/issues/496) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] +- \[auth-2\] Authorization mode: rules processing [\#495](https://github.com/gisaia/ARLAS-server/issues/495) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] +- \[auth-1\] Authentication mode support [\#494](https://github.com/gisaia/ARLAS-server/issues/494) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] +- \[Multi-geometry\] return one or multiple geometries in \_geosearch responses [\#466](https://github.com/gisaia/ARLAS-server/issues/466) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] +- Add \_compute endpoint [\#463](https://github.com/gisaia/ARLAS-server/issues/463) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] + +**Fixed bugs:** + +- TimestampTypeMapper unit test fails [\#548](https://github.com/gisaia/ARLAS-server/issues/548) +- ARLAS Rest services: header keys must be case insensitive [\#472](https://github.com/gisaia/ARLAS-server/issues/472) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] + +**Miscellaneous:** + +- Deprecate \_range endpoint [\#550](https://github.com/gisaia/ARLAS-server/issues/550) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] + +## [v11.7.2](https://github.com/gisaia/ARLAS-server/tree/v11.7.2) (2019-11-08) + +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v11.7.1...v11.7.2) + +**Fixed bugs:** + +- Fix Datehistogram key bug due to bump to ES7 [\#541](https://github.com/gisaia/ARLAS-server/pull/541) ([MohamedHamouGisaia](https://github.com/MohamedHamouGisaia)) + +**Miscellaneous:** + +- \[Server\] Generate API documentation [\#542](https://github.com/gisaia/ARLAS-server/issues/542) [[documentation](https://github.com/gisaia/ARLAS-server/labels/documentation)] + +## [v11.7.1](https://github.com/gisaia/ARLAS-server/tree/v11.7.1) (2019-10-29) + +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v11.6.3...v11.7.1) **New stuff:** - Add support for Elastic Cloud [\#530](https://github.com/gisaia/ARLAS-server/issues/530) + +**Fixed bugs:** + +- Remove redundant execution of range query [\#533](https://github.com/gisaia/ARLAS-server/pull/533) ([MohamedHamouGisaia](https://github.com/MohamedHamouGisaia)) + +## [v11.6.3](https://github.com/gisaia/ARLAS-server/tree/v11.6.3) (2019-10-22) + +[Full Changelog](https://github.com/gisaia/ARLAS-server/compare/v11.7.0...v11.6.3) + +**New stuff:** + - Add support for Elastic Cloud [\#537](https://github.com/gisaia/ARLAS-server/issues/537) -- Arlas Server xpack - connection to Elastic Cloud [\#531](https://github.com/gisaia/ARLAS-server/pull/531) ([alainbodiguel](https://github.com/alainbodiguel)) **Fixed bugs:** - Make sure to remove before in next and after in previous [\#529](https://github.com/gisaia/ARLAS-server/issues/529) - Remove redundant execution of range query [\#539](https://github.com/gisaia/ARLAS-server/issues/539) - Make sure to remove before in next and after in previous [\#538](https://github.com/gisaia/ARLAS-server/issues/538) -- Remove redundant execution of range query [\#533](https://github.com/gisaia/ARLAS-server/pull/533) ([MohamedHamouGisaia](https://github.com/MohamedHamouGisaia)) ## [v11.7.0](https://github.com/gisaia/ARLAS-server/tree/v11.7.0) (2019-09-19) @@ -37,7 +111,6 @@ **New stuff:** -- Add HTTPS in the swagger definition [\#513](https://github.com/gisaia/ARLAS-server/issues/513) - Publish arlas-admin module in cloudsmith [\#511](https://github.com/gisaia/ARLAS-server/issues/511) - Pwithin request should support WKT geometry [\#500](https://github.com/gisaia/ARLAS-server/issues/500) - Add HTTPS in the swagger definition [\#515](https://github.com/gisaia/ARLAS-server/pull/515) ([alainbodiguel](https://github.com/alainbodiguel)) @@ -63,10 +136,6 @@ - \[Auth-6\] Add more tests to auth module [\#508](https://github.com/gisaia/ARLAS-server/issues/508) - \[auth-5\] Change configuration to snake case [\#498](https://github.com/gisaia/ARLAS-server/issues/498) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] -- \[auth-4\] Variable support in rules and headers [\#497](https://github.com/gisaia/ARLAS-server/issues/497) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] -- \[auth-3\] Authorization mode: headers processing [\#496](https://github.com/gisaia/ARLAS-server/issues/496) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] -- \[auth-2\] Authorization mode: rules processing [\#495](https://github.com/gisaia/ARLAS-server/issues/495) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] -- \[auth-1\] Authentication mode support [\#494](https://github.com/gisaia/ARLAS-server/issues/494) [[API](https://github.com/gisaia/ARLAS-server/labels/API)] - Support geometries that are indexed as WKT [\#510](https://github.com/gisaia/ARLAS-server/issues/510) - Push arlas jars in maven repos [\#485](https://github.com/gisaia/ARLAS-server/issues/485) - Add more tests to auth module [\#509](https://github.com/gisaia/ARLAS-server/pull/509) ([alainbodiguel](https://github.com/alainbodiguel)) diff --git a/arlas-admin/pom.xml b/arlas-admin/pom.xml index 91c0f7b71..909294957 100644 --- a/arlas-admin/pom.xml +++ b/arlas-admin/pom.xml @@ -2,14 +2,14 @@ 4.0.0 io.arlas arlas-admin - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS server admin io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 @@ -27,7 +27,7 @@ io.arlas arlas-core - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/arlas-core/pom.xml b/arlas-core/pom.xml index 5802782a7..5f86822f0 100644 --- a/arlas-core/pom.xml +++ b/arlas-core/pom.xml @@ -4,14 +4,14 @@ 4.0.0 io.arlas arlas-core - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS server core io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/arlas-opensearch/pom.xml b/arlas-opensearch/pom.xml index 3534faf49..baec99bcb 100644 --- a/arlas-opensearch/pom.xml +++ b/arlas-opensearch/pom.xml @@ -2,26 +2,26 @@ 4.0.0 io.arlas arlas-opensearch - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS server opensearch io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-rest - 11.6.4-SNAPSHOT + 11.6.4 io.arlas ogc-common - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/arlas-rest/pom.xml b/arlas-rest/pom.xml index 193bb9c85..22f63dcb0 100644 --- a/arlas-rest/pom.xml +++ b/arlas-rest/pom.xml @@ -2,21 +2,21 @@ 4.0.0 io.arlas arlas-rest - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS server rest io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-core - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/arlas-rest/src/main/java/io/arlas/server/rest/explore/ExploreRESTServices.java b/arlas-rest/src/main/java/io/arlas/server/rest/explore/ExploreRESTServices.java index 091d679ed..d9a6c824d 100644 --- a/arlas-rest/src/main/java/io/arlas/server/rest/explore/ExploreRESTServices.java +++ b/arlas-rest/src/main/java/io/arlas/server/rest/explore/ExploreRESTServices.java @@ -35,7 +35,7 @@ title = "ARLAS Exploration API", description = "Explore the content of ARLAS collections", license = @License(name = "Apache 2.0", url = "https://www.apache.org/licenses/LICENSE-2.0.html"), - version = "11.0.2"), + version = "11.1.0"), schemes = { SwaggerDefinition.Scheme.HTTP, SwaggerDefinition.Scheme.HTTPS }) public abstract class ExploreRESTServices { diff --git a/arlas-server/pom.xml b/arlas-server/pom.xml index 97a85aad1..ddc43511a 100644 --- a/arlas-server/pom.xml +++ b/arlas-server/pom.xml @@ -2,41 +2,41 @@ 4.0.0 io.arlas arlas-server - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS server io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-rest - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-opensearch - 11.6.4-SNAPSHOT + 11.6.4 io.arlas ogc-csw - 11.6.4-SNAPSHOT + 11.6.4 io.arlas ogc-wfs - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-admin - 11.6.4-SNAPSHOT + 11.6.4 org.elasticsearch.client diff --git a/arlas-tests/pom.xml b/arlas-tests/pom.xml index 86f4e865b..7530b05bf 100644 --- a/arlas-tests/pom.xml +++ b/arlas-tests/pom.xml @@ -2,21 +2,21 @@ 4.0.0 io.arlas arlas-tests - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS server tests io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-server - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/ogc-common/pom.xml b/ogc-common/pom.xml index 3b7144b06..4bdefc6ac 100644 --- a/ogc-common/pom.xml +++ b/ogc-common/pom.xml @@ -2,21 +2,21 @@ 4.0.0 io.arlas ogc-common - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS ogc common io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas arlas-core - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/ogc-csw/pom.xml b/ogc-csw/pom.xml index f42e28f88..6c6145403 100644 --- a/ogc-csw/pom.xml +++ b/ogc-csw/pom.xml @@ -2,21 +2,21 @@ 4.0.0 io.arlas ogc-csw - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS ogc csw io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas ogc-common - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/ogc-wfs/pom.xml b/ogc-wfs/pom.xml index 07a370141..76e744181 100644 --- a/ogc-wfs/pom.xml +++ b/ogc-wfs/pom.xml @@ -2,21 +2,21 @@ 4.0.0 io.arlas ogc-wfs - 11.6.4-SNAPSHOT + 11.6.4 jar ARLAS ogc wfs io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 io.arlas ogc-common - 11.6.4-SNAPSHOT + 11.6.4 diff --git a/openapi/swagger.json b/openapi/swagger.json index 11201b81c..a387ca847 100644 --- a/openapi/swagger.json +++ b/openapi/swagger.json @@ -2,7 +2,7 @@ "swagger" : "2.0", "info" : { "description" : "Explore the content of ARLAS collections", - "version" : "11.6.4-SNAPSHOT", + "version" : "11.1.0", "title" : "ARLAS Exploration API", "contact" : { "name" : "Gisaia", @@ -24,15 +24,22 @@ } ], "schemes" : [ "http", "https" ], "paths" : { - "/collections/_export" : { + "/collections" : { "get" : { "tags" : [ "collections" ], - "summary" : "Get all collection references as a json file", - "description" : "Get all collection references in ARLAS as json file", - "operationId" : "exportCollections_1", + "summary" : "Get all collection references", + "description" : "Get all collection references in ARLAS", + "operationId" : "getAll_1", "consumes" : [ "application/json;charset=utf-8" ], "produces" : [ "application/json;charset=utf-8" ], - "parameters" : [ ], + "parameters" : [ { + "name" : "pretty", + "in" : "query", + "description" : "Pretty print", + "required" : false, + "type" : "boolean", + "default" : false + } ], "responses" : { "200" : { "description" : "Successful operation", @@ -52,25 +59,23 @@ } } }, - "/collections/_import" : { - "post" : { + "/collections/_export" : { + "get" : { "tags" : [ "collections" ], - "summary" : "Add collection references from a json file", - "description" : "Add collection references in ARLAS from a json file", - "operationId" : "importCollections_1", - "consumes" : [ "multipart/form-data" ], + "summary" : "Get all collection references as a json file", + "description" : "Get all collection references in ARLAS as json file", + "operationId" : "exportCollections_1", + "consumes" : [ "application/json;charset=utf-8" ], "produces" : [ "application/json;charset=utf-8" ], - "parameters" : [ { - "name" : "file", - "in" : "formData", - "required" : false, - "type" : "file" - } ], + "parameters" : [ ], "responses" : { "200" : { "description" : "Successful operation", "schema" : { - "type" : "string" + "type" : "array", + "items" : { + "$ref" : "#/definitions/CollectionReference" + } } }, "500" : { @@ -82,30 +87,25 @@ } } }, - "/collections" : { - "get" : { + "/collections/_import" : { + "post" : { "tags" : [ "collections" ], - "summary" : "Get all collection references", - "description" : "Get all collection references in ARLAS", - "operationId" : "getAll_1", - "consumes" : [ "application/json;charset=utf-8" ], + "summary" : "Add collection references from a json file", + "description" : "Add collection references in ARLAS from a json file", + "operationId" : "importCollections_1", + "consumes" : [ "multipart/form-data" ], "produces" : [ "application/json;charset=utf-8" ], "parameters" : [ { - "name" : "pretty", - "in" : "query", - "description" : "Pretty print", + "name" : "file", + "in" : "formData", "required" : false, - "type" : "boolean", - "default" : false + "type" : "file" } ], "responses" : { "200" : { "description" : "Successful operation", "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/definitions/CollectionReference" - } + "type" : "string" } }, "500" : { @@ -2031,6 +2031,11 @@ "description" : "The format of dates. This parameter should be set only if a date field is queried in `f` param; when using `gt`, `lt`, `gte`, `lte` and `range` operations", "required" : false, "type" : "string" + }, { + "name" : "Column-Filter", + "in" : "header", + "required" : false, + "type" : "string" }, { "name" : "pretty", "in" : "query", diff --git a/openapi/swagger.yaml b/openapi/swagger.yaml index f19ba4e37..194f67e46 100644 --- a/openapi/swagger.yaml +++ b/openapi/swagger.yaml @@ -2,7 +2,7 @@ swagger: "2.0" info: description: "Explore the content of ARLAS collections" - version: "11.6.4-SNAPSHOT" + version: "11.1.0" title: "ARLAS Exploration API" contact: name: "Gisaia" @@ -20,6 +20,35 @@ schemes: - "http" - "https" paths: + /collections: + get: + tags: + - "collections" + summary: "Get all collection references" + description: "Get all collection references in ARLAS" + operationId: "getAll_1" + consumes: + - "application/json;charset=utf-8" + produces: + - "application/json;charset=utf-8" + parameters: + - name: "pretty" + in: "query" + description: "Pretty print" + required: false + type: "boolean" + default: false + responses: + 200: + description: "Successful operation" + schema: + type: "array" + items: + $ref: "#/definitions/CollectionReference" + 500: + description: "Arlas Server Error." + schema: + $ref: "#/definitions/Error" /collections/_export: get: tags: @@ -68,35 +97,6 @@ paths: description: "Arlas Server Error." schema: $ref: "#/definitions/Error" - /collections: - get: - tags: - - "collections" - summary: "Get all collection references" - description: "Get all collection references in ARLAS" - operationId: "getAll_1" - consumes: - - "application/json;charset=utf-8" - produces: - - "application/json;charset=utf-8" - parameters: - - name: "pretty" - in: "query" - description: "Pretty print" - required: false - type: "boolean" - default: false - responses: - 200: - description: "Successful operation" - schema: - type: "array" - items: - $ref: "#/definitions/CollectionReference" - 500: - description: "Arlas Server Error." - schema: - $ref: "#/definitions/Error" /collections/{collection}: get: tags: @@ -2179,6 +2179,10 @@ paths: \ and `range` operations" required: false type: "string" + - name: "Column-Filter" + in: "header" + required: false + type: "string" - name: "pretty" in: "query" description: "Pretty print" diff --git a/packaging/helm/arlas-server/Chart.yaml b/packaging/helm/arlas-server/Chart.yaml index 18f6177c2..2fc59643f 100644 --- a/packaging/helm/arlas-server/Chart.yaml +++ b/packaging/helm/arlas-server/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -appVersion: 11.6.3 +appVersion: 11.6.4 description: Exploration & analyzis of geo-referenced data from elasticsearch. home: http://arlas.io/ icon: http://arlas.io/wp-content/uploads/2017/12/Logo-Arlas-Bicolor-01.png @@ -10,4 +10,4 @@ maintainers: name: arlas-server sources: - https://github.com/gisaia/ARLAS-server -version: 11.6.3 +version: 11.6.4 diff --git a/pom.xml b/pom.xml index 8b2cc49f7..184d0b831 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.arlas arlas-server-parent - 11.6.4-SNAPSHOT + 11.6.4 pom ARLAS server parent