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

API extension for Support for Retsynth #63

Draft
wants to merge 31 commits into
base: dev
Choose a base branch
from

Commits on Oct 13, 2022

  1. SurrealDB (bebop#62)

    * renamed pkg/insert to pkg/init.
    
    * add CreateTestDB function for init package.
    
    * backing up and checking out new branch.
    
    * added personal fork of surrealdb driver to go.mod and go.sum.
    
    * added config to use surrealdb websocket default url.
    
    * added config defaults for admin user and password.
    
    * added DB name to config.
    
    * insert, upsert, and retrieval working for genbank.
    
    * got basic uniprot insert working.
    
    * updated testdev config db namespace to allbaseTest
    
    * CreateTestDB now clobbers old testdbs.
    
    * changed create to upsert like logic.
    
    * got compound insertion for rhea working.
    
    * commented out and added TODOs for things that cause tests to fail. Will add issues.
    TimothyStiles authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    328c6f8 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Created the baseline skeleton code for the retsynth models and the co…

    …rresponding queries.
    
    TODO:
    1. Update with the sql queries with the builder API queries
    2. Add the GraphQL structures
    3. Add the testcases for `queries.go`
    rkrishnasanka committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    feabf8e View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2022

  1. Updated the queries and the query tests.

    TODO:
    - There's a need to collapse all the queries for specific types of queries. Perhaps do this once the datamodels have been joined together.
    - We can reduce the number of potential bugs for mistyping, we need to tie in the types for all the subfields away from base types. It's necessary to wrapper these datafields to have the static type safety in the long run
    rkrishnasanka committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    762f432 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. Implemented a basic version of the version control system.

    TODO:
    - Refactor VCS to be more of an object  like so that we can reduce dependenies .
    - Create workthrough tests to make sure we are able to do
    - Flesh out the full extent of the retsynth tests now that we have the minimal database
    rkrishnasanka committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    a0e23a4 View commit details
    Browse the repository at this point in the history
  2. Added baseline GraphQL.

    TODO: Need to update this with the more specific API calls as needed by RetSynth.
    rkrishnasanka committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    f3741ee View commit details
    Browse the repository at this point in the history
  3. Updated queries.go with the small update. Additionally, added the gra…

    …phql files for both a retsynth specific API to use as a stand-in replacement with the current public version of retsynth.
    
    Additionally started creating the synbiodb.graphql that should be the convergence API
    rkrishnasanka committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    e4de389 View commit details
    Browse the repository at this point in the history
  4. - Added a makefile for general purpose tools when working with a gola…

    …ng project
    
    - Added and ran the baseline gqlgen package and generated the implementations
    - Need to figure out how to have multiple graphql schemas and have separate resolvers for them
    rkrishnasanka committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    4439bfa View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. Configuration menu
    Copy the full SHA
    b2bbc95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2a566f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a047bb5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    524c3ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a59fab3 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Updated the retsynth codebase to support graphql statements and queri…

    …es. Additionally, this is the first prototype of the graphql engine
    rkrishnasanka committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    138d2f5 View commit details
    Browse the repository at this point in the history
  2. Updated the tests for compounds and organisms.

    Baseline querying works for the organisms and compounds API
    rkrishnasanka committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    544714b View commit details
    Browse the repository at this point in the history
  3. Changelog:

    - Cleaned up resolver code
    - Moved the server start code into main.go
    - Updated the makefile with clean, run playground and build functions that chain
    rkrishnasanka committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    0ecfbbe View commit details
    Browse the repository at this point in the history
  4. Changelog:

    - Moved all the parameters into the `parameters` package
    rkrishnasanka committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    0402229 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    88a6606 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Updated queries to just raise the panics as and when it occurs. This …

    …reduces the overall code repeat.
    rkrishnasanka committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    b68f8ea View commit details
    Browse the repository at this point in the history
  2. Partial update for coverage to make it easier to track the changes.

    Currently working on the rest of the test cases.
    rkrishnasanka committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    268a2b2 View commit details
    Browse the repository at this point in the history
  3. Partial Updates

    rkrishnasanka committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    7fc7839 View commit details
    Browse the repository at this point in the history
  4. Updated all the queries test code. Most of the queries need to have t…

    …ests to verify if the sql is correct.
    rkrishnasanka committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    a9d9dba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9d857b3 View commit details
    Browse the repository at this point in the history
  6. Updated tests for greater coverage. Currently the queries are failing…

    … for a large subset of queries. These are unresolved problems.
    rkrishnasanka committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    e38f816 View commit details
    Browse the repository at this point in the history
  7. Updated the code to handle the errors for no rows found. It was naive…

    …ly assumed that they would just return None types / nil values
    rkrishnasanka committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    bbc64e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Configuration menu
    Copy the full SHA
    a25076f View commit details
    Browse the repository at this point in the history
  2. Fixed some more queries

    rkrishnasanka committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    5838272 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5f1da3 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    008eef6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8dd82b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff8d6cb View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    e942bee View commit details
    Browse the repository at this point in the history