Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add reference name to resource reference API proto #1781

Merged
merged 20 commits into from
Aug 13, 2019
Merged

Conversation

IronPan
Copy link
Member

@IronPan IronPan commented Aug 9, 2019

fix #1773


This change is Reviewable

@IronPan
Copy link
Member Author

IronPan commented Aug 9, 2019

/assign @hongye-sun

Copy link
Contributor

@hongye-sun hongye-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Aug 9, 2019
@ajchili
Copy link
Member

ajchili commented Aug 9, 2019

/lgtm

@IronPan
Copy link
Member Author

IronPan commented Aug 9, 2019

/approve

@IronPan
Copy link
Member Author

IronPan commented Aug 10, 2019

/retest

@IronPan
Copy link
Member Author

IronPan commented Aug 10, 2019

/test kubeflow-pipeline-sample-test

@k8s-ci-robot k8s-ci-robot removed the lgtm label Aug 11, 2019
@ajchili
Copy link
Member

ajchili commented Aug 12, 2019

/lgtm

@IronPan
Copy link
Member Author

IronPan commented Aug 12, 2019

/retest

@@ -27,6 +27,9 @@ type ResourceReference struct {
// The ID of the resource that been referenced to.
ReferenceUUID string `gorm:"column:ReferenceUUID; not null; "`

// The name of the resource that been referenced to.
ReferenceName string `gorm:"column:ReferenceName; not null; "`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a new required field usually breaks backwards compatibility with all existing clients.
What do you think about keeping it optional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is database schema requirement which won't be surfaced through UI. Please see integration tests for the sample request.

@k8s-ci-robot k8s-ci-robot removed the lgtm label Aug 12, 2019
@hongye-sun
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Aug 13, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Bobgy
Copy link
Contributor

Bobgy commented Aug 13, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Aug 13, 2019
@Bobgy
Copy link
Contributor

Bobgy commented Aug 13, 2019

/lgtm

@Bobgy
Copy link
Contributor

Bobgy commented Aug 13, 2019

/test kubeflow-pipeline-e2e-test

@IronPan
Copy link
Member Author

IronPan commented Aug 13, 2019

Verified the travis tests passed. only coverall failed.

@@ -30,7 +30,7 @@
'google-auth>=1.6.1',
'requests_toolbelt>=0.8.0',
'cloudpickle',
'kfp-server-api >= 0.1.18, < 0.1.19', #Update the upper version whenever a new version of the kfp-server-api package is released. Update the lower version when there is a breaking change in kfp-server-api.
'kfp-server-api >= 0.1.18, <= 0.1.25', #Update the upper version whenever a new version of the kfp-server-api package is released. Update the lower version when there is a breaking change in kfp-server-api.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be < 0.1.26 so that we can release fix versions like 0.1.25.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Surfacing resource name along with resource ID for referenced resources
6 participants