From 8c568168e55b498234b3a9ddb19b2b546b8dd738 Mon Sep 17 00:00:00 2001 From: ruhan Date: Mon, 24 Nov 2025 11:44:48 +0700 Subject: [PATCH] [migration] change the test api to GET for easy access --- .../indy/service/archive/jaxrs/ArchiveManageResources.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/commonjava/indy/service/archive/jaxrs/ArchiveManageResources.java b/src/main/java/org/commonjava/indy/service/archive/jaxrs/ArchiveManageResources.java index 25270f6..b5f6818 100644 --- a/src/main/java/org/commonjava/indy/service/archive/jaxrs/ArchiveManageResources.java +++ b/src/main/java/org/commonjava/indy/service/archive/jaxrs/ArchiveManageResources.java @@ -236,7 +236,7 @@ public Uni cleanup( final @Context UriInfo uriInfo ) @Operation( description = "Create a test archive with timestamp suffix for testing purposes" ) @APIResponse( responseCode = "200", description = "Test archive created successfully" ) @APIResponse( responseCode = "500", description = "Failed to create test archive - directory may not be writable" ) - @POST + @GET @Path( "test" ) @Produces( APPLICATION_JSON ) public Uni createTestArchive( final @Context UriInfo uriInfo )