Skip to content

Registry tool: should registry apply merge fields? #1221

@timburks

Description

@timburks

A user suggested that it would be helpful if registry apply could merge values in artifacts. For example, after the following two files were applied, there would be a single artifact with both team and email fields set. Currently each apply fully replaces an existing artifact.

apiVersion: apigeeregistry/v1
kind: FieldSet
metadata:
  parent: apis/sample
  name: support
data:
  definitionName: projects/PROJECTID/locations/global/artifacts/support
  values:
    team: "Team"
apiVersion: apigeeregistry/v1
kind: FieldSet
metadata:
  parent: apis/sample
  name: support
data:
  definitionName: projects/PROJECTID/locations/global/artifacts/support
  values:
    email: "apiteam@acme.com"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions