Skip to content

Resource descriptors feel a little too generalized #33

@jrschumacher

Description

@jrschumacher

It's hard to determine when a property should be part of the resource definition vs a resource descriptor.

Currently, resource descriptors contain the following properties:

  • type: type of resource
  • id: unique resource identifier
  • version: resource version
  • name: resource name
  • namespace: resource namespace for partitioning resources
  • fqn: fully qualified name
  • labels: labels
  • description: long description of the resource
  • dependencies: resource dependencies

Attributes have the following props:

  • rule
  • name
  • values
  • group_by
  • descriptor

It is understandable that resources share common properties, but some of the properties feel like they need to be top-level definition properties. I would say anything required should be top-level.

Attributes require:

  • id // auto-generated
  • name
  • description
  • namespace
  • values
  • group_by

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions