Skip to content

Add default VPCs, subnets, etc. to mock db to reflect saga defaults #2932

@charliepark

Description

@charliepark

When creating a new project, nexus has some default resources that it creates for the user. Because these don't happen in the app layer, the mock service worker skips over them, so the new project experience in the local version of console doesn't reflect the real experience. It'd be nice if it were closer to the real thing, possibly just with our adding default values in the mock db.

More details at https://github.com/oxidecomputer/omicron/blob/main/nexus/defaults/src/lib.rs, or in the _create files in https://github.com/oxidecomputer/omicron/blob/main/nexus/src/app/sagas, but here are some screenshots:
Image
Image
Image
Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions