From 740e4738ef423806ccfc9faf13a7e52e2a3556b7 Mon Sep 17 00:00:00 2001 From: Grzegorz-Lis Date: Wed, 2 Dec 2020 11:17:57 +0000 Subject: [OOM] Remove POMBA from OOM repository Pomba is obsolete and not used anymore by ONAP Issue-ID: OOM-2642 Signed-off-by: Grzegorz Lis Change-Id: If6b2cc43d1cb088f5ea2ae05970b625fc1f5d425 --- .../resources/config/analysis-config.json | 31 ---- .../resources/config/auth/search_policy.json | 24 --- .../resources/config/auth/tomcat_keystore | Bin 2214 -> 0 bytes .../resources/config/dynamic-custom-template.json | 10 -- .../resources/config/elastic-search.properties | 7 - .../resources/config/es-payload-translation.json | 16 -- .../resources/config/filter-config.json | 5 - .../resources/config/log/logback.xml | 170 --------------------- 8 files changed, 263 deletions(-) delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/analysis-config.json delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/auth/search_policy.json delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/auth/tomcat_keystore delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/dynamic-custom-template.json delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/elastic-search.properties delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/es-payload-translation.json delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/filter-config.json delete mode 100644 kubernetes/pomba/components/pomba-search-data/resources/config/log/logback.xml (limited to 'kubernetes/pomba/components/pomba-search-data/resources') diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/analysis-config.json b/kubernetes/pomba/components/pomba-search-data/resources/config/analysis-config.json deleted file mode 100644 index 0927d98748..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/analysis-config.json +++ /dev/null @@ -1,31 +0,0 @@ -[{ - "name": "whitespace_analyzer", - "description": "A standard whitespace analyzer.", - "behaviours": [ - "Tokenize the text using white space characters as delimeters.", - "Convert all characters to lower case.", - "Convert all alphanumeric and symbolic Unicode characters above the first 127 ASCII characters into their ASCII equivalents." - ], - "tokenizer": "whitespace", - "filters": [ - "lowercase", - "asciifolding" - ] - }, - { - "name": "ngram_analyzer", - "description": "An analyzer which performs ngram filtering on the data stream.", - "behaviours": [ - "Tokenize the text using white space characters as delimeters.", - "Convert all characters to lower case.", - "Convert all alphanumeric and symbolic Unicode characters above the first 127 ASCII characters into their ASCII equivalents.", - "Apply ngram filtering using the following values for minimum and maximum size in codepoints of a single n-gram: minimum = 1, maximum = 2." - ], - "tokenizer": "whitespace", - "filters": [ - "lowercase", - "asciifolding", - "ngram_filter" - ] - } -] \ No newline at end of file diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/auth/search_policy.json b/kubernetes/pomba/components/pomba-search-data/resources/config/auth/search_policy.json deleted file mode 100644 index 00a6de5f4a..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/auth/search_policy.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "roles": [{ - "name": "admin", - "functions": [{ - "name": "search", - "methods": [{ - "name": "GET" - }, - { - "name": "DELETE" - }, - { - "name": "PUT" - }, - { - "name": "POST" - } - ] - }], - "users": [{ - "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA" - }] - }] -} \ No newline at end of file diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/auth/tomcat_keystore b/kubernetes/pomba/components/pomba-search-data/resources/config/auth/tomcat_keystore deleted file mode 100644 index 9eec841aa2..0000000000 Binary files a/kubernetes/pomba/components/pomba-search-data/resources/config/auth/tomcat_keystore and /dev/null differ diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/dynamic-custom-template.json b/kubernetes/pomba/components/pomba-search-data/resources/config/dynamic-custom-template.json deleted file mode 100644 index 0bd8686f85..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/dynamic-custom-template.json +++ /dev/null @@ -1,10 +0,0 @@ -"dynamic_templates": [{ - "strings": { - "match_mapping_type": "string", - "match": "*", - "mapping": { - "type": "text", - "fielddata": true - } - } -}], \ No newline at end of file diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/elastic-search.properties b/kubernetes/pomba/components/pomba-search-data/resources/config/elastic-search.properties deleted file mode 100644 index a42eb427bb..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/elastic-search.properties +++ /dev/null @@ -1,7 +0,0 @@ -{{/* -# ElasticSearch Configuration -*/}} - -es.cluster-name=POMBA_ES -es.ip-address=pomba-es.{{.Release.Namespace}} -es.http-port={{.Values.config.elasticsearchHttpPort}} diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/es-payload-translation.json b/kubernetes/pomba/components/pomba-search-data/resources/config/es-payload-translation.json deleted file mode 100644 index 58ed8f6428..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/es-payload-translation.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "attr-translations": [ - { - "query": "$..[?(@.type=='string' && @.index=='analyzed')]", - "update": {"type": "text", "index": true, "fielddata": true} - }, - { - "query": "$..[?(@.type=='string' && @.index=='not_analyzed')]", - "update": {"type": "keyword", "index": true} - }, - { - "query": "$..[?(@.type=='string' && !@.index)]", - "update": {"type": "text", "fielddata": true} - } - ] -} \ No newline at end of file diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/filter-config.json b/kubernetes/pomba/components/pomba-search-data/resources/config/filter-config.json deleted file mode 100644 index 5f9120e889..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/filter-config.json +++ /dev/null @@ -1,5 +0,0 @@ -[{ - "name": "ngram_filter", - "description": "Custom NGram Filter.", - "configuration": " \"type\": \"nGram\", \"min_gram\": 1, \"max_gram\": 50, \"token_chars\": [ \"letter\", \"digit\", \"punctuation\", \"symbol\" ]" -}] \ No newline at end of file diff --git a/kubernetes/pomba/components/pomba-search-data/resources/config/log/logback.xml b/kubernetes/pomba/components/pomba-search-data/resources/config/log/logback.xml deleted file mode 100644 index f84d1bbbb0..0000000000 --- a/kubernetes/pomba/components/pomba-search-data/resources/config/log/logback.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - ${errorLogPattern} - - - - - - - - - - - ${logDirectory}/${generalLogName}.log - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - ${errorLogPattern} - - - - - - INFO - - 256 - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - ${auditMetricPattern} - - - - 256 - - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - - ${auditMetricPattern} - - - - - - 256 - - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - ${errorLogPattern} - - - - - 256 - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit 1.2.3-korg