Marked the resource provider API as experimental. This patch marks the resource provider API as experimental, and make the v0 and v1 protos consistent.
Review: https://reviews.apache.org/r/66648/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8369f328 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8369f328 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8369f328 Branch: refs/heads/1.5.x Commit: 8369f32852e659babd42df44fca4655c5a7b74a2 Parents: 6525406 Author: Chun-Hung Hsiao <[email protected]> Authored: Tue Apr 17 18:38:52 2018 -0700 Committer: Chun-Hung Hsiao <[email protected]> Committed: Tue Apr 17 18:51:14 2018 -0700 ---------------------------------------------------------------------- include/mesos/resource_provider/resource_provider.proto | 4 ++++ .../mesos/v1/resource_provider/resource_provider.proto | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/8369f328/include/mesos/resource_provider/resource_provider.proto ---------------------------------------------------------------------- diff --git a/include/mesos/resource_provider/resource_provider.proto b/include/mesos/resource_provider/resource_provider.proto index e96a404..7c68333 100644 --- a/include/mesos/resource_provider/resource_provider.proto +++ b/include/mesos/resource_provider/resource_provider.proto @@ -24,6 +24,8 @@ option java_package = "org.apache.mesos.resource_provider"; option java_outer_classname = "Protos"; +// NOTE: For the time being, this API is subject to change and the related +// feature is experimental. message Event { enum Type { // This must be the first enum value in this list, to @@ -105,6 +107,8 @@ message Event { } +// NOTE: For the time being, this API is subject to change and the related +// feature is experimental. message Call { enum Type { // This must be the first enum value in this list, to http://git-wip-us.apache.org/repos/asf/mesos/blob/8369f328/include/mesos/v1/resource_provider/resource_provider.proto ---------------------------------------------------------------------- diff --git a/include/mesos/v1/resource_provider/resource_provider.proto b/include/mesos/v1/resource_provider/resource_provider.proto index 42bc050..535b898 100644 --- a/include/mesos/v1/resource_provider/resource_provider.proto +++ b/include/mesos/v1/resource_provider/resource_provider.proto @@ -24,6 +24,8 @@ option java_package = "org.apache.mesos.v1.resource_provider"; option java_outer_classname = "Protos"; +// NOTE: For the time being, this API is subject to change and the related +// feature is experimental. message Event { enum Type { // This must be the first enum value in this list, to @@ -52,8 +54,8 @@ message Event { required Offer.Operation info = 2; // This is the internal UUID for the operation, which is kept - // independently from the framework specified operation id, which is - // optional. + // independently from the framework-specified operation ID, which + // is optional. required UUID operation_uuid = 3; // Used to establish the relationship between the operation and @@ -105,6 +107,8 @@ message Event { } +// NOTE: For the time being, this API is subject to change and the related +// feature is experimental. message Call { enum Type { // This must be the first enum value in this list, to @@ -131,8 +135,8 @@ message Call { optional OperationStatus latest_status = 3; // This is the internal UUID for the operation, which is kept - // independently from the framework specified operation id, which is - // optional. + // independently from the framework-specified operation ID, which + // is optional. required UUID operation_uuid = 4; }
