diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 560123c31..843718b6a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -8,29 +8,6 @@ on: branches: [ main ] pull_request: branches: [ main ] - workflow_dispatch: - inputs: - logLevel: - description: 'Log level' - required: true - default: 'warning' - type: choice - options: - - info - - warning - - debug - print_tags: - description: 'True to print to STDOUT' - required: true - type: boolean - tags: - description: 'Test scenario tags' - required: true - type: string - environment: - description: 'Environment to run tests against' - type: environment - required: true jobs: build: @@ -45,11 +22,12 @@ jobs: cache: 'maven' - name: Set up properties run: sh configure-dependencies.sh - - name: Setup upterm session - uses: lhotari/action-upterm@v1 - with: - ## limits ssh access and adds the ssh public key for the user which triggered the workflow ie holashchand - limit-access-to-actor: true +# # debug step +# - name: Setup upterm session +# uses: lhotari/action-upterm@v1 +# with: +# ## limits ssh access and adds the ssh public key for the user which triggered the workflow ie holashchand +# limit-access-to-actor: true - name: Build and test run: make test # test: diff --git a/docker-compose.yml b/docker-compose.yml index 002a50a2e..ce0b53252 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "2.4" services: es: - image: docker.elastic.co/elasticsearch/elasticsearch:8.8.1 + image: docker.elastic.co/elasticsearch/elasticsearch:7.17.13 environment: - discovery.type=single-node - "ES_JAVA_OPTS=-Xms512m -Xmx512m" diff --git a/java/registry/src/main/java/dev/sunbirdrc/registry/config/SchemaLoader.java b/java/registry/src/main/java/dev/sunbirdrc/registry/config/SchemaLoader.java index 56e1d30ed..74462210e 100644 --- a/java/registry/src/main/java/dev/sunbirdrc/registry/config/SchemaLoader.java +++ b/java/registry/src/main/java/dev/sunbirdrc/registry/config/SchemaLoader.java @@ -57,6 +57,7 @@ private void loadSchemasFromDB() { logger.info("Exception occurred while loading schema from db: {}", e.getMessage()); } catch (Exception e) { logger.info("Exception occurred while searching for schemas: {}", e.getMessage()); + logger.info("Make sure, you are running a compatible version of search provider"); } } }