Skip to content

Conversation

@alan-stokes
Copy link
Contributor

@alan-stokes alan-stokes commented Apr 15, 2025

for ticket 376:
adds new rest apis and modifys old ones to reflect the need for just a proposal id interface.

adds the ability to extract the telescope name and instrument name for a set of observations (aka the optical ones from a proposal) and a list of observation ids which are the ones which contain optical data in the first place.

for ticket 358:
this pr adds delete functionality of the optical telescope data.

for ticket 347:
contains the basics for a optical interface. it contains a second database that builds a store based off data objects inside pst-lib. It also provides a rest interface for different elements from the optical telescope.

the list of names of different telescopes.
the UI elements for the different telescopes.
saving a observations telescope specific data items.
extracting an observation telescope specific data items.
it also includes the xml reader for the xml files describing the telescope ui requirements. This includes code that removes some of the more offending issues with xml entries, which breaks the UI code hard. such as select boxes with no elements. oh. it also includes fixes to the github actions to utilise same name branches from dependent repos. a typical process for multi repo works. That stuff could be extracted as its own pr if you truly want.

for ticket 396:

contains logic to hold a mode parameter which is extracted from the environmental variables. it allows the Polaris system to adapt to which "mode its currently running in. either, optical, radio, or both." it has a get and set rest api, the set mainly to help in debugging in a more efficient manner than changing the environmental variable and then rebooting the whole back-end. We might want to lock that rest request out in production, or have a password protection or something to ensure its only used as needed.

for ticket 409:
this adds support to the telescope xmls to include a relationship between nights and hours. this means the xml reader has now extracted the value from the xml, so new schema changes, and then those values are handed over by a rest api for the gui.

on top of this, there are fixs for submission which were found during the testing. specifically, that when the backend is rebooted. there is no standing relationship for user ids. so when a proposal is imported. the investigators are basically all suspect. including the pi, which if not adjusted to the current importer, can result it being imported, but not to the active user. There is also issues with new users which don't have orcid ids which causing the import to fail, as well as issues with organisations with partial data. This pr includes fixing the investigators to include the user as PI, and to filter out other investigators which dont exist in the current polaris setup.

for ticket 357:
adds the logic to respect modes in the submission validation. it also cleans up the usage of mode enum, having realized id screwed it up before. There may be residual floating changes trying to make the transactional thing work.

for ticket 400:
covers changes from 396 to 400. I think this basically boils down to a master merge. but not sure.

for ticket 411
nothing needed for that ticket. all GUI related.

alan-stokes and others added 30 commits February 18, 2025 10:55
…e repo, but it stops working due to my ssh key expiring, which made me then realise its not even part of our repos anymore (head shake) so putting them here until i figure out what the right place is.
…is works. we need to find a better way to fix the enviromental variable
…ent repos.this time the master brnach on telescope config data doesnt exist. its called main. likely a change from long ago. when peeps wanted to move away from master and slave inconitations.
@alan-stokes alan-stokes marked this pull request as ready for review April 15, 2025 20:55
alan-stokes and others added 18 commits April 16, 2025 12:16
…plit them up. and then extra work to try to get the summary page to be filled in
…ble than having them in the same call. but at least its a step forward
…cal-submission

# Conflicts:
#	src/main/java/org/orph2020/pst/apiimpl/rest/ProposalResource.java
…gator

72 imported proposal wrong investigator
@alan-stokes alan-stokes changed the title 396 / 376 / 347 / 358: contains all the changes for optical that currently stands 396 / 376 / 347 / 358 / 409 / 357 / 400: contains all the changes for optical that currently stands May 14, 2025
…OURS

# Conflicts:
#	src/main/java/org/orph2020/pst/apiimpl/rest/ProposalResource.java
@alan-stokes alan-stokes changed the title 396 / 376 / 347 / 358 / 409 / 357 / 400: contains all the changes for optical that currently stands 396 / 376 / 347 / 358 / 409 / 357 / 400 / 411: contains all the changes for optical that currently stands May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core functionality A requirement of the tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants