Skip to content

Commit

Permalink
fixed user query
Browse files Browse the repository at this point in the history
  • Loading branch information
soimugeo committed Jul 2, 2024
1 parent 79dc60b commit 34dc80c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package edu.stanford.protege.webprotegeusermanagement.commands.dto;

import com.fasterxml.jackson.annotation.*;
import edu.stanford.protege.webprotege.common.Request;

public record UsersQueryRequest(String userName) implements Request<UsersQueryResponse> {
@JsonTypeName(UsersQueryRequest.CHANNEL)
public record UsersQueryRequest(@JsonProperty("completionText") String userName) implements Request<UsersQueryResponse> {

public final static String CHANNEL = "webprotege.usersquery.QueryUsers";

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ webprotege:
keycloak:
serverUrl: http://webprotege-local.edu/auth
realmName: webprotege
clientId: admin-cli
clientSecret: C1MYgWgr9qpLsnNnPS3nbFNf5nGDe5H7
clientId: user-management
clientSecret: d4c1e0f1-599f-411c-bc1b-0fafb05424ac
username: admin
password: password

0 comments on commit 34dc80c

Please sign in to comment.