Skip to content

Commit

Permalink
Merge pull request #3383 from terascope/store-schema-chagnes
Browse files Browse the repository at this point in the history
Store schema chagnes
  • Loading branch information
jsnoble authored Jul 26, 2023
2 parents f682a18 + fcd5f53 commit e92f6a5
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 55 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
teraslice-elasticsearch-tests:
runs-on: ubuntu-latest
strategy:
# opensearch is finiky, keep testing others if it fails
fail-fast: false
matrix:
node-version: [14.21.3, 16.19.1, 18.16.0]
search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2]
Expand Down Expand Up @@ -86,6 +88,8 @@ jobs:
elasticsearch-store-tests:
runs-on: ubuntu-latest
strategy:
# opensearch is finiky, keep testing others if it fails
fail-fast: false
matrix:
node-version: [14.21.3, 16.19.1, 18.16.0]
search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2]
Expand Down Expand Up @@ -147,6 +151,8 @@ jobs:
elasticsearch-api-tests:
runs-on: ubuntu-latest
strategy:
# opensearch is finiky, keep testing others if it fails
fail-fast: false
matrix:
node-version: [14.21.3, 16.19.1, 18.16.0]
search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2]
Expand Down Expand Up @@ -209,6 +215,8 @@ jobs:
e2e-tests:
runs-on: ubuntu-latest
strategy:
# opensearch is finiky, keep testing others if it fails
fail-fast: false
matrix:
node-version: [14.21.3, 16.19.1, 18.16.0]
search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "teraslice-workspace",
"displayName": "Teraslice",
"version": "0.86.1",
"version": "0.86.2",
"private": true,
"homepage": "https://github.com/terascope/teraslice",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/scripts",
"displayName": "Scripts",
"version": "0.53.0",
"version": "0.53.1",
"description": "A collection of terascope monorepo scripts",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/scripts#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/src/helpers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const KAFKA_NAME = process.env.KAFKA_NAME || 'kafka';
export const KAFKA_HOSTNAME = process.env.KAFKA_HOSTNAME || HOST_IP;
export const KAFKA_PORT = process.env.KAFKA_PORT || '49092';
export const KAFKA_BROKER = `${KAFKA_HOSTNAME}:${KAFKA_PORT}`;
export const KAFKA_VERSION = process.env.KAFKA_VERSION || '2.3';
export const KAFKA_VERSION = process.env.KAFKA_VERSION || '3.1';
export const KAFKA_DOCKER_IMAGE = process.env.KAFKA_DOCKER_IMAGE || 'blacktop/kafka';

export const MINIO_NAME = process.env.MINIO_NAME || 'minio';
Expand Down
2 changes: 1 addition & 1 deletion packages/terafoundation/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "terafoundation",
"displayName": "Terafoundation",
"version": "0.45.3",
"version": "0.45.4",
"description": "A Clustering and Foundation tool for Terascope Tools",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/terafoundation#readme",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/terafoundation/src/connectors/s3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ export default {
default: '',
format: String
},
s3ForcePathStyle: {
forcePathStyle: {
doc: '',
default: false,
format: Boolean
},
s3BucketEndpoint: {
bucketEndpoint: {
doc: '',
default: false,
format: Boolean
Expand Down
4 changes: 2 additions & 2 deletions packages/terafoundation/test/validate-configs-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ describe('Validate Configs', () => {
maxRedirects: 10,
maxRetries: 3,
region: 'us-east-1',
s3BucketEndpoint: false,
s3ForcePathStyle: false,
bucketEndpoint: false,
forcePathStyle: false,
secretAccessKey: null,
sslEnabled: true,
}
Expand Down
45 changes: 0 additions & 45 deletions packages/teraslice/lib/storage/backends/mappings/ex.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,51 +43,6 @@
"_slicer_stats": {
"type": "object"
},
"_slicer_stats.workers_available": {
"type": "integer"
},
"_slicer_stats.workers_active": {
"type": "integer"
},
"_slicer_stats.workers_joined": {
"type": "integer"
},
"_slicer_stats.workers_reconnected": {
"type": "integer"
},
"_slicer_stats.workers_disconnected": {
"type": "integer"
},
"_slicer_stats.job_duration": {
"type": "integer"
},
"_slicer_stats.failed": {
"type": "integer"
},
"_slicer_stats.subslices": {
"type": "integer"
},
"_slicer_stats.queued": {
"type": "integer"
},
"_slicer_stats.slice_range_expansion": {
"type": "integer"
},
"_slicer_stats.processed": {
"type": "integer"
},
"_slicer_stats.slicers": {
"type": "integer"
},
"_slicer_stats.subslice_by_key": {
"type": "integer"
},
"_slicer_stats.started": {
"type": "date"
},
"_slicer_stats.queuing_complete": {
"type": "date"
},
"_created": {
"type": "date"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/teraslice/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "teraslice",
"displayName": "Teraslice",
"version": "0.86.1",
"version": "0.86.2",
"description": "Distributed computing platform for processing JSON data",
"homepage": "https://github.com/terascope/teraslice#readme",
"bugs": {
Expand Down Expand Up @@ -65,7 +65,7 @@
"semver": "^7.3.8",
"socket.io": "^1.7.4",
"socket.io-client": "^1.7.4",
"terafoundation": "^0.45.3",
"terafoundation": "^0.45.4",
"uuid": "^9.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit e92f6a5

Please sign in to comment.