NASA-AMMOS / aerie-cli

An unofficial CLI for interacting with Aerie planning software
MIT License
3 stars 4 forks source link

Update scheduling queries and unit tests to conform to Aerie v2.6 #129

Closed joshhaug closed 3 months ago

joshhaug commented 4 months ago

The primary motivation for this PR is to update the scheduling module to use the new db schemas introduced in Aerie v2.6.0. More information on these changes is available on the Aerie upgrade docs.

Additionally, there are also some cleanup tasks that I've lumped in:

I'm happy to split these up into separate PRs if preferred.

joshhaug commented 4 months ago

Looks like this is failing integration tests because we no longer have the 2.2.0 banananation jar. I can add this file back in, or we can update the tests to use the newest jar. I'm leaning towards the latter.

joshhaug commented 3 months ago

Update: I've modified this PR to also include updates to the constraint queries to bring them up to parity with the changes in v2.6.0. Also updated to fix the is_auth_enabled() function -- for some reason Aerie now presents the "Authentication is disabled" message on posting to the /auth/login endpoint instead of /auth/session. Updated this PR accordingly.