Skip to content

Commit

Permalink
Downgraded grpc netty shaded in test pom to unblock acceptance tests (#…
Browse files Browse the repository at this point in the history
…831)

In release 0.12 we upgraded the grpc from 1.25.0 to 1.29.0
This introduced a bug with the acceptance tests

1.27.2 seems to be the last version not displaying this error.
As a workaround this change downgrades the test project to use the 1.27.2 net shaded versiond

Signed-off-by: Nana-EC <[email protected]>
  • Loading branch information
Nana-EC authored Jun 15, 2020
1 parent 4478f33 commit 906eb11
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 29 deletions.
4 changes: 2 additions & 2 deletions charts/hedera-mirror-grpc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 0.13.0
appVersion: 0.13.1
description: GRPC API for the Hedera Mirror Node
home: https://github.com/hashgraph/hedera-mirror-node
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
name: hedera-mirror-grpc
sources:
- https://github.com/hashgraph/hedera-mirror-node
version: 0.2.0
version: 0.2.1
4 changes: 2 additions & 2 deletions charts/hedera-mirror-importer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 0.13.0
appVersion: 0.13.1
description: Hedera Mirror Importer downloads and validates file streams from the cloud and imports them into the database
home: https://github.com/hashgraph/hedera-mirror-node
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
name: hedera-mirror-importer
sources:
- https://github.com/hashgraph/hedera-mirror-node
version: 0.2.0
version: 0.2.1
4 changes: 2 additions & 2 deletions charts/hedera-mirror-rest/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 0.13.0
appVersion: 0.13.1
description: REST API for the Hedera Mirror Node
home: https://github.com/hashgraph/hedera-mirror-node
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
name: hedera-mirror-rest
sources:
- https://github.com/hashgraph/hedera-mirror-node
version: 0.2.0
version: 0.2.1
4 changes: 2 additions & 2 deletions charts/hedera-mirror/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 0.13.0
appVersion: 0.13.1
description: Hedera Mirror Node mirrors data from Hedera nodes and serves it via an API
home: https://github.com/hashgraph/hedera-mirror-node
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
name: hedera-mirror
sources:
- https://github.com/hashgraph/hedera-mirror-node
version: 0.2.0
version: 0.2.1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions charts/hedera-mirror/requirements.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dependencies:
- name: hedera-mirror-grpc
repository: file://../hedera-mirror-grpc
version: 0.2.0
version: 0.2.1
- name: hedera-mirror-importer
repository: file://../hedera-mirror-importer
version: 0.2.0
version: 0.2.1
- name: loki-stack
repository: https://grafana.github.io/loki/charts
version: 0.37.1
Expand All @@ -19,9 +19,9 @@ dependencies:
version: 8.13.8
- name: hedera-mirror-rest
repository: file://../hedera-mirror-rest
version: 0.2.0
version: 0.2.1
- name: traefik
repository: https://containous.github.io/traefik-helm-chart
version: 8.2.1
digest: sha256:204dc55414e4ce52d7f4c8517e23b69c0b8793476e5529d64510ec95d0c6ee9b
generated: "2020-06-14T18:15:57.231857-05:00"
digest: sha256:ff04b91ebb986d0840a05b1aae9a0a4c299f95cfc026c46c717cec940890862f
generated: "2020-06-15T14:13:11.350542-05:00"
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- 5432:5432

grpc:
image: gcr.io/mirrornode/hedera-mirror-grpc:0.13.0
image: gcr.io/mirrornode/hedera-mirror-grpc:0.13.1
restart: unless-stopped
environment:
HEDERA_MIRROR_GRPC_DB_HOST: db
Expand All @@ -28,7 +28,7 @@ services:
- 5600:5600

importer:
image: gcr.io/mirrornode/hedera-mirror-importer:0.13.0
image: gcr.io/mirrornode/hedera-mirror-importer:0.13.1
restart: unless-stopped
environment:
HEDERA_MIRROR_IMPORTER_DATAPATH: /var/lib/hedera-mirror-importer
Expand All @@ -39,7 +39,7 @@ services:
- ./application.yml:/usr/etc/hedera-mirror-importer/application.yml

rest:
image: gcr.io/mirrornode/hedera-mirror-rest:0.13.0
image: gcr.io/mirrornode/hedera-mirror-rest:0.13.1
environment:
HEDERA_MIRROR_REST_DB_HOST: db
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-datagenerator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-importer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<properties>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hedera-mirror-rest/monitoring/monitor_apis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hedera-mirror-monitor",
"version": "0.13.0",
"version": "0.13.1",
"description": "Hedera Mirror Node Monitor",
"main": "server.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hedera-mirror-rest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hedera-mirror-rest",
"version": "0.13.0",
"version": "0.13.1",
"description": "Hedera Mirror Node REST API",
"main": "server.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<build>
Expand Down
6 changes: 4 additions & 2 deletions hedera-mirror-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</parent>

<properties>
Expand All @@ -32,7 +32,9 @@
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<version>${grpc.version}</version>
<!-- grpc v 1.27.2 is the last known version that supports acceptance test running -->
<!-- v 1.28.0 introduced a java.lang.NoSuchFieldError: NETTY_SHADED error https://github.com/grpc/grpc-java/issues/6982 -->
<version>1.27.2</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
<description>Hedera Mirror Node mirrors data from Hedera nodes and serves it via an API</description>
<inceptionYear>2019</inceptionYear>
<modelVersion>4.0.0</modelVersion>
Expand Down

0 comments on commit 906eb11

Please sign in to comment.