Skip to content

Commit cb0a55c

Browse files
committed
Merge branch 'release/7.3.0'
2 parents c3cf9e2 + 4bed591 commit cb0a55c

File tree

6 files changed

+24
-13
lines changed

6 files changed

+24
-13
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-core/releases/tag/v7.3.0) 2022-12-18
6+
7+
* Add endpoint to allow health checks.
8+
59
## [[7.2.2]](https://github.com/iExecBlockchainComputing/iexec-core/releases/tag/v7.2.2) 2022-12-20
610

711
* Use `iexec-common` version [6.2.0](https://github.com/iExecBlockchainComputing/iexec-common/releases/tag/v6.2.0).

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-core.jar
812

913
ENTRYPOINT ["java", "-jar", "/iexec-core.jar"]

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ You can configure the _iExec Core Scheduler_ with the following properties:
5151
| `IEXEC_SMS_PROTOCOL` | _iExec SMS_ server communication protocol. | String | `http` |
5252
| `IEXEC_SMS_HOST` | _iExec SMS_ server host. | String | `localhost` |
5353
| `IEXEC_SMS_PORT` | _iExec SMS_ server port. | Positive integer | `13300` |
54-
| `IEXEC_CORE_MANAGEMENT_PORT` | Management endpoint HTTP port (uses the same port as the application by default). Configure a different port to use management-specific SSL. | Positive integer | `13001` |
5554
| `IEXEC_CORE_MANAGEMENT_ACTUATORS` | Endpoint IDs that should be included or `*` for all. | String | `health, info` |
5655
| `IEXEC_CORE_GRAYLOG_HOST` | _Graylog_ server host. | String | `localhost` |
5756
| `IEXEC_CORE_GRAYLOG_PORT` | _Graylog_ server port. | Positive integer | `12201` |
@@ -60,6 +59,12 @@ You can configure the _iExec Core Scheduler_ with the following properties:
6059

6160
A more exhaustive documentation is available on [the official documentation of iExec](https://docs.iex.ec/).
6261

62+
## Health checks
63+
64+
A health endpoint (`/actuator/health`) is enabled by default and can be accessed on the `IEXEC_CORE_PORT`.
65+
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).
66+
No default strategy has been implemented in the [Dockerfile](Dockerfile) at the moment.
67+
6368
## Build from sources
6469

6570
```

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ dependencies {
5959
implementation ("org.springframework.boot:spring-boot-starter") {
6060
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' //required for Graylog
6161
}
62-
implementation "org.springframework.boot:spring-boot-starter-web"
63-
implementation "org.springframework.boot:spring-boot-starter-data-mongodb"
64-
implementation "org.springframework.boot:spring-boot-starter-websocket"
65-
implementation "org.springframework.retry:spring-retry"
62+
implementation "org.springframework.boot:spring-boot-starter-actuator"
6663
implementation "org.springframework.boot:spring-boot-starter-aop"
64+
implementation "org.springframework.boot:spring-boot-starter-data-mongodb"
65+
implementation "org.springframework.boot:spring-boot-starter-hateoas"
6766
implementation "org.springframework.boot:spring-boot-starter-security"
68-
implementation "org.springframework.boot:spring-boot-starter-actuator"
67+
implementation "org.springframework.boot:spring-boot-starter-web"
68+
implementation "org.springframework.boot:spring-boot-starter-websocket"
6969
implementation "org.springframework.cloud:spring-cloud-starter-openfeign"
70-
implementation "org.springframework.boot:spring-boot-starter-hateoas"
70+
implementation "org.springframework.retry:spring-retry"
7171

7272
// NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(java.lang.String, okhttp3.MediaType)'
7373
// Spring Boot dependencies BOM enforces okhttp3 3.14.9 in 2.6.X

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
version=7.2.2
1+
version=7.3.0
22
iexecCommonVersion=6.2.0
3-
iexecBlockchainAdapterVersion=7.1.1
4-
iexecResultVersion=7.1.0
5-
iexecSmsVersion=7.1.0
3+
iexecBlockchainAdapterVersion=7.3.0
4+
iexecResultVersion=7.3.0
5+
iexecSmsVersion=7.3.0
66

77
nexusUser
88
nexusPassword

src/main/resources/application.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ sms:
7777
port: ${IEXEC_SMS_PORT:13300}
7878

7979
management:
80-
server:
81-
port: ${IEXEC_CORE_MANAGEMENT_PORT:13001}
8280
endpoints:
8381
web:
8482
exposure:

0 commit comments

Comments
 (0)