[ARVADOS] created: 1.3.0-2238-g01d8fcb8f

Git user git at public.arvados.org
Fri Feb 28 18:41:16 UTC 2020


        at  01d8fcb8fa18e413660164174b0b91593109a271 (commit)


commit 01d8fcb8fa18e413660164174b0b91593109a271
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Fri Feb 28 15:40:32 2020 -0300

    14990: Adds exported config section on the API documentation.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/doc/api/index.html.textile.liquid b/doc/api/index.html.textile.liquid
index 2cc5871d7..918e54309 100644
--- a/doc/api/index.html.textile.liquid
+++ b/doc/api/index.html.textile.liquid
@@ -16,6 +16,10 @@ h2. Discovery document
 
 The API server publishes a machine-readable description of its endpoints and some additional site configuration values via a JSON-formatted discovery document.  This is available at @/discovery/v1/apis/arvados/v1/rest@, for example @https://{{ site.arvados_api_host }}/discovery/v1/apis/arvados/v1/rest at .  Some Arvados SDKs use the discovery document to generate language bindings.
 
+h2. Exported configuration
+
+The Controller exposes a subset of the cluster's configuration and makes it available to clients in JSON format. This public config includes valuable information like several service's URLs, timeout settings, etc. and it is available at @/arvados/v1/config@, for example @https://{{ site.arvados_api_host }}/arvados/v1/config at . The new Workbench is one example of a client using this information, as it's a client-side application and doesn't have access to the cluster's config file.
+
 h2. Workbench examples
 
 Many Arvados Workbench pages, under the the *Advanced* tab, provide examples of API and SDK use for accessing the current resource .

commit 1de238b16d94b8ce1e374b8e745671ef46d549c1
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Fri Feb 28 15:28:22 2020 -0300

    14990: Exports Mail.SupportEmailAddress config so that WB2 can use it.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/lib/config/export.go b/lib/config/export.go
index 88794140a..5973a16a1 100644
--- a/lib/config/export.go
+++ b/lib/config/export.go
@@ -138,7 +138,14 @@ var whitelist = map[string]bool{
 	"Login.ProviderAppSecret":                      false,
 	"Login.LoginCluster":                           true,
 	"Login.RemoteTokenRefresh":                     true,
-	"Mail":                                         false,
+	"Mail":                                         true,
+	"Mail.MailchimpAPIKey":                         false,
+	"Mail.MailchimpListID":                         false,
+	"Mail.SendUserSetupNotificationEmail":          false,
+	"Mail.IssueReporterEmailFrom":                  false,
+	"Mail.IssueReporterEmailTo":                    false,
+	"Mail.SupportEmailAddress":                     true,
+	"Mail.EmailFrom":                               false,
 	"ManagementToken":                              false,
 	"PostgreSQL":                                   false,
 	"RemoteClusters":                               true,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list