Skip to content
Snippets Groups Projects
Commit 31bcfe91 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'remove vorgang-attached-item grpc client' (#514) from...

Merge pull request 'remove vorgang-attached-item grpc client' (#514) from AdjustGrpcClient into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/vorgang-manager/pulls/514


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents 0e318bb6 f30f0e9a
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,6 @@ grpc:
negotiationType: PLAINTEXT
vorgang-manager:
negotiationType: PLAINTEXT
vorgang-attached-item:
negotiationType: PLAINTEXT
server:
security:
enabled: false
......
......@@ -44,9 +44,6 @@ grpc:
negotiationType: PLAINTEXT
zufi-manager:
negotiationType: TLS
vorgang-attached-item:
address: self:self
negotiationType: TLS
server:
security:
......
......@@ -24,6 +24,7 @@
package de.ozgcloud.vorgang.collaboration;
import static org.assertj.core.api.Assertions.*;
import static org.assertj.core.api.InstanceOfAssertFactories.*;
import static org.awaitility.Awaitility.*;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.ArgumentMatchers.*;
......@@ -58,6 +59,7 @@ import org.springframework.test.annotation.DirtiesContext;
import com.google.protobuf.ByteString;
import com.thedeanda.lorem.LoremIpsum;
import de.ozgcloud.apilib.client_attribute.grpc.OzgCloudClientAttributeMapper;
import de.ozgcloud.apilib.user.OzgCloudUserId;
import de.ozgcloud.apilib.user.OzgCloudUserProfile;
import de.ozgcloud.apilib.user.OzgCloudUserProfileService;
......@@ -103,7 +105,6 @@ import net.devh.boot.grpc.client.inject.GrpcClient;
"grpc.client.vorgang-manager.address=in-process:test",
"grpc.client.ozgcloud-command-manager.address=in-process:test",
"grpc.client.file-manager.address=in-process:test",
"grpc.client.vorgang-attached-item.address=in-process:test",
"grpc.client.inProcess.address=in-process:test",
"grpc.client.pluto.address=in-process:test"
})
......@@ -123,13 +124,15 @@ class CollaborationITCase {
private MongoOperations mongoOperations;
@MockBean
@Qualifier(CollaborationManagerConfiguration.OZG_CLOUD_USER_PROFILE_SERVICE_NAME)
@Qualifier(CollaborationManagerConfiguration.OZGCLOUD_USER_PROFILE_SERVICE_NAME)
private OzgCloudUserProfileService collaborationOzgCloudUserProfileService;
@MockBean
private PostfachRemoteService postfachRemoteService;
@Mock
private OzgCloudUserProfile ozgCloudUserProfile;
@MockBean
private OzgCloudClientAttributeMapper clientAttributeMapper;
private String vorgangId;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment