Skip to content

Commit 9243bd6

Browse files
committed
Merge branch 'release/7.3.0'
2 parents 9c64576 + ec2629e commit 9243bd6

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [[7.3.0]](https://github.com/iExecBlockchainComputing/iexec-result-proxy/releases/tag/v7.3.0) 2023-01-18
6+
7+
* Add endpoint to allow health checks.
8+
59
## [[7.2.0]](https://github.com/iExecBlockchainComputing/iexec-result-proxy/releases/tag/v7.2.0) 2023-01-09
610

711
* Increments jenkins-library up to version 2.2.3. Enable SonarCloud analyses on branches and pull requests.

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ ARG jar
44

55
RUN test -n "$jar"
66

7+
RUN apt-get update \
8+
&& apt-get install -y curl \
9+
&& rm -rf /var/lib/apt/lists/*
10+
711
COPY $jar iexec-result-proxy.jar
812

913
# For Spring-Boot project, use the entrypoint

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ You can configure the iExec Result Proxy with the following properties:
3030
| IEXEC_GAS_PRICE_CAP | In Wei, will be used for transactions if `networkGasPrice * IEXEC_GAS_PRICE_MULTIPLIER > gasPriceCap`. | Integer | `22000000000` |
3131
| IEXEC_IPFS_HOST | Host to connect to the IPFS node. | String | `127.0.0.1` |
3232
| IEXEC_IPFS_PORT | Server port of the IPFS node. | Positive integer | `5001` |
33+
34+
## Health checks
35+
36+
A health endpoint (`/actuator/health`) is enabled by default and can be accessed on the **IEXEC_RESULT_PROXY_PORT**.
37+
This endpoint allows to define health checks in an orchestrator or a [compose file](https://github.com/compose-spec/compose-spec/blob/master/spec.md#healthcheck).
38+
No default strategy has been implemented in the [Dockerfile](Dockerfile) at the moment.

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ dependencies {
5959
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.50'
6060

6161
// spring
62+
implementation 'org.springframework.boot:spring-boot-starter-actuator'
6263
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
6364
implementation 'org.springframework.boot:spring-boot-starter-web'
6465
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=7.2.0
1+
version=7.3.0
22
iexecCommonVersion=6.0.0
33

44
nexusUser

0 commit comments

Comments
 (0)