@itentialopensource/adapter-nokia_nsp_nfm_p 0.2.3 → 0.3.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/AUTH.md +17 -18
- package/BROKER.md +31 -19
- package/CALLS.md +83 -23
- package/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/SYSTEMINFO.md +20 -6
- package/TAB1.md +10 -0
- package/TAB2.md +84 -10696
- package/adapter.js +308 -0
- package/entities/APIV3/action.json +84 -0
- package/entities/APIV3/schema.json +22 -0
- package/metadata.json +34 -7
- package/package.json +5 -7
- package/pronghorn.json +1249 -2220
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/nfmpRest-24.4-v3.json +208 -0
- package/report/updateReport1715046544506.json +120 -0
- package/sampleProperties.json +41 -29
- package/test/integration/adapterTestIntegration.js +105 -0
- package/test/unit/adapterTestUnit.js +48 -2
|
@@ -284,7 +284,6 @@ describe('[unit] Nokia_nsp_nfm_p Adapter Test', () => {
|
|
|
284
284
|
assert.equal('mocha test/unit/adapterBaseTestUnit.js --LOG=error', packageDotJson.scripts['test:baseunit']);
|
|
285
285
|
assert.equal('mocha test/unit/adapterTestUnit.js --LOG=error', packageDotJson.scripts['test:unit']);
|
|
286
286
|
assert.equal('mocha test/integration/adapterTestIntegration.js --LOG=error', packageDotJson.scripts['test:integration']);
|
|
287
|
-
assert.equal('nyc --reporter html --reporter text mocha --reporter dot test/*', packageDotJson.scripts['test:cover']);
|
|
288
287
|
assert.equal('npm run test:baseunit && npm run test:unit && npm run test:integration', packageDotJson.scripts.test);
|
|
289
288
|
assert.equal('npm publish --registry=https://registry.npmjs.org --access=public', packageDotJson.scripts.deploy);
|
|
290
289
|
assert.equal('npm run deploy', packageDotJson.scripts.build);
|
|
@@ -321,7 +320,6 @@ describe('[unit] Nokia_nsp_nfm_p Adapter Test', () => {
|
|
|
321
320
|
assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
|
|
322
321
|
assert.equal('^10.3.0', packageDotJson.dependencies.mocha);
|
|
323
322
|
assert.equal('^2.0.1', packageDotJson.dependencies['mocha-param']);
|
|
324
|
-
assert.equal('^15.1.0', packageDotJson.dependencies.nyc);
|
|
325
323
|
assert.equal('^0.4.4', packageDotJson.dependencies.ping);
|
|
326
324
|
assert.equal('^1.4.10', packageDotJson.dependencies['readline-sync']);
|
|
327
325
|
assert.equal('^7.5.3', packageDotJson.dependencies.semver);
|
|
@@ -35612,5 +35610,53 @@ describe('[unit] Nokia_nsp_nfm_p Adapter Test', () => {
|
|
|
35612
35610
|
}
|
|
35613
35611
|
}).timeout(attemptTimeout);
|
|
35614
35612
|
});
|
|
35613
|
+
|
|
35614
|
+
describe('#xmltojsonEndpoint - errors', () => {
|
|
35615
|
+
it('should have a xmltojsonEndpoint function', (done) => {
|
|
35616
|
+
try {
|
|
35617
|
+
assert.equal(true, typeof a.xmltojsonEndpoint === 'function');
|
|
35618
|
+
done();
|
|
35619
|
+
} catch (error) {
|
|
35620
|
+
log.error(`Test Failure: ${error}`);
|
|
35621
|
+
done(error);
|
|
35622
|
+
}
|
|
35623
|
+
}).timeout(attemptTimeout);
|
|
35624
|
+
});
|
|
35625
|
+
|
|
35626
|
+
describe('#xmlEndpoint - errors', () => {
|
|
35627
|
+
it('should have a xmlEndpoint function', (done) => {
|
|
35628
|
+
try {
|
|
35629
|
+
assert.equal(true, typeof a.xmlEndpoint === 'function');
|
|
35630
|
+
done();
|
|
35631
|
+
} catch (error) {
|
|
35632
|
+
log.error(`Test Failure: ${error}`);
|
|
35633
|
+
done(error);
|
|
35634
|
+
}
|
|
35635
|
+
}).timeout(attemptTimeout);
|
|
35636
|
+
});
|
|
35637
|
+
|
|
35638
|
+
describe('#requestEndpoint - errors', () => {
|
|
35639
|
+
it('should have a requestEndpoint function', (done) => {
|
|
35640
|
+
try {
|
|
35641
|
+
assert.equal(true, typeof a.requestEndpoint === 'function');
|
|
35642
|
+
done();
|
|
35643
|
+
} catch (error) {
|
|
35644
|
+
log.error(`Test Failure: ${error}`);
|
|
35645
|
+
done(error);
|
|
35646
|
+
}
|
|
35647
|
+
}).timeout(attemptTimeout);
|
|
35648
|
+
});
|
|
35649
|
+
|
|
35650
|
+
describe('#findEndpoint - errors', () => {
|
|
35651
|
+
it('should have a findEndpoint function', (done) => {
|
|
35652
|
+
try {
|
|
35653
|
+
assert.equal(true, typeof a.findEndpoint === 'function');
|
|
35654
|
+
done();
|
|
35655
|
+
} catch (error) {
|
|
35656
|
+
log.error(`Test Failure: ${error}`);
|
|
35657
|
+
done(error);
|
|
35658
|
+
}
|
|
35659
|
+
}).timeout(attemptTimeout);
|
|
35660
|
+
});
|
|
35615
35661
|
});
|
|
35616
35662
|
});
|