snapshot of https://github.com/ent/ent.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
11
entc/integration/compose/gremlin-server/Dockerfile
Normal file
11
entc/integration/compose/gremlin-server/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright 2019-present Facebook Inc. All rights reserved.
|
||||
# This source code is licensed under the Apache 2.0 license found
|
||||
# in the LICENSE file in the root directory of this source tree.
|
||||
|
||||
# Fetch base gremlin server image
|
||||
# This version compatible with Amazon Neptune Engine Version 1.0.5.0.
|
||||
# https://docs.aws.amazon.com/neptune/latest/userguide/engine-releases-1.0.5.0.html
|
||||
FROM tinkerpop/gremlin-server:3.4.11
|
||||
|
||||
# Copy overridden server configuration.
|
||||
COPY gremlin-server.yaml tinkergraph-empty.properties /opt/gremlin-server/conf/
|
||||
40
entc/integration/compose/gremlin-server/gremlin-server.yaml
Normal file
40
entc/integration/compose/gremlin-server/gremlin-server.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
host: localhost
|
||||
port: 8182
|
||||
scriptEvaluationTimeout: 30000
|
||||
channelizer: org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer
|
||||
graphs: {
|
||||
graph: conf/tinkergraph-empty.properties}
|
||||
scriptEngines: {
|
||||
gremlin-groovy: {
|
||||
plugins: { org.apache.tinkerpop.gremlin.server.jsr223.GremlinServerGremlinPlugin: {},
|
||||
org.apache.tinkerpop.gremlin.tinkergraph.jsr223.TinkerGraphGremlinPlugin: {},
|
||||
org.apache.tinkerpop.gremlin.jsr223.ImportGremlinPlugin: {classImports: [java.lang.Math], methodImports: [java.lang.Math#*]},
|
||||
org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: {files: [scripts/empty-sample.groovy]}}}}
|
||||
serializers:
|
||||
- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3d0] }}
|
||||
metrics: {
|
||||
slf4jReporter: {enabled: true, interval: 180000}}
|
||||
strictTransactionManagement: false
|
||||
maxInitialLineLength: 4096
|
||||
maxHeaderSize: 8192
|
||||
maxChunkSize: 8192
|
||||
maxContentLength: 65536
|
||||
maxAccumulationBufferComponents: 1024
|
||||
resultIterationBatchSize: 64
|
||||
@@ -0,0 +1,19 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
gremlin.graph=org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph
|
||||
gremlin.tinkergraph.vertexIdManager=UUID
|
||||
gremlin.tinkergraph.edgeIdManager=UUID
|
||||
Reference in New Issue
Block a user