@f5devcentral/f5-cloud-libs
Advanced tools
Comparing version 4.21.0 to 4.22.0-beta.1
@@ -704,2 +704,27 @@ /** | ||
/** | ||
* Gets nodes by a resourceId. The resourceId is a string and its meaning is | ||
* provider specific. The meaning is interpreted by the provider by setting a resourceType, | ||
* which is also provider specific. | ||
* | ||
* @param {String} resourceId - The ID of the resource. | ||
* @param {Object} resourceType - The type of resource. Provider specific. | ||
* @param {Object} [options] - Optional parameters | ||
* | ||
* @returns {Promise} A promise which will be resolved with an array of instances. | ||
* Each instance value should be: | ||
* | ||
* { | ||
* id: Node ID, | ||
* ip: { | ||
* public: public IP, | ||
* private: private IP | ||
* } | ||
* } | ||
*/ | ||
CloudProvider.prototype.getNodesByResourceId = function getNodesFromUri(resourceId, resourceType, options) { | ||
this.logger.debug('No override for CloudProvider.getNodesFromUri', resourceId, resourceType, options); | ||
return q(); | ||
}; | ||
module.exports = CloudProvider; |
{ | ||
"name": "@f5devcentral/f5-cloud-libs", | ||
"version": "4.21.0", | ||
"version": "4.22.0-beta.1", | ||
"description": "Common library code and scripts for deploying a BIG-IP in a cloud environment", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# Release notes | ||
## Release 4.22.0 | ||
* Add getNodesByResourceId to cloudProvider | ||
## Release 4.21.0 | ||
@@ -7,7 +10,7 @@ * Enhance workflow used for electing primary host in autoscale solution | ||
- the election is done using lowest private mgmt ip as well as lastBackup date, which is stored under instance metadata in Cloud Storage | ||
* Expose tenant parameter in onboard.js script to allow include/append deployment specific metadata in tenant value stored on BIGIQ side; example: | ||
* Expose tenant parameter in onboard.js script to allow include/append deployment specific metadata in tenant value stored on BIGIQ side; example: | ||
- default tenant value: ```hostname=<hostname>, mgmtPrivdate=<address>``` | ||
- with deployment specific tenant value: ```"<deployment_specific_tenant_value>,hostname=<hostname>, mgmtPrivdate=<address>"``` | ||
* Add script to AWS provider to verify deployment completion based on sync status; script sends signal to AWS Cloud Formation Web Service to complete deployment | ||
* Update Azure cloud provider to allow only primary host handle license revocation and metadata deletion | ||
* Update Azure cloud provider to allow only primary host handle license revocation and metadata deletion | ||
* Rename variable/parameter 'master' to 'primary' | ||
@@ -20,3 +23,3 @@ | ||
* Update autoscale script to populate lastBackup date within instance metadata when UCS generated. The lastBackup date will be shared with other hosts when they get in sync with master. | ||
* Enable logic on autoscale.js script for preventing restoring UCS file when new master elected and new master was in sync with previous master. | ||
* Enable logic on autoscale.js script for preventing restoring UCS file when new master elected and new master was in sync with previous master. | ||
@@ -28,3 +31,3 @@ ## Release 4.18.0 | ||
* New: ```"mgmtAddress": "<ip_address>", "hostname": "<hostname>"``` | ||
## Release 4.17.1 | ||
@@ -31,0 +34,0 @@ * Resolved big-iq onboard error "Public URI path not registered" |
@@ -36,3 +36,3 @@ /** | ||
return options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -39,0 +39,0 @@ '--host <ip_address>', |
@@ -42,3 +42,3 @@ /** | ||
options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -45,0 +45,0 @@ '--data-file <data_file>', |
@@ -61,3 +61,3 @@ /** | ||
options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -64,0 +64,0 @@ '--background', |
@@ -35,3 +35,3 @@ /** | ||
options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -38,0 +38,0 @@ '--length <password_length>', |
@@ -55,3 +55,3 @@ /** | ||
options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -58,0 +58,0 @@ '--cloud <cloud_provider>', |
@@ -73,3 +73,3 @@ /** | ||
options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -76,0 +76,0 @@ '--host <ip_address>', |
@@ -52,3 +52,3 @@ /** | ||
options | ||
.version('4.21.0') | ||
.version('4.22.0-beta.1') | ||
.option( | ||
@@ -55,0 +55,0 @@ '--background', |
@@ -332,2 +332,9 @@ /** | ||
testUnimplementedGetNodesByResourceId(test) { | ||
test.doesNotThrow(() => { | ||
testCloudProvider.getNodesByResourceId(); | ||
}); | ||
test.done(); | ||
}, | ||
testIsInstanceExpired: { | ||
@@ -334,0 +341,0 @@ testExpired(test) { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
3199238
33511
2