From ef9a466293c6f048464a5bd2ac8329cd30ff3334 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Sun, 17 Sep 2017 14:12:47 +0000 Subject: Remove gremlin server config from aai-config Issue-ID: AAI-267 Change-Id: I31f17da5c2654cfc8a610c498240bd918b9b1ee8 Signed-off-by: Venkata Harish K Kajur --- .../aai-traversal-config/attributes/gremlin-server-config.rb | 1 - .../aai-traversal-config/recipes/gremlin-server-config.rb | 11 ----------- .../aai-traversal-app-config/gremlin-server-config.yaml | 3 --- cookbooks/aai-traversal/runlist-aai-traversal.json | 1 - 4 files changed, 16 deletions(-) delete mode 100644 cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb delete mode 100644 cookbooks/aai-traversal/aai-traversal-config/recipes/gremlin-server-config.rb delete mode 100644 cookbooks/aai-traversal/aai-traversal-config/templates/default/aai-traversal-app-config/gremlin-server-config.yaml diff --git a/cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb b/cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb deleted file mode 100644 index 97fa6fd..0000000 --- a/cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb +++ /dev/null @@ -1 +0,0 @@ -node.default["aai-traversal-config"]["AAI_GREMLIN_SERVER_CONFIG_HOST_LIST"] = '[localhost]' diff --git a/cookbooks/aai-traversal/aai-traversal-config/recipes/gremlin-server-config.rb b/cookbooks/aai-traversal/aai-traversal-config/recipes/gremlin-server-config.rb deleted file mode 100644 index 2af775b..0000000 --- a/cookbooks/aai-traversal/aai-traversal-config/recipes/gremlin-server-config.rb +++ /dev/null @@ -1,11 +0,0 @@ -['gremlin-server-config.yaml'].each do |file| - template "#{node['aai-traversal-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do - source "aai-traversal-app-config/gremlin-server-config.yaml" - owner "aaiadmin" - group "aaiadmin" - mode "0644" - variables( -:AAI_GREMLIN_SERVER_CONFIG_HOST_LIST => node["aai-traversal-config"]["AAI_GREMLIN_SERVER_CONFIG_HOST_LIST"] - ) - end -end \ No newline at end of file diff --git a/cookbooks/aai-traversal/aai-traversal-config/templates/default/aai-traversal-app-config/gremlin-server-config.yaml b/cookbooks/aai-traversal/aai-traversal-config/templates/default/aai-traversal-app-config/gremlin-server-config.yaml deleted file mode 100644 index 23637a8..0000000 --- a/cookbooks/aai-traversal/aai-traversal-config/templates/default/aai-traversal-app-config/gremlin-server-config.yaml +++ /dev/null @@ -1,3 +0,0 @@ -hosts: <%= @AAI_GREMLIN_SERVER_CONFIG_HOST_LIST %> -port: 8182 -serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 } \ No newline at end of file diff --git a/cookbooks/aai-traversal/runlist-aai-traversal.json b/cookbooks/aai-traversal/runlist-aai-traversal.json index 8baa3e4..98c61a7 100644 --- a/cookbooks/aai-traversal/runlist-aai-traversal.json +++ b/cookbooks/aai-traversal/runlist-aai-traversal.json @@ -5,7 +5,6 @@ "recipe[aai-traversal-config::aaiEventDMaaPPublisher]", "recipe[aai-traversal-config::titan-cached]", "recipe[aai-traversal-config::titan-realtime]", - "recipe[aai-traversal-config::gremlin-server-config]", "recipe[aai-traversal-config::aai-traversal-config]", "recipe[aai-traversal-config::aai-preferredRoute]" ] -- cgit 1.2.3-korg