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

Verify CRUD operations are available #126

Open
cartermak opened this issue Mar 13, 2024 · 2 comments
Open

Verify CRUD operations are available #126

cartermak opened this issue Mar 13, 2024 · 2 comments
Labels
enhancement New/improved features and capabilities
Milestone

Comments

@cartermak
Copy link
Member

We don't have a query in AerieClient to delete an activity directive; we should verify that we have CRUD operations available for all the "components" (plans, directives, models, dictionaries, rules, constraints, etc.).

@cartermak cartermak added the enhancement New/improved features and capabilities label Mar 13, 2024
@cartermak cartermak added this to the v3 milestone Mar 13, 2024
@cartermak
Copy link
Member Author

Adding simulation configs as something we can't currently download.

@cartermak
Copy link
Member Author

To create a parcel, first:

mutation CreateParcel($parcel: parcel_insert_input!) {
    createParcel: insert_parcel_one(object: $parcel) {
        id
    }
}

with data (fields can be null, except for command dictionary I think):

{
    "parcel": {
        "channel_dictionary_id": 1,
        "command_dictionary_id": 1,
        "name": "test",
        "sequence_adaptation_id": 1
    }
}

Then add zero or more parameter dictionaries:

mutation CreateParcelToParameterDictionaries($parcelToParameterDictionaries: [parcel_to_parameter_dictionary_insert_input!]!) {
    insert_parcel_to_parameter_dictionary(objects: $parcelToParameterDictionaries) {
        affected_rows
    }
}

with data:

{
    "parcelToParameterDictionaries": [
        {
            "parameter_dictionary_id": 1,
            "parcel_id": 1
        }
    ] // ,...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New/improved features and capabilities
Projects
None yet
Development

No branches or pull requests

1 participant