Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macrostrat API codebase v3 #221

Merged
merged 102 commits into from
Sep 4, 2024
Merged

Macrostrat API codebase v3 #221

merged 102 commits into from
Sep 4, 2024

Conversation

davenquinn
Copy link
Member

This is a draft pull request for version 3 of Macrostrat's API codebase. This will accomplish several major evolutions of Macrostrat's API backend.

Note: for version 3, the API output version is decoupled from the codebase version. We may elect to change our numbering scheme here, as it confusingly overlaps with https://github.com/UW-Macrostrat/api-v3. Alternatively, this repository may be renamed API-v2, since that is the codebase that will be contained.

  • Remove the legacy API v1
  • Switch API v2 to PostgreSQL-only for compatibility with Macrostrat v2
  • Switch to Yarn for compilation
  • Move configuration into environment variables

davenquinn and others added 15 commits November 25, 2021 02:26
* master:
  col precision adjustment
  refactored minor lith, lith_id
  more eodp documentation
  eodp route
  expand col_groups functionality
  quick fix for weird duplicate period name in some cases
  new options for restricting /defs/strat_names results
  fixed parameter bug preventing col_id in drilling_sites, added measurement_sources route
  trap more new lines etc in legend fields
  fix combined where bug
  updated legend to retrieve units
  trap invalid json again
  trap invalid json
  trap invalid json carriage returns
  type cast numbers in pg query
  new routes and revisions
  updated project options, better documentation
  redfiend routes and restrict measurement large queries
* main:
  Update postgres connection method
  Add in CI for autobuilding images
  Use a single credentials file for both v1 and v2
  Updated credential management
  Adjusted database for defs/sources route
  Some functions were renamed in PostGIS 2.2
  Use new API features
  Updated for compilation
  Use only a single configuration file
  remove comment
  table reference error in route
  Update README.md
  fixed table alias error allowing source to be specified
  refined interval retrieval, project reporting
  add coordinates to columns, fix area reporting bug
* origin/yarn:
  Start eventaul transition to yarn
@davenquinn davenquinn marked this pull request as draft January 17, 2024 07:10
* remove-v1:
  Added some notes about v3
  Remove sharp dependency (unused)
  Fully remove v1 code
  Added dev version to package.json
  Remove package lockfile
  Updated to yarn v4
  Start eventaul transition to yarn
  Updated PG querying for new version of PG utils
  Remove some aspects of v1 code
  Seems to work OK with units route at least
  Added sharp back
@CannonLock CannonLock marked this pull request as ready for review August 30, 2024 20:30
@amyfromandi amyfromandi merged commit 279ad15 into main Sep 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants