Skip to content

Commit

Permalink
Merge pull request payara#6850 from NotedSalmon/FISH-8888-clear-cache…
Browse files Browse the repository at this point in the history
…-rest-endpoint-incorrect

FISH-8888 ClearCache command rest endpoint corrected
  • Loading branch information
NotedSalmon authored and Pandrex247 committed Aug 13, 2024
1 parent 98902b5 commit dc6721d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
@TargetType(value = {CommandTarget.DAS, CommandTarget.STANDALONE_INSTANCE, CommandTarget.CLUSTER, CommandTarget.CLUSTERED_INSTANCE, CommandTarget.CONFIG, CommandTarget.DEPLOYMENT_GROUP})
@RestEndpoints({
@RestEndpoint(configBean = Domain.class,
opType = RestEndpoint.OpType.GET,
opType = RestEndpoint.OpType.POST,
path = "clear-cache",
description = "Clears a JCache or Hazalcast IMap")
})
Expand All @@ -91,7 +91,7 @@ public class ClearCache implements AdminCommand {
@Param(name = "target", optional = true, defaultValue = "server")
protected String target;

@Param(name = "name", defaultValue = "")
@Param(name = "cacheName", alias = "cachename", defaultValue = "")
protected String cacheName;

@Param(name = "key", optional = true)
Expand Down

0 comments on commit dc6721d

Please sign in to comment.