Skip to content

[RFD]: Transitioning from legacy services to fabrica services #64

@synackd

Description

@synackd

Decision Goal

A plan for integrating the new fabrica-generated services into the ochami CLI.

Category

Tooling

Stakeholders / Affected Areas

teams, users

Decision Needed By

Before wide adoption of new services.

Problem Statement

OpenCHAMI services have starting to be migrated to fabrica-generated services, one example being BSS to boot-service. Fabrica generates a client library for each service, and it would be prudent to incorporate usage of said libraries into ochami to avoid having to maintain too much client code separate from each service.

The straightforward solution would be to create a new subcommand for each new service, keeping the subcommands for the old service until they can be deprecated. For the BSS//boot-service example, a boot or boot-service subcommand that utilizes the boot-service client libraries can be added, while keeping the bss subcommand until it can be deprecated and removed.

In general, we should decide on a general approach/plan to adopting these new services in ochami.

Proposed Solution

Add subcommand for each new service when that service is ready to be used, deprecate (but keep) the old subcommand, remove old subcommand when new services have reached wide adoption.

Alternatives Considered

  • Adjusting the current service subcommands to use the new API
    • Could be messy and more work than it is worth

Other Considerations

  • Naming of subcommands.
    • How should they match the service?

Related Docs / PRs

N/A

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