Skip to content

Commit

Permalink
change distribution target for assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
tom4tomato@gmail.com committed Oct 15, 2019
1 parent aae180e commit 06b3590
Show file tree
Hide file tree
Showing 24 changed files with 276 additions and 342 deletions.
7 changes: 7 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##Yang-DB image name
TAG=latest

ELASTICSEARCH_EMBEDDED=true
ELASTICSEARCH_HOST=localhost
ELASTICSEARCH_PORT=9300
ELASTICSEARCH_CLUSTER_NAME=knowledge
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Please note we have a code of conduct, please follow it in all your interactions
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
Pull Request would represent.
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.

Expand Down
5 changes: 1 addition & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ version: '3.3'

services:
fuse:
image: yangdb/yang.db:latest
image: yangdb/yang.db:${TAG}
ports:
- 8888:8888
environment:
- "ELASTICSEARCH_HOST=es"
- "ELASTICSEARCH_CLUSTER_NAME=Knowledge"
networks:
- network
es:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ public String getPrefix(String type) {
return "";
}

@Override
public String getIdPrefix(String type) {
return "";
}

@Override
public List<IndexPartitions.Partition> getPartitions(String type) {
return Collections.emptyList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ unipop.bulk.start = 1000
unipop.bulk.multiplier = 1

assembly = Knowledge

Knowledge.physical_raw_schema = com.yangdb.fuse.assembly.knowledge.KnowledgeRawSchemaShort
Knowledge.physical_schema_data_loader = com.yangdb.fuse.assembly.knowledge.KnowledgeDataLoader
Knowledge.search_order_provider = com.yangdb.fuse.assembly.knowledge.KnowledgeSearchOrderProvider
Expand All @@ -59,4 +60,8 @@ Knowledge.cursor_factory = com.yangdb.fuse.assembly.knowledge.cursor.KnowledgeTr
fuse.node_status_reporter = com.yangdb.fuse.executor.resource.PersistantNodeStatusResource
fuse.plan_traversal_translator_class = com.yangdb.fuse.gta.translation.discrete.M1PlanTraversalTranslator
fuse.ontology_provider_dir = ontology
fuse.cursor.timeout = 1800000
fuse.cursor.timeout = 1800000

fuse.id_bulk=10000000
fuse.id_format="%08d"
fuse.indices_count=10
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ fuse.ontology_provider_dir = ontology
fuse.elasticsearch.mock = true
fuse.cursor.timeout = 18000

fuse.id_bulk=10000000
fuse.id_format="%08d"
fuse.indices_count=10



Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 06b3590

Please sign in to comment.