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/97cc6656
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/97cc6656
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/97cc6656

Branch: refs/heads/master
Commit: 97cc6656279ed0b785226b3f5166e955f399a1e7
Parents: cbb947d
Author: Chun-Hung Hsiao <chhs...@apache.org>
Authored: Tue Apr 17 18:38:52 2018 -0700
Committer: Chun-Hung Hsiao <chhs...@mesosphere.io>
Committed: Tue Apr 17 18:38:52 2018 -0700

----------------------------------------------------------------------
 include/mesos/resource_provider/resource_provider.proto |  5 +++++
 .../mesos/v1/resource_provider/resource_provider.proto  | 12 ++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/97cc6656/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 db7c751..7c68333 100644
--- a/include/mesos/resource_provider/resource_provider.proto
+++ b/include/mesos/resource_provider/resource_provider.proto
@@ -23,6 +23,9 @@ package mesos.resource_provider;
 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
@@ -104,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/97cc6656/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;
   }
 

Reply via email to