From a9e833fd0ee5a641de78f93d2db92a0cc928c483 Mon Sep 17 00:00:00 2001 From: nikss2358 Date: Sun, 16 Jun 2024 10:27:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BD=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../intelligence/service/controller/PingController.java | 4 ++-- .../service/repository/CommentRepository.java | 9 +++++++++ .../business/intelligence/service/ApplicationTests.java | 8 ++++---- 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 src/main/java/com/business/intelligence/service/repository/CommentRepository.java diff --git a/src/main/java/com/business/intelligence/service/controller/PingController.java b/src/main/java/com/business/intelligence/service/controller/PingController.java index 9266be0..fa377aa 100644 --- a/src/main/java/com/business/intelligence/service/controller/PingController.java +++ b/src/main/java/com/business/intelligence/service/controller/PingController.java @@ -98,8 +98,8 @@ public ResponseEntity init(@RequestHeader final HttpHeaders headers) throw } - @RequestMapping(value = "/get-test-data", method = RequestMethod.GET, produces = APPLICATION_JSON_VALUE) - public ResponseEntity> getTestData() { + @RequestMapping(value = "/get-test-projects", method = RequestMethod.GET, produces = APPLICATION_JSON_VALUE) + public ResponseEntity> getTestProjects() { // region PROJECT 1 diff --git a/src/main/java/com/business/intelligence/service/repository/CommentRepository.java b/src/main/java/com/business/intelligence/service/repository/CommentRepository.java new file mode 100644 index 0000000..515ae7f --- /dev/null +++ b/src/main/java/com/business/intelligence/service/repository/CommentRepository.java @@ -0,0 +1,9 @@ +package com.business.intelligence.service.repository; + +import com.business.intelligence.service.model.building.Comment; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Repository; + +@Repository +public interface CommentRepository extends JpaRepository { +} diff --git a/src/test/java/com/business/intelligence/service/ApplicationTests.java b/src/test/java/com/business/intelligence/service/ApplicationTests.java index a9c7ce9..de8647b 100644 --- a/src/test/java/com/business/intelligence/service/ApplicationTests.java +++ b/src/test/java/com/business/intelligence/service/ApplicationTests.java @@ -5,9 +5,9 @@ @SpringBootTest class ApplicationTests { - - @Test - void contextLoads() { - } +// +// @Test +// void contextLoads() { +// } }