Skip to content

Commit

Permalink
debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Dec 14, 2023
1 parent d4c3d76 commit 75f2e54
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/dancier/dancer/chat/ChatController.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@RequestMapping("/chats")
@RequiredArgsConstructor
public class ChatController {
private final static Logger log = LoggerFactory.getLogger(ContactController.class);
private final static Logger log = LoggerFactory.getLogger(ChatController.class);

private final ChatService chatService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import net.dancier.dancer.chat.dto.CreateChatDto;
import net.dancier.dancer.chat.dto.ChatsDto;
import net.dancier.dancer.chat.dto.MessagesDto;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.ExchangeFilterFunction;
Expand All @@ -19,6 +21,8 @@
@Service
public class ChatServiceClient {

private static Logger log = LoggerFactory.getLogger(ChatServiceClient.class);

@Value("${app.chatDancer.host}")
private String host;

Expand Down
20 changes: 0 additions & 20 deletions src/main/java/net/dancier/dancer/output/OutboxJob.java

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ app:
host: http://test.dancier.net:5000
chatDancer:
host: http://test.dancier.net:9999

6 changes: 4 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ spring:
test:
database:
replace: none
profiles:
active: dev
# config:
# activate:
# on-profile:
# - dev
app:
admin:
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/net/dancier/dancer/TestDatabaseHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* state in the database that could not be checked with production
* Repository implementations, because they would have to be implemented their
* sole for testing purposes.
* This help is supposed to be run in an Transaction that encapsulates the whole test.
* This helper is supposed to run in a Transaction that encapsulates the whole test.
* For this reason we flush the entityManager before checking the database state,
* because otherwise it could be, that entities would not have been saved/updated by
* hibernate.
Expand Down

0 comments on commit 75f2e54

Please sign in to comment.