Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@f5devcentral/f5-cloud-libs-azure

Package Overview
Dependencies
Maintainers
14
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@f5devcentral/f5-cloud-libs-azure - npm Package Compare versions

Comparing version 2.13.0 to 2.14.0

.idea/f5-cloud-libs-azure.iml

2

package.json
{
"name": "@f5devcentral/f5-cloud-libs-azure",
"version": "2.13.0",
"version": "2.14.0",
"description": "Azure implementation of f5-cloud-libs cloud provider code",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,1 +0,6 @@

placeholder
## 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>

@@ -538,3 +538,3 @@ /**

test.strictEqual(instances['123'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['123'].isMaster, false);
test.strictEqual(instances['123'].isPrimary, false);
test.strictEqual(instances['123'].external, false);

@@ -549,3 +549,3 @@ test.strictEqual(instances['123'].lastBackup, new Date(1970, 1, 1).getTime());

test.strictEqual(instances['456'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['456'].isMaster, false);
test.strictEqual(instances['456'].isPrimary, false);
test.strictEqual(instances['456'].external, false);

@@ -584,3 +584,3 @@ test.strictEqual(instances['456'].lastBackup, new Date(1970, 1, 1).getTime());

instance = {
isMaster: true,
isPrimary: true,
mgmtIp: '5.6.7.8',

@@ -591,3 +591,3 @@ privateIp: '5.6.7.8',

providerVisible: true,
masterStatus: {}
primaryStatus: {}
};

@@ -597,3 +597,3 @@ break;

instance = {
isMaster: false,
isPrimary: false,
mgmtIp: '7.8.9.0',

@@ -603,3 +603,3 @@ privateIp: '7.8.9.0',

providerVisible: true,
masterStatus: {}
primaryStatus: {}
};

@@ -623,4 +623,4 @@ break;

providerVisible: true,
isMaster: true,
masterStatus: {}
isPrimary: true,
primaryStatus: {}
},

@@ -632,4 +632,4 @@ 456: {

providerVisible: true,
isMaster: false,
masterStatus: {}
isPrimary: false,
primaryStatus: {}
}

@@ -699,3 +699,3 @@ });

test.strictEqual(instances['123'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['123'].isMaster, false);
test.strictEqual(instances['123'].isPrimary, false);
test.strictEqual(instances['123'].external, false);

@@ -709,3 +709,3 @@ test.strictEqual(instances['123'].versionOk, true);

test.strictEqual(instances['456'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['456'].isMaster, false);
test.strictEqual(instances['456'].isPrimary, false);
test.strictEqual(instances['456'].external, false);

@@ -774,3 +774,3 @@ test.strictEqual(instances['456'].versionOk, true);

test.strictEqual(instances['123'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['123'].isMaster, false);
test.strictEqual(instances['123'].isPrimary, false);
test.strictEqual(instances['123'].external, false);

@@ -784,3 +784,3 @@ test.strictEqual(instances['123'].versionOk, true);

test.strictEqual(instances['456'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['456'].isMaster, false);
test.strictEqual(instances['456'].isPrimary, false);
test.strictEqual(instances['456'].external, false);

@@ -849,3 +849,3 @@ test.strictEqual(instances['456'].versionOk, true);

test.strictEqual(instances['123'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['123'].isMaster, false);
test.strictEqual(instances['123'].isPrimary, false);
test.strictEqual(instances['123'].external, false);

@@ -859,3 +859,3 @@ test.strictEqual(instances['123'].versionOk, true);

test.strictEqual(instances['456'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['456'].isMaster, false);
test.strictEqual(instances['456'].isPrimary, false);
test.strictEqual(instances['456'].external, false);

@@ -939,3 +939,3 @@ test.strictEqual(instances['456'].versionOk, true);

test.strictEqual(instances['123'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['123'].isMaster, false);
test.strictEqual(instances['123'].isPrimary, false);
test.strictEqual(instances['123'].external, false);

@@ -949,3 +949,3 @@ test.strictEqual(instances['123'].versionOk, true);

test.strictEqual(instances['456'].status, AutoscaleInstance.INSTANCE_STATUS_OK);
test.strictEqual(instances['456'].isMaster, false);
test.strictEqual(instances['456'].isPrimary, false);
test.strictEqual(instances['456'].external, false);

@@ -982,3 +982,3 @@ test.strictEqual(instances['456'].versionOk, true);

testElectMaster: {
testElectPrimary: {
testBasic(test) {

@@ -1003,3 +1003,3 @@ const instances = {

test.expect(1);
provider.electMaster(instances)
provider.electPrimary(instances)
.then((electedId) => {

@@ -1030,3 +1030,3 @@ test.strictEqual(electedId, '123');

test.expect(1);
provider.electMaster(instances)
provider.electPrimary(instances)
.then((electedId) => {

@@ -1057,3 +1057,3 @@ test.strictEqual(electedId, '456');

test.expect(1);
provider.electMaster(instances)
provider.electPrimary(instances)
.then(() => {

@@ -1063,3 +1063,3 @@ test.ok(false, 'should have thrown no instances');

.catch((err) => {
test.strictEqual(err.message, 'No possible master found');
test.strictEqual(err.message, 'No possible primary found');
})

@@ -1090,3 +1090,3 @@ .finally(() => {

test.expect(1);
provider.electMaster(instances)
provider.electPrimary(instances)
.then((electedId) => {

@@ -1133,3 +1133,3 @@ test.strictEqual(electedId, '456');

test.expect(1);
provider.electMaster(instances)
provider.electPrimary(instances)
.then((electedId) => {

@@ -1145,3 +1145,3 @@ test.strictEqual(electedId, '999');

test.expect(1);
provider.electMaster(instances)
provider.electPrimary(instances)
.then(() => {

@@ -1159,3 +1159,3 @@ test.ok(false, 'should have thrown no instances');

testGetMasterCredentials(test) {
testGetPrimaryCredentials(test) {
const user = 'roger';

@@ -1170,3 +1170,3 @@ const password = 'dodger';

test.expect(1);
provider.getMasterCredentials()
provider.getPrimaryCredentials()
.then((credentials) => {

@@ -1181,3 +1181,3 @@ test.deepEqual(credentials, {

testIsValidMaster: {
testIsValidPrimary: {
setUp(callback) {

@@ -1217,3 +1217,3 @@ bigIpMock.init = function init() {

test.expect(1);
provider.isValidMaster(instanceId, instances)
provider.isValidPrimary(instanceId, instances)
.then((isValid) => {

@@ -1240,3 +1240,3 @@ test.strictEqual(isValid, true);

test.expect(1);
provider.isValidMaster(instanceId, instances)
provider.isValidPrimary(instanceId, instances)
.then((isValid) => {

@@ -1254,3 +1254,3 @@ test.strictEqual(isValid, false);

testTagMaster: {
testTagPrimary: {
setUp(callback) {

@@ -1264,3 +1264,3 @@ azureComputeMock.virtualMachineScaleSets = {

cost: 'COST',
'resourceGroupName-master': '10.0.1.4'
'resourceGroupName-primary': '10.0.1.4'
}

@@ -1288,4 +1288,4 @@ });

testTagMasterInstance(test) {
const masterIid = '456';
testTagPrimaryInstance(test) {
const primaryIid = '456';
const instances = {

@@ -1309,7 +1309,7 @@ 123: {

test.expect(3);
provider.tagMasterInstance(masterIid, instances)
provider.tagPrimaryInstance(primaryIid, instances)
.then(() => {
test.strictEqual(
virtualMachineScaleSetUpdateParams.params.tags['resourceGroupName-master'],
instances[masterIid].privateIp
virtualMachineScaleSetUpdateParams.params.tags['resourceGroupName-primary'],
instances[primaryIid].privateIp
);

@@ -1316,0 +1316,0 @@ test.strictEqual(virtualMachineScaleSetUpdateParams.params.tags.application, 'APP');

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc