@f5devcentral/f5-cloud-libs-consul
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -100,2 +100,4 @@ /** | ||
this.providerOptions = providerOptions || {}; | ||
const jmesPathQueryOption = this.providerOptions.jmesPathQuery | ||
|| '[*].{id:ID||Node,ip:{private:Node,public:Node}}'; | ||
@@ -128,5 +130,3 @@ if (this.providerOptions.secret) { | ||
return this.nodeProvider.init({ | ||
propertyPathId: '', | ||
propertyPathIpPrivate: 'Address', | ||
propertyPathIpPublic: 'Address' | ||
jmesPathQuery: jmesPathQueryOption | ||
}); | ||
@@ -197,10 +197,2 @@ }); | ||
return this.nodeProvider.getNodesFromUri(uri, opts); | ||
}) | ||
.then((nodes) => { | ||
return nodes.map((node) => { | ||
return { | ||
id: node.id.ID || node.id.Node, | ||
ip: node.ip | ||
}; | ||
}); | ||
}); | ||
@@ -207,0 +199,0 @@ }; |
{ | ||
"name": "@f5devcentral/f5-cloud-libs-consul", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Hashicorp Consul implementation of f5-cloud-libs provider specific code", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# Hashicorp Consul implementation of f5-cloud-libs provider specific code | ||
## Filing Issues and Getting Help | ||
This repository is for internal components of native cloud template solutions. For issues, please select the respective template repository below or, if urgent, <a href="https://support.f5.com/csp/article/K23782072">open a support case</a>. | ||
- <a href="https://github.com/F5Networks/f5-google-gdm-templates/issues">**F5 Google Deployment Manager Templates**</a> | ||
- <a href="https://github.com/F5Networks/f5-aws-cloudformation/issues">**F5 AWS CloudFormation Templates**</a> | ||
- <a href="https://github.com/F5Networks/f5-azure-arm-templates/issues">**F5 Azure ARM Templates**</a> |
@@ -197,6 +197,3 @@ /** | ||
{ | ||
id: { | ||
ID: '', | ||
Node: 'test-node-1' | ||
}, | ||
id: 'test-node-1', | ||
ip: { | ||
@@ -208,6 +205,3 @@ public: '192.0.2.47', | ||
{ | ||
id: { | ||
ID: 'c17d2be5-200a-4ff1-ab92-996f120f88cc', | ||
Node: 'test-node-2' | ||
}, | ||
id: 'c17d2be5-200a-4ff1-ab92-996f120f88cc', | ||
ip: { | ||
@@ -214,0 +208,0 @@ public: '192.0.2.48', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9
1
29518
7
433