openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From houshen...@apache.org
Subject [incubator-openwhisk-wskdeploy] 01/02: remove invalid package_credential from Package structure.
Date Sat, 26 Aug 2017 03:06:12 GMT
This is an automated email from the ASF dual-hosted git repository.

houshengbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git

commit 0ddef37508f6fee0a42a9636139f606898ce3974
Author: Matt Rutkowski <mrutkows@us.ibm.com>
AuthorDate: Fri Aug 25 08:31:56 2017 -0500

    remove invalid package_credential from Package structure.
---
 incubator-openwhisk-wskdeploy | Bin 0 -> 11359036 bytes
 parsers/yamlparser.go         |   1 -
 tests/dat/deploy2.yaml        |   1 -
 3 files changed, 2 deletions(-)

diff --git a/incubator-openwhisk-wskdeploy b/incubator-openwhisk-wskdeploy
new file mode 100755
index 0000000..5dcb982
Binary files /dev/null and b/incubator-openwhisk-wskdeploy differ
diff --git a/parsers/yamlparser.go b/parsers/yamlparser.go
index 23c4f6c..960f23e 100644
--- a/parsers/yamlparser.go
+++ b/parsers/yamlparser.go
@@ -141,7 +141,6 @@ type Package struct {
 	Repositories      []Repository          `yaml:"repositories,omitempty"`
 	Dependencies      map[string]Dependency `yaml: dependencies`        // used in manifest.yaml
 	Function          string                `yaml:"function"`           //used in deployment.yaml
-	PackageCredential string                `yaml:"package_credential"` //used in deployment.yaml
 	//mapping to wsk.SentPackageNoPublish.Namespace
 	Namespace   string                 `yaml:"namespace"`  //used in deployment.yaml
 	Credential  string                 `yaml:"credential"` //used in deployment.yaml
diff --git a/tests/dat/deploy2.yaml b/tests/dat/deploy2.yaml
index 0bc7d92..8b463d4 100644
--- a/tests/dat/deploy2.yaml
+++ b/tests/dat/deploy2.yaml
@@ -6,7 +6,6 @@ application:
     test_package:
       name: test_package
       function: http://abc.com/bbb
-      package_credential: 12345678ABCDEF
       namespace: /wskdeploy/samples/test
       credential: 12345678ABCDEF
       inputs:

-- 
To stop receiving notification emails like this one, please contact
"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>.

Mime
View raw message