@itentialopensource/adapter-oracle_cloud 0.1.1 → 0.2.0
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 +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +9 -2
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +221 -571
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +335 -62
- package/adapterBase.js +1007 -253
- package/entities/.generic/action.json +105 -0
- package/entities/.generic/schema.json +6 -1
- package/error.json +6 -0
- package/package.json +5 -3
- package/pronghorn.json +642 -401
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +424 -3
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1653049581192.json +120 -0
- package/sampleProperties.json +90 -1
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestIntegration.js +47 -126
- package/test/unit/adapterBaseTestUnit.js +30 -25
- package/test/unit/adapterTestUnit.js +333 -318
- package/utils/adapterInfo.js +206 -0
- package/utils/artifactize.js +0 -0
- package/utils/entitiesToDB.js +12 -57
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +3 -0
- package/utils/tbScript.js +35 -20
- package/utils/tbUtils.js +59 -35
- package/utils/testRunner.js +16 -16
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* global describe it log pronghornProps */
|
|
5
5
|
/* eslint global-require: warn */
|
|
6
6
|
/* eslint no-unused-vars: warn */
|
|
7
|
+
/* eslint import/no-dynamic-require:warn */
|
|
7
8
|
|
|
8
9
|
// include required items for testing & logging
|
|
9
10
|
const assert = require('assert');
|
|
@@ -18,22 +19,31 @@ const { use } = require('chai');
|
|
|
18
19
|
const td = require('testdouble');
|
|
19
20
|
|
|
20
21
|
const anything = td.matchers.anything();
|
|
21
|
-
|
|
22
|
-
// stub and attemptTimeout are used throughout the code so set them here
|
|
23
22
|
let logLevel = 'none';
|
|
24
|
-
const stub = true;
|
|
25
23
|
const isRapidFail = false;
|
|
26
|
-
|
|
24
|
+
|
|
25
|
+
// read in the properties from the sampleProperties files
|
|
26
|
+
let adaptdir = __dirname;
|
|
27
|
+
if (adaptdir.endsWith('/test/integration')) {
|
|
28
|
+
adaptdir = adaptdir.substring(0, adaptdir.length - 17);
|
|
29
|
+
} else if (adaptdir.endsWith('/test/unit')) {
|
|
30
|
+
adaptdir = adaptdir.substring(0, adaptdir.length - 10);
|
|
31
|
+
}
|
|
32
|
+
const samProps = require(`${adaptdir}/sampleProperties.json`).properties;
|
|
27
33
|
|
|
28
34
|
// these variables can be changed to run in integrated mode so easier to set them here
|
|
29
35
|
// always check these in with bogus data!!!
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
samProps.stub = true;
|
|
37
|
+
samProps.host = 'replace.hostorip.here';
|
|
38
|
+
samProps.authentication.username = 'username';
|
|
39
|
+
samProps.authentication.password = 'password';
|
|
40
|
+
samProps.protocol = 'http';
|
|
41
|
+
samProps.port = 80;
|
|
42
|
+
samProps.ssl.enabled = false;
|
|
43
|
+
samProps.ssl.accept_invalid_cert = false;
|
|
44
|
+
samProps.request.attempt_timeout = 60000;
|
|
45
|
+
const attemptTimeout = samProps.request.attempt_timeout;
|
|
46
|
+
const { stub } = samProps;
|
|
37
47
|
|
|
38
48
|
// these are the adapter properties. You generally should not need to alter
|
|
39
49
|
// any of these after they are initially set up
|
|
@@ -43,104 +53,9 @@ global.pronghornProps = {
|
|
|
43
53
|
},
|
|
44
54
|
adapterProps: {
|
|
45
55
|
adapters: [{
|
|
46
|
-
id: 'Test-
|
|
56
|
+
id: 'Test-oracle_cloud',
|
|
47
57
|
type: 'OracleCloud',
|
|
48
|
-
properties:
|
|
49
|
-
host,
|
|
50
|
-
port,
|
|
51
|
-
base_path: '/',
|
|
52
|
-
version: '',
|
|
53
|
-
cache_location: 'none',
|
|
54
|
-
encode_pathvars: true,
|
|
55
|
-
save_metric: false,
|
|
56
|
-
stub,
|
|
57
|
-
protocol,
|
|
58
|
-
authentication: {
|
|
59
|
-
auth_method: 'request_token',
|
|
60
|
-
username,
|
|
61
|
-
password,
|
|
62
|
-
token: '',
|
|
63
|
-
invalid_token_error: 401,
|
|
64
|
-
token_timeout: 1800000,
|
|
65
|
-
token_cache: 'local',
|
|
66
|
-
auth_field: 'header.headers.X-AUTH-TOKEN',
|
|
67
|
-
auth_field_format: '{token}',
|
|
68
|
-
auth_logging: false,
|
|
69
|
-
client_id: '',
|
|
70
|
-
client_secret: '',
|
|
71
|
-
grant_type: ''
|
|
72
|
-
},
|
|
73
|
-
healthcheck: {
|
|
74
|
-
type: 'none',
|
|
75
|
-
frequency: 60000,
|
|
76
|
-
query_object: {}
|
|
77
|
-
},
|
|
78
|
-
throttle: {
|
|
79
|
-
throttle_enabled: false,
|
|
80
|
-
number_pronghorns: 1,
|
|
81
|
-
sync_async: 'sync',
|
|
82
|
-
max_in_queue: 1000,
|
|
83
|
-
concurrent_max: 1,
|
|
84
|
-
expire_timeout: 0,
|
|
85
|
-
avg_runtime: 200,
|
|
86
|
-
priorities: [
|
|
87
|
-
{
|
|
88
|
-
value: 0,
|
|
89
|
-
percent: 100
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
request: {
|
|
94
|
-
number_redirects: 0,
|
|
95
|
-
number_retries: 3,
|
|
96
|
-
limit_retry_error: [0],
|
|
97
|
-
failover_codes: [],
|
|
98
|
-
attempt_timeout: attemptTimeout,
|
|
99
|
-
global_request: {
|
|
100
|
-
payload: {},
|
|
101
|
-
uriOptions: {},
|
|
102
|
-
addlHeaders: {},
|
|
103
|
-
authData: {}
|
|
104
|
-
},
|
|
105
|
-
healthcheck_on_timeout: true,
|
|
106
|
-
return_raw: true,
|
|
107
|
-
archiving: false,
|
|
108
|
-
return_request: false
|
|
109
|
-
},
|
|
110
|
-
proxy: {
|
|
111
|
-
enabled: false,
|
|
112
|
-
host: '',
|
|
113
|
-
port: 1,
|
|
114
|
-
protocol: 'http',
|
|
115
|
-
username: '',
|
|
116
|
-
password: ''
|
|
117
|
-
},
|
|
118
|
-
ssl: {
|
|
119
|
-
ecdhCurve: '',
|
|
120
|
-
enabled: sslenable,
|
|
121
|
-
accept_invalid_cert: sslinvalid,
|
|
122
|
-
ca_file: '',
|
|
123
|
-
key_file: '',
|
|
124
|
-
cert_file: '',
|
|
125
|
-
secure_protocol: '',
|
|
126
|
-
ciphers: ''
|
|
127
|
-
},
|
|
128
|
-
mongo: {
|
|
129
|
-
host: '',
|
|
130
|
-
port: 0,
|
|
131
|
-
database: '',
|
|
132
|
-
username: '',
|
|
133
|
-
password: '',
|
|
134
|
-
replSet: '',
|
|
135
|
-
db_ssl: {
|
|
136
|
-
enabled: false,
|
|
137
|
-
accept_invalid_cert: false,
|
|
138
|
-
ca_file: '',
|
|
139
|
-
key_file: '',
|
|
140
|
-
cert_file: ''
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
58
|
+
properties: samProps
|
|
144
59
|
}]
|
|
145
60
|
}
|
|
146
61
|
};
|
|
@@ -271,10 +186,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
271
186
|
});
|
|
272
187
|
|
|
273
188
|
let wffunctions = [];
|
|
274
|
-
describe('#
|
|
189
|
+
describe('#iapGetAdapterWorkflowFunctions', () => {
|
|
275
190
|
it('should retrieve workflow functions', (done) => {
|
|
276
191
|
try {
|
|
277
|
-
wffunctions = a.
|
|
192
|
+
wffunctions = a.iapGetAdapterWorkflowFunctions([]);
|
|
278
193
|
|
|
279
194
|
try {
|
|
280
195
|
assert.notEqual(0, wffunctions.length);
|
|
@@ -356,6 +271,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
356
271
|
assert.notEqual(undefined, packageDotJson.scripts);
|
|
357
272
|
assert.notEqual(null, packageDotJson.scripts);
|
|
358
273
|
assert.notEqual('', packageDotJson.scripts);
|
|
274
|
+
assert.equal('node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions', packageDotJson.scripts.preinstall);
|
|
359
275
|
assert.equal('node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js', packageDotJson.scripts.lint);
|
|
360
276
|
assert.equal('node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet', packageDotJson.scripts['lint:errors']);
|
|
361
277
|
assert.equal('mocha test/unit/adapterBaseTestUnit.js --LOG=error', packageDotJson.scripts['test:baseunit']);
|
|
@@ -363,6 +279,8 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
363
279
|
assert.equal('mocha test/integration/adapterTestIntegration.js --LOG=error', packageDotJson.scripts['test:integration']);
|
|
364
280
|
assert.equal('nyc --reporter html --reporter text mocha --reporter dot test/*', packageDotJson.scripts['test:cover']);
|
|
365
281
|
assert.equal('npm run test:baseunit && npm run test:unit && npm run test:integration', packageDotJson.scripts.test);
|
|
282
|
+
assert.equal('npm publish --registry=https://registry.npmjs.org --access=public', packageDotJson.scripts.deploy);
|
|
283
|
+
assert.equal('npm run deploy', packageDotJson.scripts.build);
|
|
366
284
|
done();
|
|
367
285
|
} catch (error) {
|
|
368
286
|
log.error(`Test Failure: ${error}`);
|
|
@@ -375,6 +293,9 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
375
293
|
assert.notEqual(undefined, packageDotJson.repository);
|
|
376
294
|
assert.notEqual(null, packageDotJson.repository);
|
|
377
295
|
assert.notEqual('', packageDotJson.repository);
|
|
296
|
+
assert.equal('git', packageDotJson.repository.type);
|
|
297
|
+
assert.equal('git@gitlab.com:itentialopensource/adapters/', packageDotJson.repository.url.substring(0, 43));
|
|
298
|
+
assert.equal('https://gitlab.com/itentialopensource/adapters/', packageDotJson.homepage.substring(0, 47));
|
|
378
299
|
done();
|
|
379
300
|
} catch (error) {
|
|
380
301
|
log.error(`Test Failure: ${error}`);
|
|
@@ -459,16 +380,17 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
459
380
|
assert.notEqual('', pronghornDotJson.methods);
|
|
460
381
|
assert.equal(true, Array.isArray(pronghornDotJson.methods));
|
|
461
382
|
assert.notEqual(0, pronghornDotJson.methods.length);
|
|
462
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
463
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
464
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
465
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
466
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
467
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
468
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
469
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
470
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
383
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapUpdateAdapterConfiguration'));
|
|
384
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapFindAdapterPath'));
|
|
385
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapTroubleshootAdapter'));
|
|
386
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterHealthcheck'));
|
|
387
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterConnectivity'));
|
|
388
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterBasicGet'));
|
|
389
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapSuspendAdapter'));
|
|
390
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapUnsuspendAdapter'));
|
|
391
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapGetAdapterQueue'));
|
|
471
392
|
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'genericAdapterRequest'));
|
|
393
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'genericAdapterRequestNoBasePath'));
|
|
472
394
|
done();
|
|
473
395
|
} catch (error) {
|
|
474
396
|
log.error(`Test Failure: ${error}`);
|
|
@@ -640,6 +562,8 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
640
562
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_id.type);
|
|
641
563
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_secret.type);
|
|
642
564
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.grant_type.type);
|
|
565
|
+
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
566
|
+
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
643
567
|
assert.notEqual('', propertiesDotJson.definitions.ssl);
|
|
644
568
|
assert.equal('string', propertiesDotJson.definitions.ssl.properties.ecdhCurve.type);
|
|
645
569
|
assert.equal('boolean', propertiesDotJson.definitions.ssl.properties.enabled.type);
|
|
@@ -653,6 +577,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
653
577
|
assert.equal('string', propertiesDotJson.properties.version.type);
|
|
654
578
|
assert.equal('string', propertiesDotJson.properties.cache_location.type);
|
|
655
579
|
assert.equal('boolean', propertiesDotJson.properties.encode_pathvars.type);
|
|
580
|
+
assert.equal('boolean', propertiesDotJson.properties.encode_queryvars.type);
|
|
656
581
|
assert.equal(true, Array.isArray(propertiesDotJson.properties.save_metric.type));
|
|
657
582
|
assert.equal('string', propertiesDotJson.properties.protocol.type);
|
|
658
583
|
assert.notEqual(undefined, propertiesDotJson.definitions);
|
|
@@ -701,8 +626,6 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
701
626
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.protocol.type);
|
|
702
627
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.username.type);
|
|
703
628
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.password.type);
|
|
704
|
-
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
705
|
-
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
706
629
|
assert.notEqual(undefined, propertiesDotJson.definitions.mongo);
|
|
707
630
|
assert.notEqual(null, propertiesDotJson.definitions.mongo);
|
|
708
631
|
assert.notEqual('', propertiesDotJson.definitions.mongo);
|
|
@@ -718,6 +641,12 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
718
641
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.ca_file.type);
|
|
719
642
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.key_file.type);
|
|
720
643
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.cert_file.type);
|
|
644
|
+
assert.notEqual('', propertiesDotJson.definitions.devicebroker);
|
|
645
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getDevice.type);
|
|
646
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getDevicesFiltered.type);
|
|
647
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.isAlive.type);
|
|
648
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getConfig.type);
|
|
649
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getCount.type);
|
|
721
650
|
done();
|
|
722
651
|
} catch (error) {
|
|
723
652
|
log.error(`Test Failure: ${error}`);
|
|
@@ -834,17 +763,13 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
834
763
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.cert_file);
|
|
835
764
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.secure_protocol);
|
|
836
765
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.ciphers);
|
|
837
|
-
|
|
838
766
|
assert.notEqual(undefined, sampleDotJson.properties.base_path);
|
|
839
767
|
assert.notEqual(undefined, sampleDotJson.properties.version);
|
|
840
768
|
assert.notEqual(undefined, sampleDotJson.properties.cache_location);
|
|
841
769
|
assert.notEqual(undefined, sampleDotJson.properties.encode_pathvars);
|
|
770
|
+
assert.notEqual(undefined, sampleDotJson.properties.encode_queryvars);
|
|
842
771
|
assert.notEqual(undefined, sampleDotJson.properties.save_metric);
|
|
843
772
|
assert.notEqual(undefined, sampleDotJson.properties.protocol);
|
|
844
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
845
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
846
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
847
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
848
773
|
assert.notEqual(undefined, sampleDotJson.properties.healthcheck);
|
|
849
774
|
assert.notEqual(null, sampleDotJson.properties.healthcheck);
|
|
850
775
|
assert.notEqual('', sampleDotJson.properties.healthcheck);
|
|
@@ -903,6 +828,12 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
903
828
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.ca_file);
|
|
904
829
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.key_file);
|
|
905
830
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.cert_file);
|
|
831
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker);
|
|
832
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getDevice);
|
|
833
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getDevicesFiltered);
|
|
834
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.isAlive);
|
|
835
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getConfig);
|
|
836
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getCount);
|
|
906
837
|
done();
|
|
907
838
|
} catch (error) {
|
|
908
839
|
log.error(`Test Failure: ${error}`);
|
|
@@ -996,10 +927,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
996
927
|
});
|
|
997
928
|
});
|
|
998
929
|
|
|
999
|
-
describe('#
|
|
1000
|
-
it('should have a
|
|
930
|
+
describe('#iapUpdateAdapterConfiguration', () => {
|
|
931
|
+
it('should have a iapUpdateAdapterConfiguration function', (done) => {
|
|
1001
932
|
try {
|
|
1002
|
-
assert.equal(true, typeof a.
|
|
933
|
+
assert.equal(true, typeof a.iapUpdateAdapterConfiguration === 'function');
|
|
1003
934
|
done();
|
|
1004
935
|
} catch (error) {
|
|
1005
936
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1008,19 +939,19 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1008
939
|
});
|
|
1009
940
|
});
|
|
1010
941
|
|
|
1011
|
-
describe('#
|
|
1012
|
-
it('should have a
|
|
942
|
+
describe('#iapFindAdapterPath', () => {
|
|
943
|
+
it('should have a iapFindAdapterPath function', (done) => {
|
|
1013
944
|
try {
|
|
1014
|
-
assert.equal(true, typeof a.
|
|
945
|
+
assert.equal(true, typeof a.iapFindAdapterPath === 'function');
|
|
1015
946
|
done();
|
|
1016
947
|
} catch (error) {
|
|
1017
948
|
log.error(`Test Failure: ${error}`);
|
|
1018
949
|
done(error);
|
|
1019
950
|
}
|
|
1020
951
|
});
|
|
1021
|
-
it('
|
|
952
|
+
it('iapFindAdapterPath should find atleast one path that matches', (done) => {
|
|
1022
953
|
try {
|
|
1023
|
-
a.
|
|
954
|
+
a.iapFindAdapterPath('{base_path}/{version}', (data, error) => {
|
|
1024
955
|
try {
|
|
1025
956
|
assert.equal(undefined, error);
|
|
1026
957
|
assert.notEqual(undefined, data);
|
|
@@ -1042,10 +973,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1042
973
|
}).timeout(attemptTimeout);
|
|
1043
974
|
});
|
|
1044
975
|
|
|
1045
|
-
describe('#
|
|
1046
|
-
it('should have a
|
|
976
|
+
describe('#iapSuspendAdapter', () => {
|
|
977
|
+
it('should have a iapSuspendAdapter function', (done) => {
|
|
1047
978
|
try {
|
|
1048
|
-
assert.equal(true, typeof a.
|
|
979
|
+
assert.equal(true, typeof a.iapSuspendAdapter === 'function');
|
|
1049
980
|
done();
|
|
1050
981
|
} catch (error) {
|
|
1051
982
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1054,10 +985,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1054
985
|
});
|
|
1055
986
|
});
|
|
1056
987
|
|
|
1057
|
-
describe('#
|
|
1058
|
-
it('should have a
|
|
988
|
+
describe('#iapUnsuspendAdapter', () => {
|
|
989
|
+
it('should have a iapUnsuspendAdapter function', (done) => {
|
|
1059
990
|
try {
|
|
1060
|
-
assert.equal(true, typeof a.
|
|
991
|
+
assert.equal(true, typeof a.iapUnsuspendAdapter === 'function');
|
|
1061
992
|
done();
|
|
1062
993
|
} catch (error) {
|
|
1063
994
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1066,10 +997,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1066
997
|
});
|
|
1067
998
|
});
|
|
1068
999
|
|
|
1069
|
-
describe('#
|
|
1070
|
-
it('should have a
|
|
1000
|
+
describe('#iapGetAdapterQueue', () => {
|
|
1001
|
+
it('should have a iapGetAdapterQueue function', (done) => {
|
|
1071
1002
|
try {
|
|
1072
|
-
assert.equal(true, typeof a.
|
|
1003
|
+
assert.equal(true, typeof a.iapGetAdapterQueue === 'function');
|
|
1073
1004
|
done();
|
|
1074
1005
|
} catch (error) {
|
|
1075
1006
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1078,10 +1009,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1078
1009
|
});
|
|
1079
1010
|
});
|
|
1080
1011
|
|
|
1081
|
-
describe('#
|
|
1082
|
-
it('should have a
|
|
1012
|
+
describe('#iapTroubleshootAdapter', () => {
|
|
1013
|
+
it('should have a iapTroubleshootAdapter function', (done) => {
|
|
1083
1014
|
try {
|
|
1084
|
-
assert.equal(true, typeof a.
|
|
1015
|
+
assert.equal(true, typeof a.iapTroubleshootAdapter === 'function');
|
|
1085
1016
|
done();
|
|
1086
1017
|
} catch (error) {
|
|
1087
1018
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1090,10 +1021,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1090
1021
|
});
|
|
1091
1022
|
});
|
|
1092
1023
|
|
|
1093
|
-
describe('#
|
|
1094
|
-
it('should have a
|
|
1024
|
+
describe('#iapRunAdapterHealthcheck', () => {
|
|
1025
|
+
it('should have a iapRunAdapterHealthcheck function', (done) => {
|
|
1095
1026
|
try {
|
|
1096
|
-
assert.equal(true, typeof a.
|
|
1027
|
+
assert.equal(true, typeof a.iapRunAdapterHealthcheck === 'function');
|
|
1097
1028
|
done();
|
|
1098
1029
|
} catch (error) {
|
|
1099
1030
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1102,10 +1033,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1102
1033
|
});
|
|
1103
1034
|
});
|
|
1104
1035
|
|
|
1105
|
-
describe('#
|
|
1106
|
-
it('should have a
|
|
1036
|
+
describe('#iapRunAdapterConnectivity', () => {
|
|
1037
|
+
it('should have a iapRunAdapterConnectivity function', (done) => {
|
|
1107
1038
|
try {
|
|
1108
|
-
assert.equal(true, typeof a.
|
|
1039
|
+
assert.equal(true, typeof a.iapRunAdapterConnectivity === 'function');
|
|
1109
1040
|
done();
|
|
1110
1041
|
} catch (error) {
|
|
1111
1042
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1114,10 +1045,22 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1114
1045
|
});
|
|
1115
1046
|
});
|
|
1116
1047
|
|
|
1117
|
-
describe('#
|
|
1118
|
-
it('should have a
|
|
1048
|
+
describe('#iapRunAdapterBasicGet', () => {
|
|
1049
|
+
it('should have a iapRunAdapterBasicGet function', (done) => {
|
|
1119
1050
|
try {
|
|
1120
|
-
assert.equal(true, typeof a.
|
|
1051
|
+
assert.equal(true, typeof a.iapRunAdapterBasicGet === 'function');
|
|
1052
|
+
done();
|
|
1053
|
+
} catch (error) {
|
|
1054
|
+
log.error(`Test Failure: ${error}`);
|
|
1055
|
+
done(error);
|
|
1056
|
+
}
|
|
1057
|
+
});
|
|
1058
|
+
});
|
|
1059
|
+
|
|
1060
|
+
describe('#iapMoveAdapterEntitiesToDB', () => {
|
|
1061
|
+
it('should have a iapMoveAdapterEntitiesToDB function', (done) => {
|
|
1062
|
+
try {
|
|
1063
|
+
assert.equal(true, typeof a.iapMoveAdapterEntitiesToDB === 'function');
|
|
1121
1064
|
done();
|
|
1122
1065
|
} catch (error) {
|
|
1123
1066
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1211,10 +1154,10 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1211
1154
|
}).timeout(attemptTimeout);
|
|
1212
1155
|
});
|
|
1213
1156
|
|
|
1214
|
-
// describe('#
|
|
1215
|
-
// it('should have a
|
|
1157
|
+
// describe('#iapHasAdapterEntity', () => {
|
|
1158
|
+
// it('should have a iapHasAdapterEntity function', (done) => {
|
|
1216
1159
|
// try {
|
|
1217
|
-
// assert.equal(true, typeof a.
|
|
1160
|
+
// assert.equal(true, typeof a.iapHasAdapterEntity === 'function');
|
|
1218
1161
|
// done();
|
|
1219
1162
|
// } catch (error) {
|
|
1220
1163
|
// log.error(`Test Failure: ${error}`);
|
|
@@ -1223,7 +1166,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1223
1166
|
// });
|
|
1224
1167
|
// it('should find entity', (done) => {
|
|
1225
1168
|
// try {
|
|
1226
|
-
// a.
|
|
1169
|
+
// a.iapHasAdapterEntity('template_entity', // 'a9e9c33dc61122760072455df62663d2', (data) => {
|
|
1227
1170
|
// try {
|
|
1228
1171
|
// assert.equal(true, data[0]);
|
|
1229
1172
|
// done();
|
|
@@ -1239,7 +1182,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1239
1182
|
// }).timeout(attemptTimeout);
|
|
1240
1183
|
// it('should not find entity', (done) => {
|
|
1241
1184
|
// try {
|
|
1242
|
-
// a.
|
|
1185
|
+
// a.iapHasAdapterEntity('template_entity', 'blah', (data) => {
|
|
1243
1186
|
// try {
|
|
1244
1187
|
// assert.equal(false, data[0]);
|
|
1245
1188
|
// done();
|
|
@@ -1255,6 +1198,78 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1255
1198
|
// }).timeout(attemptTimeout);
|
|
1256
1199
|
// });
|
|
1257
1200
|
|
|
1201
|
+
describe('#hasEntities', () => {
|
|
1202
|
+
it('should have a hasEntities function', (done) => {
|
|
1203
|
+
try {
|
|
1204
|
+
assert.equal(true, typeof a.hasEntities === 'function');
|
|
1205
|
+
done();
|
|
1206
|
+
} catch (error) {
|
|
1207
|
+
log.error(`Test Failure: ${error}`);
|
|
1208
|
+
done(error);
|
|
1209
|
+
}
|
|
1210
|
+
});
|
|
1211
|
+
});
|
|
1212
|
+
|
|
1213
|
+
describe('#getDevice', () => {
|
|
1214
|
+
it('should have a getDevice function', (done) => {
|
|
1215
|
+
try {
|
|
1216
|
+
assert.equal(true, typeof a.getDevice === 'function');
|
|
1217
|
+
done();
|
|
1218
|
+
} catch (error) {
|
|
1219
|
+
log.error(`Test Failure: ${error}`);
|
|
1220
|
+
done(error);
|
|
1221
|
+
}
|
|
1222
|
+
});
|
|
1223
|
+
});
|
|
1224
|
+
|
|
1225
|
+
describe('#getDevicesFiltered', () => {
|
|
1226
|
+
it('should have a getDevicesFiltered function', (done) => {
|
|
1227
|
+
try {
|
|
1228
|
+
assert.equal(true, typeof a.getDevicesFiltered === 'function');
|
|
1229
|
+
done();
|
|
1230
|
+
} catch (error) {
|
|
1231
|
+
log.error(`Test Failure: ${error}`);
|
|
1232
|
+
done(error);
|
|
1233
|
+
}
|
|
1234
|
+
});
|
|
1235
|
+
});
|
|
1236
|
+
|
|
1237
|
+
describe('#isAlive', () => {
|
|
1238
|
+
it('should have a isAlive function', (done) => {
|
|
1239
|
+
try {
|
|
1240
|
+
assert.equal(true, typeof a.isAlive === 'function');
|
|
1241
|
+
done();
|
|
1242
|
+
} catch (error) {
|
|
1243
|
+
log.error(`Test Failure: ${error}`);
|
|
1244
|
+
done(error);
|
|
1245
|
+
}
|
|
1246
|
+
});
|
|
1247
|
+
});
|
|
1248
|
+
|
|
1249
|
+
describe('#getConfig', () => {
|
|
1250
|
+
it('should have a getConfig function', (done) => {
|
|
1251
|
+
try {
|
|
1252
|
+
assert.equal(true, typeof a.getConfig === 'function');
|
|
1253
|
+
done();
|
|
1254
|
+
} catch (error) {
|
|
1255
|
+
log.error(`Test Failure: ${error}`);
|
|
1256
|
+
done(error);
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
});
|
|
1260
|
+
|
|
1261
|
+
describe('#iapGetDeviceCount', () => {
|
|
1262
|
+
it('should have a iapGetDeviceCount function', (done) => {
|
|
1263
|
+
try {
|
|
1264
|
+
assert.equal(true, typeof a.iapGetDeviceCount === 'function');
|
|
1265
|
+
done();
|
|
1266
|
+
} catch (error) {
|
|
1267
|
+
log.error(`Test Failure: ${error}`);
|
|
1268
|
+
done(error);
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
});
|
|
1272
|
+
|
|
1258
1273
|
/*
|
|
1259
1274
|
-----------------------------------------------------------------------
|
|
1260
1275
|
-----------------------------------------------------------------------
|
|
@@ -1279,7 +1294,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1279
1294
|
a.postDocumentsApi12SharesFolderId(null, null, (data, error) => {
|
|
1280
1295
|
try {
|
|
1281
1296
|
const displayE = 'folderId is required';
|
|
1282
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1297
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12SharesFolderId', displayE);
|
|
1283
1298
|
done();
|
|
1284
1299
|
} catch (err) {
|
|
1285
1300
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1296,7 +1311,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1296
1311
|
a.postDocumentsApi12SharesFolderId('fakeparam', null, (data, error) => {
|
|
1297
1312
|
try {
|
|
1298
1313
|
const displayE = 'payload is required';
|
|
1299
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1314
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12SharesFolderId', displayE);
|
|
1300
1315
|
done();
|
|
1301
1316
|
} catch (err) {
|
|
1302
1317
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1325,7 +1340,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1325
1340
|
a.deleteDocumentsApi12SharesFolderId(null, null, (data, error) => {
|
|
1326
1341
|
try {
|
|
1327
1342
|
const displayE = 'folderId is required';
|
|
1328
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1343
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12SharesFolderId', displayE);
|
|
1329
1344
|
done();
|
|
1330
1345
|
} catch (err) {
|
|
1331
1346
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1342,7 +1357,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1342
1357
|
a.deleteDocumentsApi12SharesFolderId('fakeparam', null, (data, error) => {
|
|
1343
1358
|
try {
|
|
1344
1359
|
const displayE = 'payload is required';
|
|
1345
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1360
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12SharesFolderId', displayE);
|
|
1346
1361
|
done();
|
|
1347
1362
|
} catch (err) {
|
|
1348
1363
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1371,7 +1386,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1371
1386
|
a.getDocumentsApi12SharesFolderIdItems(null, null, (data, error) => {
|
|
1372
1387
|
try {
|
|
1373
1388
|
const displayE = 'folderId is required';
|
|
1374
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1389
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12SharesFolderIdItems', displayE);
|
|
1375
1390
|
done();
|
|
1376
1391
|
} catch (err) {
|
|
1377
1392
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1388,7 +1403,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1388
1403
|
a.getDocumentsApi12SharesFolderIdItems('fakeparam', null, (data, error) => {
|
|
1389
1404
|
try {
|
|
1390
1405
|
const displayE = 'payload is required';
|
|
1391
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1406
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12SharesFolderIdItems', displayE);
|
|
1392
1407
|
done();
|
|
1393
1408
|
} catch (err) {
|
|
1394
1409
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1417,7 +1432,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1417
1432
|
a.putDocumentsApi12SharesFolderIdRole(null, null, (data, error) => {
|
|
1418
1433
|
try {
|
|
1419
1434
|
const displayE = 'folderId is required';
|
|
1420
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1435
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12SharesFolderIdRole', displayE);
|
|
1421
1436
|
done();
|
|
1422
1437
|
} catch (err) {
|
|
1423
1438
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1434,7 +1449,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1434
1449
|
a.putDocumentsApi12SharesFolderIdRole('fakeparam', null, (data, error) => {
|
|
1435
1450
|
try {
|
|
1436
1451
|
const displayE = 'payload is required';
|
|
1437
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1452
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12SharesFolderIdRole', displayE);
|
|
1438
1453
|
done();
|
|
1439
1454
|
} catch (err) {
|
|
1440
1455
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1463,7 +1478,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1463
1478
|
a.deleteDocumentsApi12SharesFolderIdUser(null, null, (data, error) => {
|
|
1464
1479
|
try {
|
|
1465
1480
|
const displayE = 'folderId is required';
|
|
1466
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1481
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12SharesFolderIdUser', displayE);
|
|
1467
1482
|
done();
|
|
1468
1483
|
} catch (err) {
|
|
1469
1484
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1480,7 +1495,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1480
1495
|
a.deleteDocumentsApi12SharesFolderIdUser('fakeparam', null, (data, error) => {
|
|
1481
1496
|
try {
|
|
1482
1497
|
const displayE = 'payload is required';
|
|
1483
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1498
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12SharesFolderIdUser', displayE);
|
|
1484
1499
|
done();
|
|
1485
1500
|
} catch (err) {
|
|
1486
1501
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1509,7 +1524,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1509
1524
|
a.deleteDocumentsApi12SharesFolderIdMyuser(null, (data, error) => {
|
|
1510
1525
|
try {
|
|
1511
1526
|
const displayE = 'folderId is required';
|
|
1512
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1527
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12SharesFolderIdMyuser', displayE);
|
|
1513
1528
|
done();
|
|
1514
1529
|
} catch (err) {
|
|
1515
1530
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1538,7 +1553,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1538
1553
|
a.postDocumentsApi12MetadataCollectionName(null, null, (data, error) => {
|
|
1539
1554
|
try {
|
|
1540
1555
|
const displayE = 'collectionName is required';
|
|
1541
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1556
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12MetadataCollectionName', displayE);
|
|
1542
1557
|
done();
|
|
1543
1558
|
} catch (err) {
|
|
1544
1559
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1555,7 +1570,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1555
1570
|
a.postDocumentsApi12MetadataCollectionName('fakeparam', null, (data, error) => {
|
|
1556
1571
|
try {
|
|
1557
1572
|
const displayE = 'payload is required';
|
|
1558
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1573
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12MetadataCollectionName', displayE);
|
|
1559
1574
|
done();
|
|
1560
1575
|
} catch (err) {
|
|
1561
1576
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1584,7 +1599,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1584
1599
|
a.putDocumentsApi12MetadataCollectionName(null, null, (data, error) => {
|
|
1585
1600
|
try {
|
|
1586
1601
|
const displayE = 'collectionName is required';
|
|
1587
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1602
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12MetadataCollectionName', displayE);
|
|
1588
1603
|
done();
|
|
1589
1604
|
} catch (err) {
|
|
1590
1605
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1601,7 +1616,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1601
1616
|
a.putDocumentsApi12MetadataCollectionName('fakeparam', null, (data, error) => {
|
|
1602
1617
|
try {
|
|
1603
1618
|
const displayE = 'payload is required';
|
|
1604
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1619
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12MetadataCollectionName', displayE);
|
|
1605
1620
|
done();
|
|
1606
1621
|
} catch (err) {
|
|
1607
1622
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1630,7 +1645,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1630
1645
|
a.getDocumentsApi12MetadataCollectionName(null, (data, error) => {
|
|
1631
1646
|
try {
|
|
1632
1647
|
const displayE = 'collectionName is required';
|
|
1633
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1648
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12MetadataCollectionName', displayE);
|
|
1634
1649
|
done();
|
|
1635
1650
|
} catch (err) {
|
|
1636
1651
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1659,7 +1674,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1659
1674
|
a.deleteDocumentsApi12MetadataCollectionName(null, (data, error) => {
|
|
1660
1675
|
try {
|
|
1661
1676
|
const displayE = 'collectionName is required';
|
|
1662
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1677
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12MetadataCollectionName', displayE);
|
|
1663
1678
|
done();
|
|
1664
1679
|
} catch (err) {
|
|
1665
1680
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1688,7 +1703,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1688
1703
|
a.putDocumentsApi12MetadataCollectionNameField(null, null, (data, error) => {
|
|
1689
1704
|
try {
|
|
1690
1705
|
const displayE = 'collectionName is required';
|
|
1691
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1706
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12MetadataCollectionNameField', displayE);
|
|
1692
1707
|
done();
|
|
1693
1708
|
} catch (err) {
|
|
1694
1709
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1705,7 +1720,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1705
1720
|
a.putDocumentsApi12MetadataCollectionNameField('fakeparam', null, (data, error) => {
|
|
1706
1721
|
try {
|
|
1707
1722
|
const displayE = 'payload is required';
|
|
1708
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1723
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12MetadataCollectionNameField', displayE);
|
|
1709
1724
|
done();
|
|
1710
1725
|
} catch (err) {
|
|
1711
1726
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1746,7 +1761,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1746
1761
|
a.postDocumentsApi12MetadataSearchFields(null, (data, error) => {
|
|
1747
1762
|
try {
|
|
1748
1763
|
const displayE = 'payload is required';
|
|
1749
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1764
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12MetadataSearchFields', displayE);
|
|
1750
1765
|
done();
|
|
1751
1766
|
} catch (err) {
|
|
1752
1767
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1787,7 +1802,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1787
1802
|
a.postDocumentsApi12FoldersFolderIdMetadataCollectionName(null, null, (data, error) => {
|
|
1788
1803
|
try {
|
|
1789
1804
|
const displayE = 'folderId is required';
|
|
1790
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1805
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdMetadataCollectionName', displayE);
|
|
1791
1806
|
done();
|
|
1792
1807
|
} catch (err) {
|
|
1793
1808
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1804,7 +1819,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1804
1819
|
a.postDocumentsApi12FoldersFolderIdMetadataCollectionName('fakeparam', null, (data, error) => {
|
|
1805
1820
|
try {
|
|
1806
1821
|
const displayE = 'collectionName is required';
|
|
1807
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1822
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdMetadataCollectionName', displayE);
|
|
1808
1823
|
done();
|
|
1809
1824
|
} catch (err) {
|
|
1810
1825
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1833,7 +1848,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1833
1848
|
a.postDocumentsApi12FoldersFolderIdMetadata(null, null, (data, error) => {
|
|
1834
1849
|
try {
|
|
1835
1850
|
const displayE = 'folderId is required';
|
|
1836
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1851
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdMetadata', displayE);
|
|
1837
1852
|
done();
|
|
1838
1853
|
} catch (err) {
|
|
1839
1854
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1850,7 +1865,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1850
1865
|
a.postDocumentsApi12FoldersFolderIdMetadata('fakeparam', null, (data, error) => {
|
|
1851
1866
|
try {
|
|
1852
1867
|
const displayE = 'payload is required';
|
|
1853
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1868
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdMetadata', displayE);
|
|
1854
1869
|
done();
|
|
1855
1870
|
} catch (err) {
|
|
1856
1871
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1879,7 +1894,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1879
1894
|
a.getDocumentsApi12FoldersFolderIdMetadata(null, null, (data, error) => {
|
|
1880
1895
|
try {
|
|
1881
1896
|
const displayE = 'folderId is required';
|
|
1882
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1897
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdMetadata', displayE);
|
|
1883
1898
|
done();
|
|
1884
1899
|
} catch (err) {
|
|
1885
1900
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1908,7 +1923,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1908
1923
|
a.deleteDocumentsApi12FoldersFolderIdMetadata(null, null, (data, error) => {
|
|
1909
1924
|
try {
|
|
1910
1925
|
const displayE = 'folderId is required';
|
|
1911
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1926
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FoldersFolderIdMetadata', displayE);
|
|
1912
1927
|
done();
|
|
1913
1928
|
} catch (err) {
|
|
1914
1929
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1925,7 +1940,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1925
1940
|
a.deleteDocumentsApi12FoldersFolderIdMetadata('fakeparam', null, (data, error) => {
|
|
1926
1941
|
try {
|
|
1927
1942
|
const displayE = 'payload is required';
|
|
1928
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1943
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FoldersFolderIdMetadata', displayE);
|
|
1929
1944
|
done();
|
|
1930
1945
|
} catch (err) {
|
|
1931
1946
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1954,7 +1969,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1954
1969
|
a.getDocumentsApi12FoldersFolderIdMetadataFields(null, null, (data, error) => {
|
|
1955
1970
|
try {
|
|
1956
1971
|
const displayE = 'folderId is required';
|
|
1957
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1972
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdMetadataFields', displayE);
|
|
1958
1973
|
done();
|
|
1959
1974
|
} catch (err) {
|
|
1960
1975
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1983,7 +1998,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
1983
1998
|
a.postDocumentsApi12FoldersFolderIdBulkCreate(null, null, null, (data, error) => {
|
|
1984
1999
|
try {
|
|
1985
2000
|
const displayE = 'folderId is required';
|
|
1986
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2001
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdBulkCreate', displayE);
|
|
1987
2002
|
done();
|
|
1988
2003
|
} catch (err) {
|
|
1989
2004
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2000,7 +2015,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2000
2015
|
a.postDocumentsApi12FoldersFolderIdBulkCreate('fakeparam', null, null, (data, error) => {
|
|
2001
2016
|
try {
|
|
2002
2017
|
const displayE = 'payload is required';
|
|
2003
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2018
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdBulkCreate', displayE);
|
|
2004
2019
|
done();
|
|
2005
2020
|
} catch (err) {
|
|
2006
2021
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2029,7 +2044,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2029
2044
|
a.postDocumentsApi12FoldersFolderIdDownload(null, null, (data, error) => {
|
|
2030
2045
|
try {
|
|
2031
2046
|
const displayE = 'folderId is required';
|
|
2032
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2047
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdDownload', displayE);
|
|
2033
2048
|
done();
|
|
2034
2049
|
} catch (err) {
|
|
2035
2050
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2046,7 +2061,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2046
2061
|
a.postDocumentsApi12FoldersFolderIdDownload('fakeparam', null, (data, error) => {
|
|
2047
2062
|
try {
|
|
2048
2063
|
const displayE = 'payload is required';
|
|
2049
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2064
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdDownload', displayE);
|
|
2050
2065
|
done();
|
|
2051
2066
|
} catch (err) {
|
|
2052
2067
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2075,7 +2090,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2075
2090
|
a.getDocumentsApi12FoldersFolderIdDownloadJobId(null, null, (data, error) => {
|
|
2076
2091
|
try {
|
|
2077
2092
|
const displayE = 'folderId is required';
|
|
2078
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2093
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdDownloadJobId', displayE);
|
|
2079
2094
|
done();
|
|
2080
2095
|
} catch (err) {
|
|
2081
2096
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2092,7 +2107,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2092
2107
|
a.getDocumentsApi12FoldersFolderIdDownloadJobId('fakeparam', null, (data, error) => {
|
|
2093
2108
|
try {
|
|
2094
2109
|
const displayE = 'jobId is required';
|
|
2095
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2110
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdDownloadJobId', displayE);
|
|
2096
2111
|
done();
|
|
2097
2112
|
} catch (err) {
|
|
2098
2113
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2121,7 +2136,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2121
2136
|
a.deleteDocumentsApi12FoldersFolderIdDownloadJobId(null, null, (data, error) => {
|
|
2122
2137
|
try {
|
|
2123
2138
|
const displayE = 'folderId is required';
|
|
2124
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2139
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FoldersFolderIdDownloadJobId', displayE);
|
|
2125
2140
|
done();
|
|
2126
2141
|
} catch (err) {
|
|
2127
2142
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2138,7 +2153,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2138
2153
|
a.deleteDocumentsApi12FoldersFolderIdDownloadJobId('fakeparam', null, (data, error) => {
|
|
2139
2154
|
try {
|
|
2140
2155
|
const displayE = 'jobId is required';
|
|
2141
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2156
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FoldersFolderIdDownloadJobId', displayE);
|
|
2142
2157
|
done();
|
|
2143
2158
|
} catch (err) {
|
|
2144
2159
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2167,7 +2182,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2167
2182
|
a.getDocumentsApi12FoldersFolderIdDownloadJobIdPackage(null, null, (data, error) => {
|
|
2168
2183
|
try {
|
|
2169
2184
|
const displayE = 'folderId is required';
|
|
2170
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2185
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdDownloadJobIdPackage', displayE);
|
|
2171
2186
|
done();
|
|
2172
2187
|
} catch (err) {
|
|
2173
2188
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2184,7 +2199,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2184
2199
|
a.getDocumentsApi12FoldersFolderIdDownloadJobIdPackage('fakeparam', null, (data, error) => {
|
|
2185
2200
|
try {
|
|
2186
2201
|
const displayE = 'jobId is required';
|
|
2187
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2202
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdDownloadJobIdPackage', displayE);
|
|
2188
2203
|
done();
|
|
2189
2204
|
} catch (err) {
|
|
2190
2205
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2213,7 +2228,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2213
2228
|
a.getDocumentsApi12FoldersFolderId(null, (data, error) => {
|
|
2214
2229
|
try {
|
|
2215
2230
|
const displayE = 'folderId is required';
|
|
2216
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2231
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderId', displayE);
|
|
2217
2232
|
done();
|
|
2218
2233
|
} catch (err) {
|
|
2219
2234
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2242,7 +2257,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2242
2257
|
a.postDocumentsApi12FoldersFolderId(null, null, (data, error) => {
|
|
2243
2258
|
try {
|
|
2244
2259
|
const displayE = 'folderId is required';
|
|
2245
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2260
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderId', displayE);
|
|
2246
2261
|
done();
|
|
2247
2262
|
} catch (err) {
|
|
2248
2263
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2259,7 +2274,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2259
2274
|
a.postDocumentsApi12FoldersFolderId('fakeparam', null, (data, error) => {
|
|
2260
2275
|
try {
|
|
2261
2276
|
const displayE = 'payload is required';
|
|
2262
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2277
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderId', displayE);
|
|
2263
2278
|
done();
|
|
2264
2279
|
} catch (err) {
|
|
2265
2280
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2288,7 +2303,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2288
2303
|
a.putDocumentsApi12FoldersFolderId(null, null, (data, error) => {
|
|
2289
2304
|
try {
|
|
2290
2305
|
const displayE = 'folderId is required';
|
|
2291
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2306
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12FoldersFolderId', displayE);
|
|
2292
2307
|
done();
|
|
2293
2308
|
} catch (err) {
|
|
2294
2309
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2317,7 +2332,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2317
2332
|
a.deleteDocumentsApi12FoldersFolderId(null, (data, error) => {
|
|
2318
2333
|
try {
|
|
2319
2334
|
const displayE = 'folderId is required';
|
|
2320
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2335
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FoldersFolderId', displayE);
|
|
2321
2336
|
done();
|
|
2322
2337
|
} catch (err) {
|
|
2323
2338
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2346,7 +2361,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2346
2361
|
a.postDocumentsApi12FoldersFolderIdCopy(null, null, (data, error) => {
|
|
2347
2362
|
try {
|
|
2348
2363
|
const displayE = 'folderId is required';
|
|
2349
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2364
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdCopy', displayE);
|
|
2350
2365
|
done();
|
|
2351
2366
|
} catch (err) {
|
|
2352
2367
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2363,7 +2378,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2363
2378
|
a.postDocumentsApi12FoldersFolderIdCopy('fakeparam', null, (data, error) => {
|
|
2364
2379
|
try {
|
|
2365
2380
|
const displayE = 'payload is required';
|
|
2366
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2381
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdCopy', displayE);
|
|
2367
2382
|
done();
|
|
2368
2383
|
} catch (err) {
|
|
2369
2384
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2392,7 +2407,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2392
2407
|
a.postDocumentsApi12FoldersFolderIdMove(null, null, (data, error) => {
|
|
2393
2408
|
try {
|
|
2394
2409
|
const displayE = 'folderId is required';
|
|
2395
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2410
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdMove', displayE);
|
|
2396
2411
|
done();
|
|
2397
2412
|
} catch (err) {
|
|
2398
2413
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2409,7 +2424,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2409
2424
|
a.postDocumentsApi12FoldersFolderIdMove('fakeparam', null, (data, error) => {
|
|
2410
2425
|
try {
|
|
2411
2426
|
const displayE = 'payload is required';
|
|
2412
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2427
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdMove', displayE);
|
|
2413
2428
|
done();
|
|
2414
2429
|
} catch (err) {
|
|
2415
2430
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2450,7 +2465,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2450
2465
|
a.getDocumentsApi12FoldersFolderIdItems(null, null, null, null, null, (data, error) => {
|
|
2451
2466
|
try {
|
|
2452
2467
|
const displayE = 'folderId is required';
|
|
2453
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2468
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdItems', displayE);
|
|
2454
2469
|
done();
|
|
2455
2470
|
} catch (err) {
|
|
2456
2471
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2479,7 +2494,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2479
2494
|
a.getDocumentsApi12FoldersSearchItems(null, null, null, null, null, null, (data, error) => {
|
|
2480
2495
|
try {
|
|
2481
2496
|
const displayE = 'fulltext is required';
|
|
2482
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2497
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersSearchItems', displayE);
|
|
2483
2498
|
done();
|
|
2484
2499
|
} catch (err) {
|
|
2485
2500
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2496,7 +2511,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2496
2511
|
a.getDocumentsApi12FoldersSearchItems('fakeparam', null, null, null, null, null, (data, error) => {
|
|
2497
2512
|
try {
|
|
2498
2513
|
const displayE = 'querytext is required';
|
|
2499
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2514
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersSearchItems', displayE);
|
|
2500
2515
|
done();
|
|
2501
2516
|
} catch (err) {
|
|
2502
2517
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2525,7 +2540,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2525
2540
|
a.getDocumentsApi12FoldersFolderIdSearchItems(null, null, null, null, null, null, null, (data, error) => {
|
|
2526
2541
|
try {
|
|
2527
2542
|
const displayE = 'folderId is required';
|
|
2528
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2543
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdSearchItems', displayE);
|
|
2529
2544
|
done();
|
|
2530
2545
|
} catch (err) {
|
|
2531
2546
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2542,7 +2557,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2542
2557
|
a.getDocumentsApi12FoldersFolderIdSearchItems('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
2543
2558
|
try {
|
|
2544
2559
|
const displayE = 'fulltext is required';
|
|
2545
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2560
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdSearchItems', displayE);
|
|
2546
2561
|
done();
|
|
2547
2562
|
} catch (err) {
|
|
2548
2563
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2559,7 +2574,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2559
2574
|
a.getDocumentsApi12FoldersFolderIdSearchItems('fakeparam', 'fakeparam', null, null, null, null, null, (data, error) => {
|
|
2560
2575
|
try {
|
|
2561
2576
|
const displayE = 'querytext is required';
|
|
2562
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2577
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdSearchItems', displayE);
|
|
2563
2578
|
done();
|
|
2564
2579
|
} catch (err) {
|
|
2565
2580
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2588,7 +2603,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2588
2603
|
a.getDocumentsApi12FoldersLists(null, null, (data, error) => {
|
|
2589
2604
|
try {
|
|
2590
2605
|
const displayE = 'idList is required';
|
|
2591
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2606
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersLists', displayE);
|
|
2592
2607
|
done();
|
|
2593
2608
|
} catch (err) {
|
|
2594
2609
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2617,7 +2632,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2617
2632
|
a.getDocumentsApi12FoldersFolderIdTags(null, null, (data, error) => {
|
|
2618
2633
|
try {
|
|
2619
2634
|
const displayE = 'folderId is required';
|
|
2620
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2635
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FoldersFolderIdTags', displayE);
|
|
2621
2636
|
done();
|
|
2622
2637
|
} catch (err) {
|
|
2623
2638
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2646,7 +2661,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2646
2661
|
a.postDocumentsApi12FoldersFolderIdTags(null, null, (data, error) => {
|
|
2647
2662
|
try {
|
|
2648
2663
|
const displayE = 'folderId is required';
|
|
2649
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2664
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdTags', displayE);
|
|
2650
2665
|
done();
|
|
2651
2666
|
} catch (err) {
|
|
2652
2667
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2663,7 +2678,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2663
2678
|
a.postDocumentsApi12FoldersFolderIdTags('fakeparam', null, (data, error) => {
|
|
2664
2679
|
try {
|
|
2665
2680
|
const displayE = 'payload is required';
|
|
2666
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2681
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdTags', displayE);
|
|
2667
2682
|
done();
|
|
2668
2683
|
} catch (err) {
|
|
2669
2684
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2692,7 +2707,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2692
2707
|
a.putDocumentsApi12FoldersFolderIdTags(null, null, (data, error) => {
|
|
2693
2708
|
try {
|
|
2694
2709
|
const displayE = 'folderId is required';
|
|
2695
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2710
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12FoldersFolderIdTags', displayE);
|
|
2696
2711
|
done();
|
|
2697
2712
|
} catch (err) {
|
|
2698
2713
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2709,7 +2724,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2709
2724
|
a.putDocumentsApi12FoldersFolderIdTags('fakeparam', null, (data, error) => {
|
|
2710
2725
|
try {
|
|
2711
2726
|
const displayE = 'payload is required';
|
|
2712
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2727
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12FoldersFolderIdTags', displayE);
|
|
2713
2728
|
done();
|
|
2714
2729
|
} catch (err) {
|
|
2715
2730
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2738,7 +2753,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2738
2753
|
a.deleteDocumentsApi12FoldersFolderIdTags(null, (data, error) => {
|
|
2739
2754
|
try {
|
|
2740
2755
|
const displayE = 'folderId is required';
|
|
2741
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2756
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FoldersFolderIdTags', displayE);
|
|
2742
2757
|
done();
|
|
2743
2758
|
} catch (err) {
|
|
2744
2759
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2767,7 +2782,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2767
2782
|
a.postDocumentsApi12FoldersFolderIdConversation(null, null, (data, error) => {
|
|
2768
2783
|
try {
|
|
2769
2784
|
const displayE = 'folderId is required';
|
|
2770
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2785
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdConversation', displayE);
|
|
2771
2786
|
done();
|
|
2772
2787
|
} catch (err) {
|
|
2773
2788
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2784,7 +2799,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2784
2799
|
a.postDocumentsApi12FoldersFolderIdConversation('fakeparam', null, (data, error) => {
|
|
2785
2800
|
try {
|
|
2786
2801
|
const displayE = 'payload is required';
|
|
2787
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2802
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FoldersFolderIdConversation', displayE);
|
|
2788
2803
|
done();
|
|
2789
2804
|
} catch (err) {
|
|
2790
2805
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2813,7 +2828,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2813
2828
|
a.postDocumentsApi12FilesData(null, null, null, (data, error) => {
|
|
2814
2829
|
try {
|
|
2815
2830
|
const displayE = 'jsonInputParameters is required';
|
|
2816
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2831
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesData', displayE);
|
|
2817
2832
|
done();
|
|
2818
2833
|
} catch (err) {
|
|
2819
2834
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2830,7 +2845,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2830
2845
|
a.postDocumentsApi12FilesData('fakeparam', null, null, (data, error) => {
|
|
2831
2846
|
try {
|
|
2832
2847
|
const displayE = 'primaryFile is required';
|
|
2833
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2848
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesData', displayE);
|
|
2834
2849
|
done();
|
|
2835
2850
|
} catch (err) {
|
|
2836
2851
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2859,7 +2874,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2859
2874
|
a.postDocumentsApi12FilesFileIdData(null, null, null, (data, error) => {
|
|
2860
2875
|
try {
|
|
2861
2876
|
const displayE = 'fileId is required';
|
|
2862
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2877
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdData', displayE);
|
|
2863
2878
|
done();
|
|
2864
2879
|
} catch (err) {
|
|
2865
2880
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2876,7 +2891,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2876
2891
|
a.postDocumentsApi12FilesFileIdData('fakeparam', null, null, (data, error) => {
|
|
2877
2892
|
try {
|
|
2878
2893
|
const displayE = 'primaryFile is required';
|
|
2879
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2894
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdData', displayE);
|
|
2880
2895
|
done();
|
|
2881
2896
|
} catch (err) {
|
|
2882
2897
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2905,7 +2920,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2905
2920
|
a.getDocumentsApi12FilesFileIdData(null, null, (data, error) => {
|
|
2906
2921
|
try {
|
|
2907
2922
|
const displayE = 'fileId is required';
|
|
2908
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2923
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdData', displayE);
|
|
2909
2924
|
done();
|
|
2910
2925
|
} catch (err) {
|
|
2911
2926
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2934,7 +2949,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2934
2949
|
a.postDocumentsApi12FilesFileIdMetadataCollectionName(null, null, (data, error) => {
|
|
2935
2950
|
try {
|
|
2936
2951
|
const displayE = 'fileId is required';
|
|
2937
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2952
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdMetadataCollectionName', displayE);
|
|
2938
2953
|
done();
|
|
2939
2954
|
} catch (err) {
|
|
2940
2955
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2951,7 +2966,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2951
2966
|
a.postDocumentsApi12FilesFileIdMetadataCollectionName('fakeparam', null, (data, error) => {
|
|
2952
2967
|
try {
|
|
2953
2968
|
const displayE = 'collectionName is required';
|
|
2954
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2969
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdMetadataCollectionName', displayE);
|
|
2955
2970
|
done();
|
|
2956
2971
|
} catch (err) {
|
|
2957
2972
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2980,7 +2995,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2980
2995
|
a.postDocumentsApi12FilesFileIdMetadata(null, null, (data, error) => {
|
|
2981
2996
|
try {
|
|
2982
2997
|
const displayE = 'fileId is required';
|
|
2983
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2998
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdMetadata', displayE);
|
|
2984
2999
|
done();
|
|
2985
3000
|
} catch (err) {
|
|
2986
3001
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2997,7 +3012,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
2997
3012
|
a.postDocumentsApi12FilesFileIdMetadata('fakeparam', null, (data, error) => {
|
|
2998
3013
|
try {
|
|
2999
3014
|
const displayE = 'payload is required';
|
|
3000
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3015
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdMetadata', displayE);
|
|
3001
3016
|
done();
|
|
3002
3017
|
} catch (err) {
|
|
3003
3018
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3026,7 +3041,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3026
3041
|
a.getDocumentsApi12FilesFileIdMetadata(null, null, (data, error) => {
|
|
3027
3042
|
try {
|
|
3028
3043
|
const displayE = 'fileId is required';
|
|
3029
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3044
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdMetadata', displayE);
|
|
3030
3045
|
done();
|
|
3031
3046
|
} catch (err) {
|
|
3032
3047
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3055,7 +3070,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3055
3070
|
a.deleteDocumentsApi12FilesFileIdMetadata(null, null, (data, error) => {
|
|
3056
3071
|
try {
|
|
3057
3072
|
const displayE = 'fileId is required';
|
|
3058
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3073
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FilesFileIdMetadata', displayE);
|
|
3059
3074
|
done();
|
|
3060
3075
|
} catch (err) {
|
|
3061
3076
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3072,7 +3087,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3072
3087
|
a.deleteDocumentsApi12FilesFileIdMetadata('fakeparam', null, (data, error) => {
|
|
3073
3088
|
try {
|
|
3074
3089
|
const displayE = 'payload is required';
|
|
3075
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3090
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FilesFileIdMetadata', displayE);
|
|
3076
3091
|
done();
|
|
3077
3092
|
} catch (err) {
|
|
3078
3093
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3101,7 +3116,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3101
3116
|
a.getDocumentsApi12FilesFileIdMetadataFields(null, null, (data, error) => {
|
|
3102
3117
|
try {
|
|
3103
3118
|
const displayE = 'fileId is required';
|
|
3104
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3119
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdMetadataFields', displayE);
|
|
3105
3120
|
done();
|
|
3106
3121
|
} catch (err) {
|
|
3107
3122
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3130,7 +3145,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3130
3145
|
a.getDocumentsApi12FilesLists(null, (data, error) => {
|
|
3131
3146
|
try {
|
|
3132
3147
|
const displayE = 'idList is required';
|
|
3133
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3148
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesLists', displayE);
|
|
3134
3149
|
done();
|
|
3135
3150
|
} catch (err) {
|
|
3136
3151
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3159,7 +3174,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3159
3174
|
a.getDocumentsApi12FilesFileId(null, null, null, null, (data, error) => {
|
|
3160
3175
|
try {
|
|
3161
3176
|
const displayE = 'fileId is required';
|
|
3162
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3177
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileId', displayE);
|
|
3163
3178
|
done();
|
|
3164
3179
|
} catch (err) {
|
|
3165
3180
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3188,7 +3203,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3188
3203
|
a.putDocumentsApi12FilesFileId(null, null, (data, error) => {
|
|
3189
3204
|
try {
|
|
3190
3205
|
const displayE = 'fileId is required';
|
|
3191
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3206
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12FilesFileId', displayE);
|
|
3192
3207
|
done();
|
|
3193
3208
|
} catch (err) {
|
|
3194
3209
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3217,7 +3232,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3217
3232
|
a.deleteDocumentsApi12FilesFileId(null, null, (data, error) => {
|
|
3218
3233
|
try {
|
|
3219
3234
|
const displayE = 'fileId is required';
|
|
3220
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3235
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FilesFileId', displayE);
|
|
3221
3236
|
done();
|
|
3222
3237
|
} catch (err) {
|
|
3223
3238
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3246,7 +3261,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3246
3261
|
a.postDocumentsApi12FilesFileIdCopy(null, null, (data, error) => {
|
|
3247
3262
|
try {
|
|
3248
3263
|
const displayE = 'fileId is required';
|
|
3249
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3264
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdCopy', displayE);
|
|
3250
3265
|
done();
|
|
3251
3266
|
} catch (err) {
|
|
3252
3267
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3263,7 +3278,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3263
3278
|
a.postDocumentsApi12FilesFileIdCopy('fakeparam', null, (data, error) => {
|
|
3264
3279
|
try {
|
|
3265
3280
|
const displayE = 'payload is required';
|
|
3266
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3281
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdCopy', displayE);
|
|
3267
3282
|
done();
|
|
3268
3283
|
} catch (err) {
|
|
3269
3284
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3292,7 +3307,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3292
3307
|
a.postDocumentsApi12FilesFileIdMove(null, null, (data, error) => {
|
|
3293
3308
|
try {
|
|
3294
3309
|
const displayE = 'fileId is required';
|
|
3295
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3310
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdMove', displayE);
|
|
3296
3311
|
done();
|
|
3297
3312
|
} catch (err) {
|
|
3298
3313
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3309,7 +3324,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3309
3324
|
a.postDocumentsApi12FilesFileIdMove('fakeparam', null, (data, error) => {
|
|
3310
3325
|
try {
|
|
3311
3326
|
const displayE = 'payload is required';
|
|
3312
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3327
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdMove', displayE);
|
|
3313
3328
|
done();
|
|
3314
3329
|
} catch (err) {
|
|
3315
3330
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3338,7 +3353,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3338
3353
|
a.getDocumentsApi12FilesFileIdVersions(null, (data, error) => {
|
|
3339
3354
|
try {
|
|
3340
3355
|
const displayE = 'fileId is required';
|
|
3341
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3356
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdVersions', displayE);
|
|
3342
3357
|
done();
|
|
3343
3358
|
} catch (err) {
|
|
3344
3359
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3367,7 +3382,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3367
3382
|
a.postDocumentsApi12FilesFileIdReserve(null, (data, error) => {
|
|
3368
3383
|
try {
|
|
3369
3384
|
const displayE = 'fileId is required';
|
|
3370
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3385
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdReserve', displayE);
|
|
3371
3386
|
done();
|
|
3372
3387
|
} catch (err) {
|
|
3373
3388
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3396,7 +3411,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3396
3411
|
a.postDocumentsApi12FilesFileIdUnreserve(null, null, (data, error) => {
|
|
3397
3412
|
try {
|
|
3398
3413
|
const displayE = 'fileId is required';
|
|
3399
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3414
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdUnreserve', displayE);
|
|
3400
3415
|
done();
|
|
3401
3416
|
} catch (err) {
|
|
3402
3417
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3413,7 +3428,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3413
3428
|
a.postDocumentsApi12FilesFileIdUnreserve('fakeparam', null, (data, error) => {
|
|
3414
3429
|
try {
|
|
3415
3430
|
const displayE = 'payload is required';
|
|
3416
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3431
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdUnreserve', displayE);
|
|
3417
3432
|
done();
|
|
3418
3433
|
} catch (err) {
|
|
3419
3434
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3442,7 +3457,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3442
3457
|
a.getDocumentsApi12FilesFileIdDataThumbnailImage(null, null, null, (data, error) => {
|
|
3443
3458
|
try {
|
|
3444
3459
|
const displayE = 'fileId is required';
|
|
3445
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3460
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataThumbnailImage', displayE);
|
|
3446
3461
|
done();
|
|
3447
3462
|
} catch (err) {
|
|
3448
3463
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3471,7 +3486,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3471
3486
|
a.getDocumentsApi12FilesFileIdDataSmallImage(null, null, null, (data, error) => {
|
|
3472
3487
|
try {
|
|
3473
3488
|
const displayE = 'fileId is required';
|
|
3474
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3489
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataSmallImage', displayE);
|
|
3475
3490
|
done();
|
|
3476
3491
|
} catch (err) {
|
|
3477
3492
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3500,7 +3515,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3500
3515
|
a.getDocumentsApi12FilesFileIdDataMediumImage(null, null, null, (data, error) => {
|
|
3501
3516
|
try {
|
|
3502
3517
|
const displayE = 'fileId is required';
|
|
3503
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3518
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataMediumImage', displayE);
|
|
3504
3519
|
done();
|
|
3505
3520
|
} catch (err) {
|
|
3506
3521
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3529,7 +3544,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3529
3544
|
a.getDocumentsApi12FilesFileIdDataLargeImage(null, null, null, (data, error) => {
|
|
3530
3545
|
try {
|
|
3531
3546
|
const displayE = 'fileId is required';
|
|
3532
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3547
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataLargeImage', displayE);
|
|
3533
3548
|
done();
|
|
3534
3549
|
} catch (err) {
|
|
3535
3550
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3558,7 +3573,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3558
3573
|
a.getDocumentsApi12FilesFileIdDataThumbnail(null, null, (data, error) => {
|
|
3559
3574
|
try {
|
|
3560
3575
|
const displayE = 'fileId is required';
|
|
3561
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3576
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataThumbnail', displayE);
|
|
3562
3577
|
done();
|
|
3563
3578
|
} catch (err) {
|
|
3564
3579
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3587,7 +3602,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3587
3602
|
a.getDocumentsApi12FilesFileIdDataRendition(null, null, null, null, (data, error) => {
|
|
3588
3603
|
try {
|
|
3589
3604
|
const displayE = 'fileId is required';
|
|
3590
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3605
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3591
3606
|
done();
|
|
3592
3607
|
} catch (err) {
|
|
3593
3608
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3604,7 +3619,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3604
3619
|
a.getDocumentsApi12FilesFileIdDataRendition('fakeparam', null, null, null, (data, error) => {
|
|
3605
3620
|
try {
|
|
3606
3621
|
const displayE = 'rendition is required';
|
|
3607
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3622
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3608
3623
|
done();
|
|
3609
3624
|
} catch (err) {
|
|
3610
3625
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3633,7 +3648,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3633
3648
|
a.postDocumentsApi12FilesFileIdDataRendition(null, null, null, (data, error) => {
|
|
3634
3649
|
try {
|
|
3635
3650
|
const displayE = 'fileId is required';
|
|
3636
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3651
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3637
3652
|
done();
|
|
3638
3653
|
} catch (err) {
|
|
3639
3654
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3650,7 +3665,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3650
3665
|
a.postDocumentsApi12FilesFileIdDataRendition('fakeparam', null, null, (data, error) => {
|
|
3651
3666
|
try {
|
|
3652
3667
|
const displayE = 'jsonInputParameters is required';
|
|
3653
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3668
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3654
3669
|
done();
|
|
3655
3670
|
} catch (err) {
|
|
3656
3671
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3667,7 +3682,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3667
3682
|
a.postDocumentsApi12FilesFileIdDataRendition('fakeparam', 'fakeparam', null, (data, error) => {
|
|
3668
3683
|
try {
|
|
3669
3684
|
const displayE = 'file is required';
|
|
3670
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3685
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3671
3686
|
done();
|
|
3672
3687
|
} catch (err) {
|
|
3673
3688
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3696,7 +3711,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3696
3711
|
a.deleteDocumentsApi12FilesFileIdDataRendition(null, null, null, (data, error) => {
|
|
3697
3712
|
try {
|
|
3698
3713
|
const displayE = 'fileId is required';
|
|
3699
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3714
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3700
3715
|
done();
|
|
3701
3716
|
} catch (err) {
|
|
3702
3717
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3713,7 +3728,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3713
3728
|
a.deleteDocumentsApi12FilesFileIdDataRendition('fakeparam', null, null, (data, error) => {
|
|
3714
3729
|
try {
|
|
3715
3730
|
const displayE = 'rendition is required';
|
|
3716
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3731
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FilesFileIdDataRendition', displayE);
|
|
3717
3732
|
done();
|
|
3718
3733
|
} catch (err) {
|
|
3719
3734
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3742,7 +3757,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3742
3757
|
a.getDocumentsApi12FilesFileIdDataRenditions(null, null, null, (data, error) => {
|
|
3743
3758
|
try {
|
|
3744
3759
|
const displayE = 'fileId is required';
|
|
3745
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3760
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdDataRenditions', displayE);
|
|
3746
3761
|
done();
|
|
3747
3762
|
} catch (err) {
|
|
3748
3763
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3771,7 +3786,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3771
3786
|
a.getDocumentsApi12FilesFileIdPages(null, null, (data, error) => {
|
|
3772
3787
|
try {
|
|
3773
3788
|
const displayE = 'fileId is required';
|
|
3774
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3789
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdPages', displayE);
|
|
3775
3790
|
done();
|
|
3776
3791
|
} catch (err) {
|
|
3777
3792
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3800,7 +3815,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3800
3815
|
a.postDocumentsApi12FilesFileIdPages(null, null, (data, error) => {
|
|
3801
3816
|
try {
|
|
3802
3817
|
const displayE = 'fileId is required';
|
|
3803
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3818
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdPages', displayE);
|
|
3804
3819
|
done();
|
|
3805
3820
|
} catch (err) {
|
|
3806
3821
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3829,7 +3844,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3829
3844
|
a.getDocumentsApi12FilesFileIdPreviewPath(null, null, null, (data, error) => {
|
|
3830
3845
|
try {
|
|
3831
3846
|
const displayE = 'fileId is required';
|
|
3832
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3847
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdPreviewPath', displayE);
|
|
3833
3848
|
done();
|
|
3834
3849
|
} catch (err) {
|
|
3835
3850
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3858,7 +3873,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3858
3873
|
a.getDocumentsApi12FilesFileIdTags(null, null, (data, error) => {
|
|
3859
3874
|
try {
|
|
3860
3875
|
const displayE = 'fileId is required';
|
|
3861
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3876
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdTags', displayE);
|
|
3862
3877
|
done();
|
|
3863
3878
|
} catch (err) {
|
|
3864
3879
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3887,7 +3902,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3887
3902
|
a.postDocumentsApi12FilesFileIdTags(null, null, (data, error) => {
|
|
3888
3903
|
try {
|
|
3889
3904
|
const displayE = 'fileId is required';
|
|
3890
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3905
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdTags', displayE);
|
|
3891
3906
|
done();
|
|
3892
3907
|
} catch (err) {
|
|
3893
3908
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3904,7 +3919,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3904
3919
|
a.postDocumentsApi12FilesFileIdTags('fakeparam', null, (data, error) => {
|
|
3905
3920
|
try {
|
|
3906
3921
|
const displayE = 'payload is required';
|
|
3907
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3922
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdTags', displayE);
|
|
3908
3923
|
done();
|
|
3909
3924
|
} catch (err) {
|
|
3910
3925
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3933,7 +3948,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3933
3948
|
a.putDocumentsApi12FilesFileIdTags(null, null, (data, error) => {
|
|
3934
3949
|
try {
|
|
3935
3950
|
const displayE = 'fileId is required';
|
|
3936
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3951
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12FilesFileIdTags', displayE);
|
|
3937
3952
|
done();
|
|
3938
3953
|
} catch (err) {
|
|
3939
3954
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3950,7 +3965,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3950
3965
|
a.putDocumentsApi12FilesFileIdTags('fakeparam', null, (data, error) => {
|
|
3951
3966
|
try {
|
|
3952
3967
|
const displayE = 'payload is required';
|
|
3953
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3968
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12FilesFileIdTags', displayE);
|
|
3954
3969
|
done();
|
|
3955
3970
|
} catch (err) {
|
|
3956
3971
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3979,7 +3994,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
3979
3994
|
a.deleteDocumentsApi12FilesFileIdTags(null, (data, error) => {
|
|
3980
3995
|
try {
|
|
3981
3996
|
const displayE = 'fileId is required';
|
|
3982
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3997
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12FilesFileIdTags', displayE);
|
|
3983
3998
|
done();
|
|
3984
3999
|
} catch (err) {
|
|
3985
4000
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4008,7 +4023,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4008
4023
|
a.postDocumentsApi12FilesFileIdConversation(null, null, (data, error) => {
|
|
4009
4024
|
try {
|
|
4010
4025
|
const displayE = 'fileId is required';
|
|
4011
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4026
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdConversation', displayE);
|
|
4012
4027
|
done();
|
|
4013
4028
|
} catch (err) {
|
|
4014
4029
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4025,7 +4040,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4025
4040
|
a.postDocumentsApi12FilesFileIdConversation('fakeparam', null, (data, error) => {
|
|
4026
4041
|
try {
|
|
4027
4042
|
const displayE = 'payload is required';
|
|
4028
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4043
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12FilesFileIdConversation', displayE);
|
|
4029
4044
|
done();
|
|
4030
4045
|
} catch (err) {
|
|
4031
4046
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4054,7 +4069,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4054
4069
|
a.getDocumentsApi12FilesFileIdAccesses(null, null, null, null, (data, error) => {
|
|
4055
4070
|
try {
|
|
4056
4071
|
const displayE = 'fileId is required';
|
|
4057
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4072
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12FilesFileIdAccesses', displayE);
|
|
4058
4073
|
done();
|
|
4059
4074
|
} catch (err) {
|
|
4060
4075
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4083,7 +4098,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4083
4098
|
a.postDocumentsApi12PubliclinksFolderFolderId(null, null, (data, error) => {
|
|
4084
4099
|
try {
|
|
4085
4100
|
const displayE = 'folderId is required';
|
|
4086
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4101
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12PubliclinksFolderFolderId', displayE);
|
|
4087
4102
|
done();
|
|
4088
4103
|
} catch (err) {
|
|
4089
4104
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4100,7 +4115,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4100
4115
|
a.postDocumentsApi12PubliclinksFolderFolderId('fakeparam', null, (data, error) => {
|
|
4101
4116
|
try {
|
|
4102
4117
|
const displayE = 'payload is required';
|
|
4103
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4118
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12PubliclinksFolderFolderId', displayE);
|
|
4104
4119
|
done();
|
|
4105
4120
|
} catch (err) {
|
|
4106
4121
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4129,7 +4144,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4129
4144
|
a.getDocumentsApi12PubliclinksFolderFolderId(null, (data, error) => {
|
|
4130
4145
|
try {
|
|
4131
4146
|
const displayE = 'folderId is required';
|
|
4132
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4147
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12PubliclinksFolderFolderId', displayE);
|
|
4133
4148
|
done();
|
|
4134
4149
|
} catch (err) {
|
|
4135
4150
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4158,7 +4173,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4158
4173
|
a.postDocumentsApi12PubliclinksFileFileId(null, null, (data, error) => {
|
|
4159
4174
|
try {
|
|
4160
4175
|
const displayE = 'fileId is required';
|
|
4161
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4176
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12PubliclinksFileFileId', displayE);
|
|
4162
4177
|
done();
|
|
4163
4178
|
} catch (err) {
|
|
4164
4179
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4175,7 +4190,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4175
4190
|
a.postDocumentsApi12PubliclinksFileFileId('fakeparam', null, (data, error) => {
|
|
4176
4191
|
try {
|
|
4177
4192
|
const displayE = 'payload is required';
|
|
4178
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4193
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12PubliclinksFileFileId', displayE);
|
|
4179
4194
|
done();
|
|
4180
4195
|
} catch (err) {
|
|
4181
4196
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4204,7 +4219,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4204
4219
|
a.getDocumentsApi12PubliclinksFileFileId(null, (data, error) => {
|
|
4205
4220
|
try {
|
|
4206
4221
|
const displayE = 'fileId is required';
|
|
4207
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4222
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12PubliclinksFileFileId', displayE);
|
|
4208
4223
|
done();
|
|
4209
4224
|
} catch (err) {
|
|
4210
4225
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4233,7 +4248,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4233
4248
|
a.getDocumentsApi12PubliclinksLinkId(null, (data, error) => {
|
|
4234
4249
|
try {
|
|
4235
4250
|
const displayE = 'linkId is required';
|
|
4236
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4251
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12PubliclinksLinkId', displayE);
|
|
4237
4252
|
done();
|
|
4238
4253
|
} catch (err) {
|
|
4239
4254
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4262,7 +4277,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4262
4277
|
a.putDocumentsApi12PubliclinksLinkId(null, null, (data, error) => {
|
|
4263
4278
|
try {
|
|
4264
4279
|
const displayE = 'linkId is required';
|
|
4265
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4280
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12PubliclinksLinkId', displayE);
|
|
4266
4281
|
done();
|
|
4267
4282
|
} catch (err) {
|
|
4268
4283
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4279,7 +4294,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4279
4294
|
a.putDocumentsApi12PubliclinksLinkId('fakeparam', null, (data, error) => {
|
|
4280
4295
|
try {
|
|
4281
4296
|
const displayE = 'payload is required';
|
|
4282
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4297
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12PubliclinksLinkId', displayE);
|
|
4283
4298
|
done();
|
|
4284
4299
|
} catch (err) {
|
|
4285
4300
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4308,7 +4323,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4308
4323
|
a.deleteDocumentsApi12PubliclinksLinkId(null, (data, error) => {
|
|
4309
4324
|
try {
|
|
4310
4325
|
const displayE = 'linkId is required';
|
|
4311
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4326
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12PubliclinksLinkId', displayE);
|
|
4312
4327
|
done();
|
|
4313
4328
|
} catch (err) {
|
|
4314
4329
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4337,7 +4352,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4337
4352
|
a.postDocumentsApi12Collections(null, (data, error) => {
|
|
4338
4353
|
try {
|
|
4339
4354
|
const displayE = 'payload is required';
|
|
4340
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4355
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12Collections', displayE);
|
|
4341
4356
|
done();
|
|
4342
4357
|
} catch (err) {
|
|
4343
4358
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4366,7 +4381,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4366
4381
|
a.deleteDocumentsApi12CollectionsCollectionId(null, (data, error) => {
|
|
4367
4382
|
try {
|
|
4368
4383
|
const displayE = 'collectionId is required';
|
|
4369
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4384
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12CollectionsCollectionId', displayE);
|
|
4370
4385
|
done();
|
|
4371
4386
|
} catch (err) {
|
|
4372
4387
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4395,7 +4410,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4395
4410
|
a.postDocumentsApi12CollectionsCollectionIdFilesFileId(null, null, (data, error) => {
|
|
4396
4411
|
try {
|
|
4397
4412
|
const displayE = 'collectionId is required';
|
|
4398
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4413
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12CollectionsCollectionIdFilesFileId', displayE);
|
|
4399
4414
|
done();
|
|
4400
4415
|
} catch (err) {
|
|
4401
4416
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4412,7 +4427,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4412
4427
|
a.postDocumentsApi12CollectionsCollectionIdFilesFileId('fakeparam', null, (data, error) => {
|
|
4413
4428
|
try {
|
|
4414
4429
|
const displayE = 'fileId is required';
|
|
4415
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4430
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12CollectionsCollectionIdFilesFileId', displayE);
|
|
4416
4431
|
done();
|
|
4417
4432
|
} catch (err) {
|
|
4418
4433
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4441,7 +4456,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4441
4456
|
a.deleteDocumentsApi12CollectionsCollectionIdFilesFileId(null, null, (data, error) => {
|
|
4442
4457
|
try {
|
|
4443
4458
|
const displayE = 'collectionId is required';
|
|
4444
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4459
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12CollectionsCollectionIdFilesFileId', displayE);
|
|
4445
4460
|
done();
|
|
4446
4461
|
} catch (err) {
|
|
4447
4462
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4458,7 +4473,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4458
4473
|
a.deleteDocumentsApi12CollectionsCollectionIdFilesFileId('fakeparam', null, (data, error) => {
|
|
4459
4474
|
try {
|
|
4460
4475
|
const displayE = 'fileId is required';
|
|
4461
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4476
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12CollectionsCollectionIdFilesFileId', displayE);
|
|
4462
4477
|
done();
|
|
4463
4478
|
} catch (err) {
|
|
4464
4479
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4487,7 +4502,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4487
4502
|
a.postDocumentsApi12CollectionsCollectionIdFiles(null, null, (data, error) => {
|
|
4488
4503
|
try {
|
|
4489
4504
|
const displayE = 'collectionId is required';
|
|
4490
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4505
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12CollectionsCollectionIdFiles', displayE);
|
|
4491
4506
|
done();
|
|
4492
4507
|
} catch (err) {
|
|
4493
4508
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4504,7 +4519,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4504
4519
|
a.postDocumentsApi12CollectionsCollectionIdFiles('fakeparam', null, (data, error) => {
|
|
4505
4520
|
try {
|
|
4506
4521
|
const displayE = 'payload is required';
|
|
4507
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4522
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12CollectionsCollectionIdFiles', displayE);
|
|
4508
4523
|
done();
|
|
4509
4524
|
} catch (err) {
|
|
4510
4525
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4533,7 +4548,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4533
4548
|
a.deleteDocumentsApi12CollectionsCollectionIdFiles(null, null, (data, error) => {
|
|
4534
4549
|
try {
|
|
4535
4550
|
const displayE = 'collectionId is required';
|
|
4536
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4551
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12CollectionsCollectionIdFiles', displayE);
|
|
4537
4552
|
done();
|
|
4538
4553
|
} catch (err) {
|
|
4539
4554
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4550,7 +4565,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4550
4565
|
a.deleteDocumentsApi12CollectionsCollectionIdFiles('fakeparam', null, (data, error) => {
|
|
4551
4566
|
try {
|
|
4552
4567
|
const displayE = 'payload is required';
|
|
4553
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4568
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-deleteDocumentsApi12CollectionsCollectionIdFiles', displayE);
|
|
4554
4569
|
done();
|
|
4555
4570
|
} catch (err) {
|
|
4556
4571
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4627,7 +4642,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4627
4642
|
a.putDocumentsApi12ConfigNotificationEmail(null, (data, error) => {
|
|
4628
4643
|
try {
|
|
4629
4644
|
const displayE = 'payload is required';
|
|
4630
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4645
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-putDocumentsApi12ConfigNotificationEmail', displayE);
|
|
4631
4646
|
done();
|
|
4632
4647
|
} catch (err) {
|
|
4633
4648
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4656,7 +4671,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4656
4671
|
a.postDocumentsApi12SitesSiteIdSite(null, null, (data, error) => {
|
|
4657
4672
|
try {
|
|
4658
4673
|
const displayE = 'siteId is required';
|
|
4659
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4674
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12SitesSiteIdSite', displayE);
|
|
4660
4675
|
done();
|
|
4661
4676
|
} catch (err) {
|
|
4662
4677
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4673,7 +4688,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4673
4688
|
a.postDocumentsApi12SitesSiteIdSite('fakeparam', null, (data, error) => {
|
|
4674
4689
|
try {
|
|
4675
4690
|
const displayE = 'payload is required';
|
|
4676
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4691
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12SitesSiteIdSite', displayE);
|
|
4677
4692
|
done();
|
|
4678
4693
|
} catch (err) {
|
|
4679
4694
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4702,7 +4717,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4702
4717
|
a.postDocumentsApi12TemplatesTemplateIdSite(null, null, (data, error) => {
|
|
4703
4718
|
try {
|
|
4704
4719
|
const displayE = 'templateId is required';
|
|
4705
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4720
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12TemplatesTemplateIdSite', displayE);
|
|
4706
4721
|
done();
|
|
4707
4722
|
} catch (err) {
|
|
4708
4723
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4719,7 +4734,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4719
4734
|
a.postDocumentsApi12TemplatesTemplateIdSite('fakeparam', null, (data, error) => {
|
|
4720
4735
|
try {
|
|
4721
4736
|
const displayE = 'payload is required';
|
|
4722
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4737
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12TemplatesTemplateIdSite', displayE);
|
|
4723
4738
|
done();
|
|
4724
4739
|
} catch (err) {
|
|
4725
4740
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4748,7 +4763,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4748
4763
|
a.postDocumentsApi12ApplinksFolderFolderId(null, null, (data, error) => {
|
|
4749
4764
|
try {
|
|
4750
4765
|
const displayE = 'folderId is required';
|
|
4751
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4766
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12ApplinksFolderFolderId', displayE);
|
|
4752
4767
|
done();
|
|
4753
4768
|
} catch (err) {
|
|
4754
4769
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4765,7 +4780,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4765
4780
|
a.postDocumentsApi12ApplinksFolderFolderId('fakeparam', null, (data, error) => {
|
|
4766
4781
|
try {
|
|
4767
4782
|
const displayE = 'payload is required';
|
|
4768
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4783
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12ApplinksFolderFolderId', displayE);
|
|
4769
4784
|
done();
|
|
4770
4785
|
} catch (err) {
|
|
4771
4786
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4794,7 +4809,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4794
4809
|
a.postDocumentsApi12ApplinksFileFileId(null, null, (data, error) => {
|
|
4795
4810
|
try {
|
|
4796
4811
|
const displayE = 'fileId is required';
|
|
4797
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4812
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12ApplinksFileFileId', displayE);
|
|
4798
4813
|
done();
|
|
4799
4814
|
} catch (err) {
|
|
4800
4815
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4811,7 +4826,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4811
4826
|
a.postDocumentsApi12ApplinksFileFileId('fakeparam', null, (data, error) => {
|
|
4812
4827
|
try {
|
|
4813
4828
|
const displayE = 'payload is required';
|
|
4814
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4829
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12ApplinksFileFileId', displayE);
|
|
4815
4830
|
done();
|
|
4816
4831
|
} catch (err) {
|
|
4817
4832
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4864,7 +4879,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4864
4879
|
a.getDocumentsApiVersion(null, (data, error) => {
|
|
4865
4880
|
try {
|
|
4866
4881
|
const displayE = 'version is required';
|
|
4867
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4882
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersion', displayE);
|
|
4868
4883
|
done();
|
|
4869
4884
|
} catch (err) {
|
|
4870
4885
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4893,7 +4908,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4893
4908
|
a.getDocumentsApiVersionMetadataCatalog(null, (data, error) => {
|
|
4894
4909
|
try {
|
|
4895
4910
|
const displayE = 'version is required';
|
|
4896
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4911
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalog', displayE);
|
|
4897
4912
|
done();
|
|
4898
4913
|
} catch (err) {
|
|
4899
4914
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4922,7 +4937,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4922
4937
|
a.getDocumentsApiVersionMetadataCatalogFolders(null, (data, error) => {
|
|
4923
4938
|
try {
|
|
4924
4939
|
const displayE = 'version is required';
|
|
4925
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4940
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogFolders', displayE);
|
|
4926
4941
|
done();
|
|
4927
4942
|
} catch (err) {
|
|
4928
4943
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4951,7 +4966,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4951
4966
|
a.getDocumentsApiVersionMetadataCatalogFiles(null, (data, error) => {
|
|
4952
4967
|
try {
|
|
4953
4968
|
const displayE = 'version is required';
|
|
4954
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4969
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogFiles', displayE);
|
|
4955
4970
|
done();
|
|
4956
4971
|
} catch (err) {
|
|
4957
4972
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4980,7 +4995,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
4980
4995
|
a.getDocumentsApiVersionMetadataCatalogUsers(null, (data, error) => {
|
|
4981
4996
|
try {
|
|
4982
4997
|
const displayE = 'version is required';
|
|
4983
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4998
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogUsers', displayE);
|
|
4984
4999
|
done();
|
|
4985
5000
|
} catch (err) {
|
|
4986
5001
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5009,7 +5024,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5009
5024
|
a.getDocumentsApiVersionMetadataCatalogApplinks(null, (data, error) => {
|
|
5010
5025
|
try {
|
|
5011
5026
|
const displayE = 'version is required';
|
|
5012
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5027
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogApplinks', displayE);
|
|
5013
5028
|
done();
|
|
5014
5029
|
} catch (err) {
|
|
5015
5030
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5038,7 +5053,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5038
5053
|
a.getDocumentsApiVersionMetadataCatalogShares(null, (data, error) => {
|
|
5039
5054
|
try {
|
|
5040
5055
|
const displayE = 'version is required';
|
|
5041
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5056
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogShares', displayE);
|
|
5042
5057
|
done();
|
|
5043
5058
|
} catch (err) {
|
|
5044
5059
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5067,7 +5082,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5067
5082
|
a.getDocumentsApiVersionMetadataCatalogPubliclinks(null, (data, error) => {
|
|
5068
5083
|
try {
|
|
5069
5084
|
const displayE = 'version is required';
|
|
5070
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5085
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogPubliclinks', displayE);
|
|
5071
5086
|
done();
|
|
5072
5087
|
} catch (err) {
|
|
5073
5088
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5096,7 +5111,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5096
5111
|
a.getDocumentsApiVersionMetadataCatalogMetadata(null, (data, error) => {
|
|
5097
5112
|
try {
|
|
5098
5113
|
const displayE = 'version is required';
|
|
5099
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5114
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogMetadata', displayE);
|
|
5100
5115
|
done();
|
|
5101
5116
|
} catch (err) {
|
|
5102
5117
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5125,7 +5140,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5125
5140
|
a.getDocumentsApiVersionMetadataCatalogConfiguration(null, (data, error) => {
|
|
5126
5141
|
try {
|
|
5127
5142
|
const displayE = 'version is required';
|
|
5128
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5143
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogConfiguration', displayE);
|
|
5129
5144
|
done();
|
|
5130
5145
|
} catch (err) {
|
|
5131
5146
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5154,7 +5169,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5154
5169
|
a.getDocumentsApiVersionMetadataCatalogCollections(null, (data, error) => {
|
|
5155
5170
|
try {
|
|
5156
5171
|
const displayE = 'version is required';
|
|
5157
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5172
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogCollections', displayE);
|
|
5158
5173
|
done();
|
|
5159
5174
|
} catch (err) {
|
|
5160
5175
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5183,7 +5198,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5183
5198
|
a.getDocumentsApiVersionMetadataCatalogSites(null, (data, error) => {
|
|
5184
5199
|
try {
|
|
5185
5200
|
const displayE = 'version is required';
|
|
5186
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5201
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogSites', displayE);
|
|
5187
5202
|
done();
|
|
5188
5203
|
} catch (err) {
|
|
5189
5204
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5212,7 +5227,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5212
5227
|
a.getDocumentsApiVersionMetadataCatalogTemplates(null, (data, error) => {
|
|
5213
5228
|
try {
|
|
5214
5229
|
const displayE = 'version is required';
|
|
5215
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5230
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApiVersionMetadataCatalogTemplates', displayE);
|
|
5216
5231
|
done();
|
|
5217
5232
|
} catch (err) {
|
|
5218
5233
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5241,7 +5256,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5241
5256
|
a.getDocumentsApi12UsersItems(null, (data, error) => {
|
|
5242
5257
|
try {
|
|
5243
5258
|
const displayE = 'info is required';
|
|
5244
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5259
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12UsersItems', displayE);
|
|
5245
5260
|
done();
|
|
5246
5261
|
} catch (err) {
|
|
5247
5262
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5270,7 +5285,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5270
5285
|
a.getDocumentsApi12UsersSearchItems(null, (data, error) => {
|
|
5271
5286
|
try {
|
|
5272
5287
|
const displayE = 'email is required';
|
|
5273
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5288
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-getDocumentsApi12UsersSearchItems', displayE);
|
|
5274
5289
|
done();
|
|
5275
5290
|
} catch (err) {
|
|
5276
5291
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5299,7 +5314,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5299
5314
|
a.postDocumentsApi12UsersUserIDTransferContent(null, null, (data, error) => {
|
|
5300
5315
|
try {
|
|
5301
5316
|
const displayE = 'userID is required';
|
|
5302
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5317
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12UsersUserIDTransferContent', displayE);
|
|
5303
5318
|
done();
|
|
5304
5319
|
} catch (err) {
|
|
5305
5320
|
log.error(`Test Failure: ${err}`);
|
|
@@ -5316,7 +5331,7 @@ describe('[unit] OracleCloud Adapter Test', () => {
|
|
|
5316
5331
|
a.postDocumentsApi12UsersUserIDTransferContent('fakeparam', null, (data, error) => {
|
|
5317
5332
|
try {
|
|
5318
5333
|
const displayE = 'targetUserID is required';
|
|
5319
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
5334
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-oracle_cloud-adapter-postDocumentsApi12UsersUserIDTransferContent', displayE);
|
|
5320
5335
|
done();
|
|
5321
5336
|
} catch (err) {
|
|
5322
5337
|
log.error(`Test Failure: ${err}`);
|