From 56ba9e679fcd47edecc4a18ae240e28c94fce075 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Fri, 21 Jul 2023 08:19:34 +0200 Subject: [PATCH] fix: compile errors --- DEPENDENCIES | 4 ++-- .../org/eclipse/edc/registration/spi/model/Participant.java | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index 0bc980d8..41ed5662 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -116,9 +116,9 @@ maven/mavencentral/io.netty/netty-transport-native-unix-common/4.1.86.Final, Apa maven/mavencentral/io.netty/netty-transport/4.1.86.Final, Apache-2.0 AND BSD-3-Clause AND MIT, approved, CQ20926 maven/mavencentral/io.opentelemetry.instrumentation/opentelemetry-instrumentation-annotations/1.24.0, Apache-2.0, approved, clearlydefined maven/mavencentral/io.opentelemetry/opentelemetry-api/1.24.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.opentelemetry/opentelemetry-api/1.28.0, , restricted, clearlydefined +maven/mavencentral/io.opentelemetry/opentelemetry-api/1.28.0, Apache-2.0, approved, #9661 maven/mavencentral/io.opentelemetry/opentelemetry-context/1.24.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.opentelemetry/opentelemetry-context/1.28.0, , restricted, clearlydefined +maven/mavencentral/io.opentelemetry/opentelemetry-context/1.28.0, Apache-2.0, approved, #9663 maven/mavencentral/io.prometheus/simpleclient/0.16.0, Apache-2.0, approved, clearlydefined maven/mavencentral/io.prometheus/simpleclient_common/0.16.0, Apache-2.0, approved, clearlydefined maven/mavencentral/io.prometheus/simpleclient_httpserver/0.16.0, Apache-2.0, approved, clearlydefined diff --git a/spi/registration-service-spi/src/main/java/org/eclipse/edc/registration/spi/model/Participant.java b/spi/registration-service-spi/src/main/java/org/eclipse/edc/registration/spi/model/Participant.java index 6b597984..4d3506fb 100644 --- a/spi/registration-service-spi/src/main/java/org/eclipse/edc/registration/spi/model/Participant.java +++ b/spi/registration-service-spi/src/main/java/org/eclipse/edc/registration/spi/model/Participant.java @@ -59,6 +59,11 @@ public Participant copy() { return copy(builder); } + @Override + public String stateAsString() { + return ParticipantStatus.from(state).name(); + } + public void transitionAuthorizing() { transition(AUTHORIZING, ONBOARDING_INITIATED); }