Skip to content

Commit

Permalink
Revert "Add User profile tests for create and read (#75)"
Browse files Browse the repository at this point in the history
This reverts commit a8fc410.
  • Loading branch information
Pandemic1617 authored May 9, 2024
1 parent a8fc410 commit e1d3d9b
Show file tree
Hide file tree
Showing 107 changed files with 17 additions and 2,875 deletions.
1 change: 0 additions & 1 deletion services/users/.mvn/jvm.config

This file was deleted.

41 changes: 2 additions & 39 deletions services/users/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<version>3.2.3</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.workup</groupId>
<groupId>org.example</groupId>
<artifactId>users</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>users</name>
Expand All @@ -29,15 +29,10 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>com.workup</groupId>
<artifactId>shared</artifactId>
<version>${project.version}</version>
<version>0.0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>

Expand Down Expand Up @@ -71,38 +66,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>

<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>4.11.1</version>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mongodb</artifactId>
<version>1.19.7</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-testcontainers</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.19.7</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>rabbitmq</artifactId>
<version>1.19.7</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
183 changes: 0 additions & 183 deletions services/users/src/main/java/com/workup/users/RabbitMQListener.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
package com.workup.users;

import com.workup.shared.enums.ServiceQueueNames;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import org.springframework.amqp.support.converter.MessageConverter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
// @EnableMongoRepositories(basePackageClasses = ClientRepository.class)
public class UsersApplication {

public static void main(String[] args) {

SpringApplication.run(UsersApplication.class, args);
}

@Bean
public Queue myQueue() {
return new Queue(ServiceQueueNames.USERS);
}

@Bean
public MessageConverter messageConverter() {
return new Jackson2JsonMessageConverter();
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e1d3d9b

Please sign in to comment.