diff --git a/backend/src/main/java/com/redhat/cloud/notifications/auth/kessel/KesselAssets.java b/backend/src/main/java/com/redhat/cloud/notifications/auth/kessel/KesselAssets.java index 7b9c51d412..96fbc86c5f 100644 --- a/backend/src/main/java/com/redhat/cloud/notifications/auth/kessel/KesselAssets.java +++ b/backend/src/main/java/com/redhat/cloud/notifications/auth/kessel/KesselAssets.java @@ -127,7 +127,7 @@ protected CreateNotificationsIntegrationRequest buildCreateIntegrationRequest(fi NotificationsIntegration.newBuilder() .setMetadata(Metadata.newBuilder() .setResourceType(ResourceType.INTEGRATION.getKesselRepresentation()) - .setWorkspace(workspaceId) + .setWorkspaceId(workspaceId) .build() ).setReporterData(ReporterData.newBuilder() .setLocalResourceId(integrationId) diff --git a/backend/src/test/java/com/redhat/cloud/notifications/auth/kessel/KesselAssetsTest.java b/backend/src/test/java/com/redhat/cloud/notifications/auth/kessel/KesselAssetsTest.java index b10dd781fe..b82c24b6df 100644 --- a/backend/src/test/java/com/redhat/cloud/notifications/auth/kessel/KesselAssetsTest.java +++ b/backend/src/test/java/com/redhat/cloud/notifications/auth/kessel/KesselAssetsTest.java @@ -102,7 +102,7 @@ void testBuildCreateIntegrationRequest() { // Assert that the request was properly built. final Metadata metadata = request.getIntegration().getMetadata(); Assertions.assertEquals(ResourceType.INTEGRATION.getKesselRepresentation(), metadata.getResourceType(), "the \"resource type\" should have been an integration"); - Assertions.assertEquals(workspaceId, metadata.getWorkspace(), "the workspace ID was incorrectly set"); + Assertions.assertEquals(workspaceId, metadata.getWorkspaceId(), "the workspace ID was incorrectly set"); final ReporterData reporterData = request.getIntegration().getReporterData(); Assertions.assertEquals(integrationId, reporterData.getLocalResourceId(), "the \"local resource id\" was incorrectly set"); diff --git a/pom.xml b/pom.xml index 8aa720222b..bebe58dd3c 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ 1.6.2 - 0.5 + 0.7 11.20.1 0.10