Skip to content

Commit

Permalink
test yolo
Browse files Browse the repository at this point in the history
  • Loading branch information
Battlestad committed Apr 17, 2024
1 parent 07be20c commit 6b1fc94
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package no.fintlabs.instance.gateway;

import lombok.extern.slf4j.Slf4j;
import no.fintlabs.gateway.instance.InstanceMapper;
import no.fintlabs.gateway.instance.model.File;
import no.fintlabs.gateway.instance.model.instance.InstanceObject;
Expand All @@ -15,6 +16,7 @@
import java.util.stream.Stream;

@Service
@Slf4j
public class IncomingInstanceMappingService implements InstanceMapper<IncomingInstance> {

private final FileClient fileClient;
Expand All @@ -30,7 +32,8 @@ public Mono<InstanceObject> map(Long sourceApplicationId, IncomingInstance incom
return postFile(sourceApplicationId, incomingInstance)
.map(uuid -> InstanceObject.builder()
.valuePerKey(toValuePerKey(incomingInstance, uuid))
.build());
.build())
.log("YOLO");
}

private static Map<String, String> toValuePerKey(IncomingInstance incomingInstance, UUID uuid) {
Expand Down

0 comments on commit 6b1fc94

Please sign in to comment.