Skip to content

Commit

Permalink
update software catalog~
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun123 committed Sep 30, 2024
1 parent fab08a9 commit e10869c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,10 @@ public List<MciDto> getMCISByNamespace(@Parameter(description = "네임스페이
return null;
}

@GetMapping("/readyz")
@Operation(summary="", description="")
public boolean checkReadyz(){
return true;
}
}

4 changes: 3 additions & 1 deletion src/main/java/kr/co/mcmp/util/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
@Slf4j
public class FileUtils {

private static final String ICON_UPLOAD_DIR = "src/main/resources/static/images/";

private static String projectRoot = System.getProperty("user.dir");
private static String ICON_UPLOAD_DIR = Paths.get(projectRoot, "src", "main", "resources", "static", "images").toString();

public static String readLine(InputStream is) throws IOException {
StringBuffer out = new StringBuffer();
Expand Down

0 comments on commit e10869c

Please sign in to comment.