diff pkg/imports/wa.go @ 2723:a10022399e24

WFS downloads: Fetch user and password from config.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 19 Mar 2019 12:42:43 +0100
parents 56c8ef515d93
children 7cb027be277d
line wrap: on
line diff
--- a/pkg/imports/wa.go	Tue Mar 19 12:28:42 2019 +0100
+++ b/pkg/imports/wa.go	Tue Mar 19 12:42:43 2019 +0100
@@ -38,6 +38,10 @@
 	// SortBy works around misconfigured services to
 	// establish a sort order to get the features.
 	SortBy string `json:"sort-by"`
+	// User is an optional username for Basic Auth.
+	User string `json:"user,omitempty"`
+	// Password is an optional password for Basic Auth.
+	Password string `json:"password,omitempty"`
 }
 
 // WAJobKind is the import queue type identifier.