Skip to content

Update data model for Feed #9965

@N-lson

Description

@N-lson

The enhancement

The Need

We're adding support for Feeds in the Platform Hub. In order to make the transition easier, we're updating the data model for the Feed table. There will be changes to the model saved in the audit log and to the Bento export model.

Note: This will cause a breaking change for any customers reliant on the structure of Feed stored in the audit log. If you have any automations relying on this structure, you'll need to update these to read certain properties from the Details property instead.

Notable changes:

  • OidcDetails has been renamed to OidcAuthentication
  • If a property is not one of the following, it has been moved into the Details property:
    • Id
    • Name
    • Slug
    • SpaceId

The following examples are for the AWS Elastic Container Registry feed

Example - Before

{
  "Region": "ap-southeast-1",
  "AccessKey": "access-key",
  "SecretKey": "secret-key",
  "OidcDetails": null,
  "UseMachineCredentials": false,
  "IsUsingOidcAuthentication": false,
  "IsAccessKeyAuthenticationEnabled": true,
  "Id": "Feeds-1",
  "Name": "AwsElasticContainerRegistry feed",
  "Slug": "aws-feed",
  "SpaceId": "Spaces-1",
  "FeedType": "AwsElasticContainerRegistry"
}

Example - After

{
  "Id": "Feeds-1",
  "Name": "AwsElasticContainerRegistry feed",
  "Details": {
    "FeedType": "AwsElasticContainerRegistry",
    "Region": "ap-southeast-1",
    "AccessKey": "access-key",
    "SecretKey": "secret-key",
    "OidcAuthentication": null,
    "UseMachineCredentials": false
  },
  "Slug": "aws-feed",
  "SpaceId": "Spaces-1",
  "FeedType": "AwsElasticContainerRegistry"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementThis issue represents an enhancement we are committed to adding to Octopus as some time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions