Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

[MB-2105] Add list all to get state of the world for matching attributes #39

Merged
merged 5 commits into from
Feb 12, 2020

Conversation

katrogan
Copy link
Contributor

No description provided.

@katrogan katrogan changed the title wip - [MB-2105] Add list all to get state of the world for matching attributes [MB-2105] Add list all to get state of the world for matching attributes Feb 11, 2020
EngHabu
EngHabu previously approved these changes Feb 11, 2020
@@ -64,3 +64,23 @@ message MatchingAttributes {
ExecutionClusterLabel execution_cluster_label = 4;
}
}

message MatchableResourceConfiguration {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: mind adding docs for the messages?

}

message ListMatchableResourcesRequest {
string domain = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why only domain?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we scope everything in the system by domain? but i can remove if you think it's not a great requirement!


string project = 3;

string workflow = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

You would need Priority and Launch plan as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1 for launch plan, thanks for the catch
as for priority, i'd rather the server render the resolved state of the world so the caller of this endpoint can see what the actual applied values are

}

// Request all matching resource attributes.
message ListMatchableResourcesRequest {
Copy link
Contributor

@anandswaminathan anandswaminathan Feb 11, 2020

Choose a reason for hiding this comment

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

Do you want to name this matchable ? or resource attribute.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, done

@katrogan
Copy link
Contributor Author

ping @anandswaminathan

@anandswaminathan
Copy link
Contributor

+1

@katrogan katrogan merged commit ba13965 into master Feb 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants