fixing make error? 15/63615/1
authorMandeep Khinda <mandeep.khinda@amdocs.com>
Wed, 29 Aug 2018 21:45:05 +0000 (21:45 +0000)
committerMandeep Khinda <mandeep.khinda@amdocs.com>
Wed, 29 Aug 2018 21:45:05 +0000 (21:45 +0000)
Issue-ID: LOG-612

Change-Id: I3a9fcbff2bf04a2d120ba3fdb0a3b0ada3083b1d
Signed-off-by: Prudence Au <prudence.au@amdocs.com>
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
kubernetes/pomba/charts/pomba-search-data/Chart.yaml
kubernetes/pomba/charts/pomba-search-data/resources/config/analysis-config.json
kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json
kubernetes/pomba/charts/pomba-search-data/resources/config/dynamic-custom-template.json
kubernetes/pomba/charts/pomba-search-data/resources/config/elastic-search.properties
kubernetes/pomba/charts/pomba-search-data/resources/config/es-payload-translation.json
kubernetes/pomba/charts/pomba-search-data/resources/config/filter-config.json
kubernetes/pomba/charts/pomba-search-data/resources/config/log/logback.xml

index 89e7917..ef0e5d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2018 Amdocs
+# Copyright Â© 2018 Amdocs
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
index dce0e40..0927d98 100644 (file)
@@ -1,32 +1,31 @@
-[
-       {
+[{
                "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"
-               ]
+               "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"
-               ]
+               "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
index a834227..00a6de5 100644 (file)
@@ -1,31 +1,24 @@
 {
-  "roles": [
-    {
-      "name": "admin",
-      "functions": [
+  "roles": [{
+    "name": "admin",
+    "functions": [{
+      "name": "search",
+      "methods": [{
+          "name": "GET"
+        },
         {
-          "name": "search",
-          "methods": [
-            {
-              "name": "GET"
-            },
-            {
-              "name": "DELETE"
-            },
-            {
-              "name": "PUT"
-            },
-            {
-              "name": "POST"
-            }
-          ]
-        }
-      ],
-      "users": [
+          "name": "DELETE"
+        },
+        {
+          "name": "PUT"
+        },
         {
-          "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+          "name": "POST"
         }
       ]
-    }
-  ]
+    }],
+    "users": [{
+      "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+    }]
+  }]
 }
\ No newline at end of file
index b0eb539..0bd8686 100644 (file)
@@ -1,12 +1,10 @@
-"dynamic_templates":[
-   {
-      "strings":{
-         "match_mapping_type":"string",
-         "match": "*",
-         "mapping":{
-            "type":"text",
-            "fielddata":true
-         }
-      }
-   }
-],
+"dynamic_templates": [{
+    "strings": {
+        "match_mapping_type": "string",
+        "match": "*",
+        "mapping": {
+            "type": "text",
+            "fielddata": true
+        }
+    }
+}],
\ No newline at end of file
index b5c7fee..3048e60 100644 (file)
@@ -2,4 +2,4 @@
 
 es.cluster-name=POMBA_ES
 es.ip-address=pomba-es.{{.Release.Namespace}}
-es.http-port={{ .Values.config.elasticsearchHttpPort }}
+es.http-port={{.Values.config.elasticsearchHttpPort}}
index 93888be..de8bacf 100644 (file)
@@ -1,6 +1,5 @@
 {
-  "attr-translations": [
-    {
+  "attr-translations": [{
       "from": "\"type\":\"string\",\"index\":\"analyzed\"",
       "to": "\"type\":\"text\",\"index\":\"true\""
     },
index e2d5285..5f9120e 100644 (file)
@@ -1,7 +1,5 @@
-[
-       {
-               "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
+[{
+       "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
index 3fbbbab..bfca544 100644 (file)
@@ -2,7 +2,7 @@
         <!--<jmxConfigurator /> -->
         <!-- directory path for all other type logs -->
 
-        <property name="logDir"  value="/var/log/onap" />
+        <property name="logDir" value="/var/log/onap" />
 
 
         <!--  specify the component name
         <!-- The EELFAppender is used to record events to the general application
                       log -->
 
-        <appender name="EELF"
-                          class="ch.qos.logback.core.rolling.RollingFileAppender">
+        <appender name="EELF" class="ch.qos.logback.core.rolling.RollingFileAppender">
                 <file>${logDirectory}/${generalLogName}.log</file>
-                <rollingPolicy
-                                class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+                <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
                         <fileNamePattern>${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip
                         </fileNamePattern>
                         <maxHistory>60</maxHistory>
          Policy engine events from other components, or it can be eliminated to record
          these events as part of the application root log. -->
 
-        <appender name="EELFAudit"
-                          class="ch.qos.logback.core.rolling.RollingFileAppender">
+        <appender name="EELFAudit" class="ch.qos.logback.core.rolling.RollingFileAppender">
                 <file>${logDirectory}/${auditLogName}.log</file>
-                <rollingPolicy
-                                class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+                <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
                         <fileNamePattern>${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip
                         </fileNamePattern>
                         <maxHistory>60</maxHistory>
                 <appender-ref ref="EELFAudit" />
         </appender>
 
-        <appender name="EELFMetrics"
-                          class="ch.qos.logback.core.rolling.RollingFileAppender">
+        <appender name="EELFMetrics" class="ch.qos.logback.core.rolling.RollingFileAppender">
                 <file>${logDirectory}/${metricsLogName}.log</file>
-                <rollingPolicy
-                                class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+                <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
                         <fileNamePattern>${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip
                         </fileNamePattern>
                         <maxHistory>60</maxHistory>
                 <appender-ref ref="EELFMetrics"/>
         </appender>
 
-        <appender name="EELFDebug"
-                          class="ch.qos.logback.core.rolling.RollingFileAppender">
+        <appender name="EELFDebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
                 <file>${logDirectory}/${debugLogName}.log</file>
-                <rollingPolicy
-                                class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+                <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
                         <fileNamePattern>${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip
                         </fileNamePattern>
                         <maxHistory>60</maxHistory>