Skip to content

Commit

Permalink
Remove reference to DMS (#1065)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Presley <42596015+sumobrian@users.noreply.github.com>
  • Loading branch information
sumobrian authored Oct 14, 2024
1 parent b50a596 commit 0401484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migration-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ This Environment object will be a parameter to every command function in the mid

The frontend has a few options for how to interact with the Environment object. In the basic case, the frontend can ask the middleware layer to instantiate and populate the Environment. In this case, the middleware will load the YAML (from the default or a specified path), validate it, and create implementation models for each service involved. It will then return the Environment object to the frontend, and the frontend will supply it along with all command calls.

In the "power user" case--likely to be used by the DMS API, which may not rely on a `services.yaml` file--the frontend can start with an empty Environment, and define and instantiate the underlying models itself. When that Environment is passed into the commands exposed by the middleware layer, it will be used as the source of truth for all deployed services. One option for tools taking this option would be to define a custom configuration format and include an Environment builder/factory to convert that configuration into a suitable Environment object.
In the "power user" case--likely to be used by an API, which may not rely on a `services.yaml` file--the frontend can start with an empty Environment, and define and instantiate the underlying models itself. When that Environment is passed into the commands exposed by the middleware layer, it will be used as the source of truth for all deployed services. One option for tools taking this option would be to define a custom configuration format and include an Environment builder/factory to convert that configuration into a suitable Environment object.

### Middleware Layer

Expand Down

0 comments on commit 0401484

Please sign in to comment.