Skip to content

Commit

Permalink
edit artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinh-Tan-Dat committed Jun 11, 2024
1 parent 44f98d4 commit 4c4360c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.programming.streaming;
package com.programming.commentService;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.programming.streaming.controller;
package com.programming.commentService.controller;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
Expand All @@ -13,9 +11,9 @@
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.programming.streaming.model.Comment;
import com.programming.streaming.repository.CommentRepository;
import com.programming.streaming.service.CommentService;
import com.programming.commentService.model.Comment;
import com.programming.commentService.repository.CommentRepository;
import com.programming.commentService.service.CommentService;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.programming.streaming.model;
package com.programming.commentService.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.programming.streaming.repository;
package com.programming.commentService.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import com.programming.streaming.model.Comment;
import com.programming.commentService.model.Comment;
import java.util.List;
@Repository
public interface CommentRepository extends MongoRepository<Comment, String> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.programming.streaming.service;
package com.programming.commentService.service;

import org.springframework.stereotype.Service;

import com.programming.streaming.model.Comment;
import com.programming.streaming.repository.CommentRepository;
import com.programming.commentService.model.Comment;
import com.programming.commentService.repository.CommentRepository;

import java.util.List;

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/TestCommentController.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.web.servlet.MockMvc;

import com.programming.streaming.model.Comment;
import com.programming.commentService.model.Comment;

@SpringBootTest(classes = com.programming.streaming.StreamingApplication.class)
@SpringBootTest(classes = com.programming.commentService.StreamingApplication.class)
@AutoConfigureMockMvc
public class TestCommentController {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.programming.streaming;
package com.programming.commentService;

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

0 comments on commit 4c4360c

Please sign in to comment.