-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added CreateProjectSmallFilesRequest. (#64)
* added CreateProjectSmallFilesRequest. * fixed shouldCreateProjectFromBackupFile test --------- Co-authored-by: soimugeo <[email protected]>
- Loading branch information
1 parent
add05ab
commit 15d17c1
Showing
6 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...ain/java/edu/stanford/protege/webprotege/icd/projects/CreateProjectSmallFilesRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package edu.stanford.protege.webprotege.icd.projects; | ||
|
||
import com.fasterxml.jackson.annotation.*; | ||
import edu.stanford.protege.webprotege.common.*; | ||
|
||
import static edu.stanford.protege.webprotege.icd.projects.CreateProjectSmallFilesRequest.CHANNEL; | ||
|
||
@JsonTypeName(CHANNEL) | ||
public record CreateProjectSmallFilesRequest( | ||
@JsonProperty("projectId") ProjectId projectId | ||
)implements Request<CreateProjectSmallFilesResponse> { | ||
public static final String CHANNEL = "icatx.versioning.CreateProjectSmallFiles"; | ||
|
||
@Override | ||
public String getChannel() { | ||
return CHANNEL; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...in/java/edu/stanford/protege/webprotege/icd/projects/CreateProjectSmallFilesResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package edu.stanford.protege.webprotege.icd.projects; | ||
|
||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
import edu.stanford.protege.webprotege.dispatch.Result; | ||
|
||
import static edu.stanford.protege.webprotege.icd.projects.CreateProjectSmallFilesRequest.CHANNEL; | ||
|
||
@JsonTypeName(CHANNEL) | ||
public record CreateProjectSmallFilesResponse() implements Result { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters