@itentialopensource/adapter-infoblox 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/adapter.js +1056 -195
- package/package.json +1 -1
- package/pronghorn.json +2288 -486
- package/refs?service=git-upload-pack +0 -0
- package/test/unit/adapterTestUnit.js +20 -20
|
Binary file
|
|
@@ -1340,7 +1340,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
1340
1340
|
a.getNetworkKeyByIP(null, (data, error) => {
|
|
1341
1341
|
try {
|
|
1342
1342
|
const displayE = 'networkIP is required';
|
|
1343
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
1343
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkKeyByIPWithQuery', displayE);
|
|
1344
1344
|
done();
|
|
1345
1345
|
} catch (err) {
|
|
1346
1346
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1490,7 +1490,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
1490
1490
|
a.getIpByHost(null, (data, error) => {
|
|
1491
1491
|
try {
|
|
1492
1492
|
const displayE = 'hostName is required';
|
|
1493
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
1493
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getIpByHostWithQuery', displayE);
|
|
1494
1494
|
done();
|
|
1495
1495
|
} catch (err) {
|
|
1496
1496
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1519,7 +1519,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
1519
1519
|
a.getHostKeyByHostName(null, (data, error) => {
|
|
1520
1520
|
try {
|
|
1521
1521
|
const displayE = 'hostName is required';
|
|
1522
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
1522
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getHostKeyByHostNameWithQuery', displayE);
|
|
1523
1523
|
done();
|
|
1524
1524
|
} catch (err) {
|
|
1525
1525
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1778,7 +1778,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
1778
1778
|
a.getAuthZoneDetailsByfqdnName(null, (data, error) => {
|
|
1779
1779
|
try {
|
|
1780
1780
|
const displayE = 'fqdnName is required';
|
|
1781
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
1781
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getAuthZoneDetailsByfqdnNameWithQuery', displayE);
|
|
1782
1782
|
done();
|
|
1783
1783
|
} catch (err) {
|
|
1784
1784
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1947,7 +1947,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
1947
1947
|
a.getNetworkBlock(null, (data, error) => {
|
|
1948
1948
|
try {
|
|
1949
1949
|
const displayE = 'objectReference is required';
|
|
1950
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
1950
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkBlockWithQuery', displayE);
|
|
1951
1951
|
done();
|
|
1952
1952
|
} catch (err) {
|
|
1953
1953
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1976,7 +1976,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
1976
1976
|
a.modifyNetworkBlock(null, null, (data, error) => {
|
|
1977
1977
|
try {
|
|
1978
1978
|
const displayE = 'networkIP is required';
|
|
1979
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
1979
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkKeyByIPWithQuery', displayE);
|
|
1980
1980
|
done();
|
|
1981
1981
|
} catch (err) {
|
|
1982
1982
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2182,7 +2182,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2182
2182
|
a.getNetworkDetails(null, (data, error) => {
|
|
2183
2183
|
try {
|
|
2184
2184
|
const displayE = 'networkIP is required';
|
|
2185
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2185
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkDetailsWithQuery', displayE);
|
|
2186
2186
|
done();
|
|
2187
2187
|
} catch (err) {
|
|
2188
2188
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2211,7 +2211,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2211
2211
|
a.getNetworkContainerDetails(null, (data, error) => {
|
|
2212
2212
|
try {
|
|
2213
2213
|
const displayE = 'networkIP is required';
|
|
2214
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2214
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkContainerDetailsWithQuery', displayE);
|
|
2215
2215
|
done();
|
|
2216
2216
|
} catch (err) {
|
|
2217
2217
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2344,7 +2344,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2344
2344
|
a.deleteNetwork(null, (data, error) => {
|
|
2345
2345
|
try {
|
|
2346
2346
|
const displayE = 'networkIP is required';
|
|
2347
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2347
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkContainerDetailsWithQuery', displayE);
|
|
2348
2348
|
done();
|
|
2349
2349
|
} catch (err) {
|
|
2350
2350
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2373,7 +2373,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2373
2373
|
a.deleteNetworkv2(null, (data, error) => {
|
|
2374
2374
|
try {
|
|
2375
2375
|
const displayE = 'networkIP is required';
|
|
2376
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2376
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkDetailsWithQuery', displayE);
|
|
2377
2377
|
done();
|
|
2378
2378
|
} catch (err) {
|
|
2379
2379
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2402,7 +2402,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2402
2402
|
a.getNetworkUtilizationByIP(null, (data, error) => {
|
|
2403
2403
|
try {
|
|
2404
2404
|
const displayE = 'networkIP is required';
|
|
2405
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2405
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getNetworkUtilizationByIPWithQuery', displayE);
|
|
2406
2406
|
done();
|
|
2407
2407
|
} catch (err) {
|
|
2408
2408
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2605,7 +2605,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2605
2605
|
a.getHostRecord(null, (data, error) => {
|
|
2606
2606
|
try {
|
|
2607
2607
|
const displayE = 'hostName is required';
|
|
2608
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2608
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getHostRecordWithQuery', displayE);
|
|
2609
2609
|
done();
|
|
2610
2610
|
} catch (err) {
|
|
2611
2611
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2757,7 +2757,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
2757
2757
|
a.getAllRecords(null, (data, error) => {
|
|
2758
2758
|
try {
|
|
2759
2759
|
const displayE = 'zone is required';
|
|
2760
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
2760
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getAllRecordsWithQuery', displayE);
|
|
2761
2761
|
done();
|
|
2762
2762
|
} catch (err) {
|
|
2763
2763
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3588,7 +3588,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
3588
3588
|
a.getAllRpzRecords(null, (data, error) => {
|
|
3589
3589
|
try {
|
|
3590
3590
|
const displayE = 'zone is required';
|
|
3591
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
3591
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getAllRpzRecordsWithQuery', displayE);
|
|
3592
3592
|
done();
|
|
3593
3593
|
} catch (err) {
|
|
3594
3594
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3658,7 +3658,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
3658
3658
|
a.getRangeByExtensibleAttribute(null, (data, error) => {
|
|
3659
3659
|
try {
|
|
3660
3660
|
const displayE = 'location is required';
|
|
3661
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
3661
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getRangeByExtensibleAttributeWithQuery', displayE);
|
|
3662
3662
|
done();
|
|
3663
3663
|
} catch (err) {
|
|
3664
3664
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3716,7 +3716,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
3716
3716
|
a.getLeaseByIpAddress(null, (data, error) => {
|
|
3717
3717
|
try {
|
|
3718
3718
|
const displayE = 'address is required';
|
|
3719
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
3719
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getLeaseByIpAddressWithQuery', displayE);
|
|
3720
3720
|
done();
|
|
3721
3721
|
} catch (err) {
|
|
3722
3722
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3769,7 +3769,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
3769
3769
|
a.getIpAddressUsingSearch(null, (data, error) => {
|
|
3770
3770
|
try {
|
|
3771
3771
|
const displayE = 'address is required';
|
|
3772
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
3772
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getIpAddressUsingSearchWithQuery', displayE);
|
|
3773
3773
|
done();
|
|
3774
3774
|
} catch (err) {
|
|
3775
3775
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3950,7 +3950,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
3950
3950
|
a.getFixedAddressMac(null, (data, error) => {
|
|
3951
3951
|
try {
|
|
3952
3952
|
const displayE = 'mac is required';
|
|
3953
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
3953
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getFixedAddressMacWithQuery', displayE);
|
|
3954
3954
|
done();
|
|
3955
3955
|
} catch (err) {
|
|
3956
3956
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4126,7 +4126,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
4126
4126
|
a.getPermissionsForARole(null, (data, error) => {
|
|
4127
4127
|
try {
|
|
4128
4128
|
const displayE = 'role is required';
|
|
4129
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
4129
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getPermissionsForARoleWithQuery', displayE);
|
|
4130
4130
|
done();
|
|
4131
4131
|
} catch (err) {
|
|
4132
4132
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4155,7 +4155,7 @@ describe('[unit] Infoblox Adapter Test', () => {
|
|
|
4155
4155
|
a.getWapiSchema(null, (data, error) => {
|
|
4156
4156
|
try {
|
|
4157
4157
|
const displayE = 'schema is required';
|
|
4158
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-
|
|
4158
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-infoblox-adapter-getWapiSchemaWithQuery', displayE);
|
|
4159
4159
|
done();
|
|
4160
4160
|
} catch (err) {
|
|
4161
4161
|
log.error(`Test Failure: ${err}`);
|