Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update software catalog for file upload #64

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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