-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1068 from NASA-AMMOS/add-java-bindings-tests
Add Bindings Tests for Java Endpoints
- Loading branch information
Showing
12 changed files
with
754 additions
and
237 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,27 @@ | ||
type User = { | ||
username: string; | ||
default_role: string; | ||
allowed_roles: string[]; | ||
session: Record<string, string>; | ||
}; | ||
|
||
type UserInsert = Omit<User, "allowed_roles" | "session"> | ||
|
||
type UserAllowedRole = { | ||
username: string, | ||
allowed_role: string; | ||
} | ||
|
||
type Permission = "NO_CHECK" | "OWNER" | "MISSION_MODEL_OWNER" | "PLAN_OWNER" | "PLAN_COLLABORATOR" | "PLAN_OWNER_COLLABORATOR" | ||
|
||
type ActionPermissionSet = { | ||
simulate: Permission | null, | ||
schedule: Permission | null, | ||
insert_ext_dataset: Permission | null, | ||
check_constraints: Permission | null, | ||
create_expansion_set: Permission | null, | ||
create_expansion_rule: Permission | null, | ||
expand_all_activities: Permission | null, | ||
resource_samples: Permission | null, | ||
sequence_seq_json_bulk: Permission | null | ||
} |
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
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
13 changes: 0 additions & 13 deletions
13
...r/src/main/java/gov/nasa/jpl/aerie/merlin/server/models/HasuraActivityDirectiveEvent.java
This file was deleted.
Oops, something went wrong.
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
102 changes: 0 additions & 102 deletions
102
merlin-server/src/test/java/gov/nasa/jpl/aerie/merlin/server/http/MerlinBindingsTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.