Skip to content

Commit

Permalink
Backup userservice
Browse files Browse the repository at this point in the history
  • Loading branch information
XyL1GaN4eG committed Jul 17, 2024
1 parent 55b3dba commit 003512b
Show file tree
Hide file tree
Showing 15 changed files with 109 additions and 79 deletions.
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

19 changes: 19 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/remote-targets.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/weatherProject.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions userService/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@
<artifactId>spring-rabbit-test</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.30.2-GA</version>
</dependency>

</dependencies>

Expand All @@ -86,6 +80,10 @@
</excludes>
</configuration>
</plugin>

</plugins>


</build>

</project>
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
package weatherproject.userservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
public class UserServiceApplication {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@Service
@RequiredArgsConstructor(onConstructor_ = {@Autowired})
//конструктор добавляет ко всем полям аннотацию автовайред
//онконструктор добавляет ко всем полям аннотацию автовайред
public class UserService {

private final UserRepository userRepository;
Expand Down
11 changes: 1 addition & 10 deletions userService/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,9 @@ spring:
username: username
password: password
jpa:
database-platform: org.hibernate.dialect.PostgreSQL94Dialect
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQL94Dialect
jdbc:
lob:
non_contextual_creation: true
format_sql: true
boot:
allow_jdbc_metadata_access: false # Отключение использования метаданных JDBC
hibernate:
ddl-auto: update
show-sql: true
rabbitmq:
host: localhost
port: 5672
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package weatherproject.userservice;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class TGUserServiceApplicationTests {

@Disabled
@Test
void contextLoads() {
}
Expand Down

0 comments on commit 003512b

Please sign in to comment.