You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2019/05/21 21:23:50 UTC

[mesos] 01/02: Explicitly marked agent resource provider config calls as experimental.

This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch 1.8.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit c9e3a191e0c58b1d22af5b64a7c839d2cea58251
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Fri May 10 14:14:30 2019 -0700

    Explicitly marked agent resource provider config calls as experimental.
    
    The resource provider feature has been marked as experimental, so we
    should also call out the related config API calls are experimental.
    
    Review: https://reviews.apache.org/r/70627
---
 include/mesos/agent/agent.proto    | 9 +++++++++
 include/mesos/v1/agent/agent.proto | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/include/mesos/agent/agent.proto b/include/mesos/agent/agent.proto
index ff408a4..316a384 100644
--- a/include/mesos/agent/agent.proto
+++ b/include/mesos/agent/agent.proto
@@ -319,6 +319,9 @@ message Call {
   //   resource provider of the same type and name exists, but the content is
   //   not identical.
   // Returns 500 Internal Server Error if anything goes wrong.
+  //
+  // NOTE: For the time being, this API is subject to change and the related
+  // feature is experimental.
   message AddResourceProviderConfig {
     required ResourceProviderInfo info = 1;
   }
@@ -342,6 +345,9 @@ message Call {
   // Returns 404 Not Found if no config file describes a resource
   //   provider of the same type and name exists.
   // Returns 500 Internal Server Error if anything goes wrong.
+  //
+  // NOTE: For the time being, this API is subject to change and the related
+  // feature is experimental.
   message UpdateResourceProviderConfig {
     required ResourceProviderInfo info = 1;
   }
@@ -360,6 +366,9 @@ message Call {
   //   exists.
   // Returns 403 Forbidden if the call is not authorized.
   // Returns 500 Internal Server Error if anything goes wrong.
+  //
+  // NOTE: For the time being, this API is subject to change and the related
+  // feature is experimental.
   message RemoveResourceProviderConfig {
     required string type = 1;
     required string name = 2;
diff --git a/include/mesos/v1/agent/agent.proto b/include/mesos/v1/agent/agent.proto
index 19d6c42..2797d20 100644
--- a/include/mesos/v1/agent/agent.proto
+++ b/include/mesos/v1/agent/agent.proto
@@ -319,6 +319,9 @@ message Call {
   //   resource provider of the same type and name exists, but the content is
   //   not identical.
   // Returns 500 Internal Server Error if anything goes wrong.
+  //
+  // NOTE: For the time being, this API is subject to change and the related
+  // feature is experimental.
   message AddResourceProviderConfig {
     required ResourceProviderInfo info = 1;
   }
@@ -342,6 +345,9 @@ message Call {
   // Returns 404 Not Found if no config file describes a resource
   //   provider of the same type and name exists.
   // Returns 500 Internal Server Error if anything goes wrong.
+  //
+  // NOTE: For the time being, this API is subject to change and the related
+  // feature is experimental.
   message UpdateResourceProviderConfig {
     required ResourceProviderInfo info = 1;
   }
@@ -360,6 +366,9 @@ message Call {
   //   exists.
   // Returns 403 Forbidden if the call is not authorized.
   // Returns 500 Internal Server Error if anything goes wrong.
+  //
+  // NOTE: For the time being, this API is subject to change and the related
+  // feature is experimental.
   message RemoveResourceProviderConfig {
     required string type = 1;
     required string name = 2;