Skip to content

Commit

Permalink
(feat): opendistro
Browse files Browse the repository at this point in the history
  • Loading branch information
markharding committed Jun 24, 2021
1 parent fe050b6 commit 7dcc2d9
Show file tree
Hide file tree
Showing 17 changed files with 456 additions and 3,274 deletions.
3 changes: 1 addition & 2 deletions containers/elasticsearch-provisioner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM alpine:latest

RUN apk add curl docker --no-cache
WORKDIR /provisioner
COPY wait-for.sh provision-elasticsearch.sh provision-elasticsearch-legacy.sh /provisioner/
COPY schema-legacy/ /provisioner/schema-legacy/
COPY wait-for.sh provision-elasticsearch.sh /provisioner/
COPY schema/ /provisioner/schema/
ENTRYPOINT ["sh", "./provision-elasticsearch.sh", "elasticsearch"]

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ echo "Waiting for elastic search to come online..."
./wait-for.sh $1:9200 --timeout=120 -- echo "Elastic search is up and running"

echo "Putting mappings"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-search-activity -d @./schema/minds-search-activity_object.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-search-object-image -d @./schema/minds-search-user_group.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-search-object-video -d @./schema/minds-search-user_group.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-search-object-blog -d @./schema/minds-search-user_group.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-search-user -d @./schema/minds-search-user_group.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-search-group -d @./schema/minds-search-user_group.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-views -d @./schema/minds-views.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-boost -d @./schema/minds-boost.json --header "Content-Type: application/json"
curl -s --write-out ' Status: %{http_code}\n' -X PUT http://$1:9200/minds-offchain -d @./schema/minds-offchain.json --header "Content-Type: application/json"
Expand Down

This file was deleted.

This file was deleted.

54 changes: 0 additions & 54 deletions containers/elasticsearch-provisioner/schema-legacy/minds-kite.json

This file was deleted.

Loading

0 comments on commit 7dcc2d9

Please sign in to comment.