From e07d5b8dc0801583518b4f27ce6b8f3b56bcf206 Mon Sep 17 00:00:00 2001 From: "Lee, Tian (tl5884)" Date: Fri, 1 Mar 2019 16:03:03 +0000 Subject: Add elasticsearch with searchguard Dockerfile Add Dockerfile that produces an image of ElasticSearch with SearchGuard plugin pre-installed, and restructure the Maven project to build both the old search-data-service Dockerfile and the new elasticsearch-sg Dockerfile. Change-Id: Iff7cb79e3c09da78b6233422f40cb03eeef5bfdb Issue-ID: AAI-2203 Signed-off-by: Lee, Tian (tl5884) --- .../resources/json/schema/analyzer.schema.json | 29 ----------------- .../json/schema/document-field.schema.json | 37 ---------------------- .../resources/json/schema/document.schema.json | 15 --------- src/main/resources/json/schema/filter.schema.json | 17 ---------- 4 files changed, 98 deletions(-) delete mode 100644 src/main/resources/json/schema/analyzer.schema.json delete mode 100644 src/main/resources/json/schema/document-field.schema.json delete mode 100644 src/main/resources/json/schema/document.schema.json delete mode 100644 src/main/resources/json/schema/filter.schema.json (limited to 'src/main/resources/json/schema') diff --git a/src/main/resources/json/schema/analyzer.schema.json b/src/main/resources/json/schema/analyzer.schema.json deleted file mode 100644 index 7592ee9..0000000 --- a/src/main/resources/json/schema/analyzer.schema.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Analyzer", - "description": "The analyzer aggregates a tokenizer and multiple filters to describe how an input stream should be indexed.", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "behaviours": { - "type": "array", - "items": { - "type": "string" - } - }, - "tokenizer": { - "type": "string" - }, - "filters": { - "type": "array", - "items": { - "type": "string" - } - } - } -} \ No newline at end of file diff --git a/src/main/resources/json/schema/document-field.schema.json b/src/main/resources/json/schema/document-field.schema.json deleted file mode 100644 index 78d6cba..0000000 --- a/src/main/resources/json/schema/document-field.schema.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Document Field Schema", - "description": "Describes the structure of a document field for storage in a document store.", - "type": "object", - "javaType": "org.onap.aai.sa.rest.DocumentFieldSchema", - "properties": { - "name": { - "type": "string" - }, - "data-type": { - "type": "string" - }, - "format": { - "type": "string" - }, - "searchable": { - "type": "boolean" - }, - "search-analyzer": { - "type": "string" - }, - "index-analyzer": { - "type": "string" - }, - "sub-fields": { - "type": "array", - "items": { - "$ref": "document-field.schema.json" - } - } - }, - "required": [ - "name", - "data-type" - ] -} \ No newline at end of file diff --git a/src/main/resources/json/schema/document.schema.json b/src/main/resources/json/schema/document.schema.json deleted file mode 100644 index bbf3e50..0000000 --- a/src/main/resources/json/schema/document.schema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Document Schema", - "description": "Describes the structure of a document for storage in a document store.", - "type": "object", - "javaType": "org.onap.aai.sa.rest.DocumentSchema", - "properties": { - "fields": { - "type": "array", - "items": { - "$ref": "document-field.schema.json" - } - } - } -} \ No newline at end of file diff --git a/src/main/resources/json/schema/filter.schema.json b/src/main/resources/json/schema/filter.schema.json deleted file mode 100644 index 6d1a030..0000000 --- a/src/main/resources/json/schema/filter.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Filter", - "description": "Filters accept a stream of tokens from a tokenizer and apply additional rules, possibly producing additional tokens. ", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "configuration": { - "type": "string" - } - } -} \ No newline at end of file -- cgit 1.2.3-korg