Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Federated compound soaking service #375

Merged

Conversation

iamvigneshwars
Copy link
Collaborator

@iamvigneshwars iamvigneshwars commented Feb 27, 2024

Crystal entry point

  CrystalPlate(plate_id: Uuid) {
    plate_id: Uuid,
    proposal_number: i32,
    operator_id: String,
    timestamp: Datetime,
    wells: 
      {
        well_number: i16,
        operator_id: String,
        timestamp: Datetime,
         CompoundSoaked: {
                compound_plate_id: Uuid,
                compound_well_number: i16,
                crystal_plate_id: Uuid,
                crystal_well_number: i16,
                volume: f32,
                operator_id: String,
                timestamp: Datetime,
                crystals: [CrystalInstances],
                compounds: [CompoundWells],
          }
      }
  }

Compound entry point

  Compound(name:String): {
    name: String
    smiles: String
    operator_id: String,
    timestamp: Datetime,
    instances: 
      {
        plate_id: Uuid,
        well_number: i16,
        operator_id: String,
        timestamp: Datetime,
        CrystalSoaked:{
                compound_plate_id: Uuid,
                compound_well_number: i16,
                crystal_plate_id: Uuid,
                crystal_well_number: i16,
                volume: f32,
                operator_id: String,
                timestamp: Datetime,
                crystals: [CrystalInstances],
                compounds: [Compoundwells],
          }
      }
  }

@iamvigneshwars iamvigneshwars added enhancement New feature or request rust Pull requests that update Rust code labels Feb 27, 2024
@iamvigneshwars iamvigneshwars self-assigned this Feb 27, 2024
@iamvigneshwars iamvigneshwars force-pushed the federated_graph branch 2 times, most recently from 3ca6841 to 74db057 Compare February 27, 2024 12:23
Copy link
Member

@garryod garryod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, and fairly simple too!

Any chance you could add an instance of the apollo router to the devcontainer docker-compose? If we need stuff to run on different ports perhaps it would be worth setting them in the environment variables of the backend dev container

backend/compound_soaking/src/tables/soak_compound.rs Outdated Show resolved Hide resolved
backend/supergraph-config.yaml Show resolved Hide resolved
backend/router.yaml Outdated Show resolved Hide resolved
backend/router.yaml Outdated Show resolved Hide resolved
backend/supergraph-config.yaml Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
backend/crystal_library/src/graphql/crystal_wells_res.rs Outdated Show resolved Hide resolved
backend/compound_soaking/src/graphql/soak_compound_res.rs Outdated Show resolved Hide resolved
backend/compound_soaking/src/graphql/soak_compound_res.rs Outdated Show resolved Hide resolved
.devcontainer/docker-compose.yaml Outdated Show resolved Hide resolved
.devcontainer/router.yaml Outdated Show resolved Hide resolved
backend/compound_soaking/src/tables/soak_compound.rs Outdated Show resolved Hide resolved
backend/supergraph-config.yaml Outdated Show resolved Hide resolved
backend/supergraph-config.yaml Outdated Show resolved Hide resolved
@iamvigneshwars iamvigneshwars force-pushed the federated_graph branch 5 times, most recently from f5eaffe to 0dfc7af Compare February 29, 2024 16:33
.devcontainer/docker-compose.yaml Show resolved Hide resolved
.devcontainer/router.yaml Outdated Show resolved Hide resolved
.devcontainer/router.yaml Outdated Show resolved Hide resolved
backend/compound_soaking/src/tables/soak_compound.rs Outdated Show resolved Hide resolved
backend/supergraph-config.yaml Outdated Show resolved Hide resolved
@iamvigneshwars iamvigneshwars force-pushed the federated_graph branch 2 times, most recently from 95198ea to 7b914c3 Compare February 29, 2024 16:54
.devcontainer/docker-compose.yaml Show resolved Hide resolved
@iamvigneshwars iamvigneshwars merged commit 72929c7 into DiamondLightSource:main Mar 5, 2024
20 of 22 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants