Skip to content

Unify naming conventions for analysis/planning outcome messages. #23

Description

@arthursloan

There are a few cases I've run into where the naming conventions of things in analyzers and planners seem to clash.

  1. Analyzer services takes an AnalysisRequest object and return an Analysis object while Planner services take a PlanRequest and return a PlanResponse object. We should either change Analysis to AnalysisResponse or PlanResponse to Plan make everything line up.
  2. The Analysis object uses the field outcome for ARES outcome/status messages, while PlanResponse has the field planning_outcome. We should probably just make these both outcome.

The question now is how can we do this without breaking previous code, or at least adding in a depreciation message.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions