-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge of all branches with latest dev
- Loading branch information
Showing
134 changed files
with
4,351 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'master' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
jobs: | ||
test_and_package: | ||
runs-on: ubuntu-latest | ||
continue-on-error: false | ||
steps: | ||
- name: Checking out code base | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Pull ryuk | ||
run: docker pull quay.io/testcontainers/ryuk:0.2.2 | ||
continue-on-error: false | ||
|
||
- name: Verification | ||
run: mvn clean verify -Dmaven.test.failure.ignore=false | ||
continue-on-error: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,3 @@ target/* | |
config/test.yml | ||
gauth-creds-env.sh | ||
idman-creds-env.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
BUILD_PROJECT_VERSION=6.3.1-8 | ||
BUILD_PROJECT_VERSION=6.3.1-9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
server: | ||
applicationConnectors: | ||
- type: http | ||
port: 17000 | ||
adminConnectors: | ||
- type: http | ||
port: 17001 | ||
|
||
swaggerScheme: ${SWAGGER_SCHEME} | ||
|
||
elasticsearch: | ||
hosts: | ||
- ${ELASTICSEARCH_HOST} | ||
cluster: ${ELASTICSEARCH_CLUSTER_NAME} | ||
tableNamePrefix: ${ELASTICSEARCH_TABLE_NAME_PREFIX} | ||
port: ${ELASTICSEARCH_PORT} | ||
connectionType: ${ELASTICSEARCH_PROTOCOL} | ||
|
||
hbase: | ||
secure : false | ||
tableName: ${HBASE_TABLE_NAME} | ||
hbaseZookeeperQuorum: ${HBASE_ZOOKEEPER_QUORUM} | ||
hbaseZookeeperClientPort: ${HBASE_ZOOKEEPER_CLIENT_PORT} | ||
|
||
cluster: | ||
name: foxtrot | ||
discovery: | ||
type: ${DISCOVERY_TYPE} | ||
disableMulticast: true | ||
members: ["localhost:5701"] | ||
|
||
cacheConfig: | ||
maxIdleSeconds: 15 | ||
timeToLiveSeconds: 15 | ||
|
||
logging: | ||
level: INFO | ||
loggers: | ||
com.flipkart.foxtrot.core.querystore.actions: DEBUG | ||
org.apache.hadoop.hbase.zookeeper: WARN | ||
org.apache.zookeeper: WARN | ||
org.apache.hadoop.hbase.client: WARN | ||
appenders: | ||
- type: console | ||
threshold: TRACE | ||
timeZone: IST | ||
logFormat: "%(%-5level) [%date] %X{TRACE-ID} [%thread] [%logger{0}]: %message%n" | ||
|
||
cardinality: | ||
enabled: true | ||
batchSize: 10 | ||
active: true | ||
interval: 86400 | ||
initialDelay: 6 | ||
maxCardinality: 20000 | ||
|
||
deletionconfig: | ||
active: true | ||
interval: 86400 | ||
initialdelay: 60 | ||
|
||
esIndexOptimizationConfig: | ||
active: true | ||
interval: 86400 | ||
initialDelay: 6 | ||
|
||
consoleHistoryConfig: | ||
active: true | ||
interval: 86400 | ||
initialDelay: 10 | ||
|
||
sessionCleanupConfig: | ||
active: true | ||
interval: 86400 | ||
initialDelay: 10 | ||
|
||
auth: | ||
enabled: true | ||
jwt: | ||
issuerId: foxtrot-server | ||
privateKey: ${PRIVATE_KEY} | ||
sessionDuration: 15d | ||
|
||
provider: | ||
type: OAUTH_GOOGLE | ||
clientId: ${GOOGLE_CLIENT_ID} | ||
clientSecret: ${GOOGLE_CLIENT_SECRET} | ||
server: ${GOOGLE_CALLBACK_HOST_PORT} | ||
secureEndpoint: ${GOOGLE_SECURE_ENDPOINT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
server: | ||
applicationConnectors: | ||
- type: http | ||
port: 17000 | ||
adminConnectors: | ||
- type: http | ||
port: 17001 | ||
|
||
swaggerScheme: ${SWAGGER_SCHEME} | ||
|
||
elasticsearch: | ||
hosts: | ||
- ${ELASTICSEARCH_HOST} | ||
cluster: ${ELASTICSEARCH_CLUSTER_NAME} | ||
tableNamePrefix: ${ELASTICSEARCH_TABLE_NAME_PREFIX} | ||
port: ${ELASTICSEARCH_PORT} | ||
connectionType: ${ELASTICSEARCH_PROTOCOL} | ||
|
||
hbase: | ||
secure : false | ||
tableName: ${HBASE_TABLE_NAME} | ||
hbaseZookeeperQuorum: ${HBASE_ZOOKEEPER_QUORUM} | ||
hbaseZookeeperClientPort: ${HBASE_ZOOKEEPER_CLIENT_PORT} | ||
|
||
cluster: | ||
name: foxtrot | ||
discovery: | ||
type: ${DISCOVERY_TYPE} | ||
disableMulticast: true | ||
members: ["localhost:5701"] | ||
|
||
cacheConfig: | ||
maxIdleSeconds: 15 | ||
timeToLiveSeconds: 15 | ||
|
||
logging: | ||
level: INFO | ||
loggers: | ||
com.flipkart.foxtrot.core.querystore.actions: DEBUG | ||
org.apache.hadoop.hbase.zookeeper: WARN | ||
org.apache.zookeeper: WARN | ||
org.apache.hadoop.hbase.client: WARN | ||
appenders: | ||
- type: console | ||
threshold: TRACE | ||
timeZone: IST | ||
logFormat: "%(%-5level) [%date] %X{TRACE-ID} [%thread] [%logger{0}]: %message%n" | ||
|
||
cardinality: | ||
enabled: true | ||
batchSize: 10 | ||
active: true | ||
interval: 86400 | ||
initialDelay: 6 | ||
maxCardinality: 20000 | ||
|
||
deletionconfig: | ||
active: true | ||
interval: 86400 | ||
initialdelay: 60 | ||
|
||
esIndexOptimizationConfig: | ||
active: true | ||
interval: 86400 | ||
initialDelay: 6 | ||
|
||
consoleHistoryConfig: | ||
active: true | ||
interval: 86400 | ||
initialDelay: 10 | ||
|
||
sessionCleanupConfig: | ||
active: true | ||
interval: 86400 | ||
initialDelay: 10 | ||
|
||
auth: | ||
enabled: true | ||
jwt: | ||
issuerId: foxtrot-server | ||
privateKey: ${PRIVATE_KEY} | ||
sessionDuration: 15d | ||
|
||
provider: | ||
type: OAUTH_IDMAN | ||
idmanEndpoint: ${IDMAN_ENDPOINT} | ||
clientId: FOXTROT | ||
clientSecret: 8f4bcf45-2909-42e0-9bba-f46351bb0e6d | ||
serverEndpoint: "http://localhost:17000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
version: '2' | ||
services: | ||
elasticsearch: | ||
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.8 | ||
container_name: elasticsearch | ||
hostname: elasticsearch | ||
environment: | ||
- cluster.name=elasticsearch | ||
- bootstrap.memory_lock=true | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
command: elasticsearch -Ehttp.cors.enabled=true | ||
volumes: | ||
- /elasticsearch/data | ||
ports: | ||
- "9200:9200" | ||
- "9300:9300" | ||
|
||
hbase: | ||
image: hyness/hbase-rest-standalone | ||
hostname: hbase | ||
ports: | ||
- "2181:2181" | ||
- "8080:8080" | ||
- "16000:16000" | ||
- "16010:16010" | ||
- "16020:16020" | ||
- "16030:16030" | ||
volumes: | ||
- /data/hbase | ||
- /data/zookeeper | ||
|
||
foxtrot-server: | ||
depends_on: | ||
- elasticsearch | ||
- hbase | ||
container_name: foxtrot_server | ||
build: . | ||
ports: | ||
- "17000:17000" | ||
- "17001:17001" | ||
- "5701:5701" | ||
volumes: | ||
- /var/log/foxtrot-server | ||
environment: | ||
- HOST=localhost | ||
- ELASTICSEARCH_HOST=elasticsearch | ||
- ELASTICSEARCH_CLUSTER_NAME=elasticsearch | ||
- ELASTICSEARCH_TABLE_NAME_PREFIX=foxtrot | ||
- ELASTICSEARCH_PORT="9200" | ||
- ELASTICSEARCH_PROTOCOL=http | ||
- HBASE_TABLE_NAME=foxtrot | ||
- HBASE_ZOOKEEPER_QUORUM=hbase | ||
- HBASE_ZOOKEEPER_CLIENT_PORT=2181 | ||
- HAZELCAST_CLUSTER_NAME=foxtrot | ||
- AUTH_ENABLED=true | ||
- GOOGLE_CALLBACK_HOST_PORT=localhost:17000 | ||
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID} | ||
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET} | ||
- GOOGLE_SECURE_ENDPOINT=false | ||
- DISCOVERY_TYPE=foxtrot_simple | ||
- SWAGGER_SCHEME="http" | ||
- PRIVATE_KEY="6/Qh1eLvF7cGJEgH1wIMYErIpi0d8Kqt5wHKw/o5iFbhfziKiux03HfFihO2+f5FKpsjk1D7UmgdAWQsY966WkyAsyo22m4g+C+rNCwMUD/UM2qop7JZBDEkgWpwK8jpxOTpYUnaNsiBaBsadoZCQ+Ns/d8RrS7QPAW+1PETbdFfo+fPW0/Sm8RUmMKkc9jJ6bhuSpFH3q/bWoyPZnj7geYQQIkgmQv9jXaszw==" |
Oops, something went wrong.