Commits

Lilian Y-Nhi Dinh authored 83dbce1163a
BRS notify testfixtures
No tags

cucumber/dataaccess/brs.js

Added
1 +const jq = require('node-jq');
2 +const { env, drgWithAttach } = require('./util');
3 +
4 +// BTR Data Access calls BTR Services in DRG and returns specified results
5 +
6 +async function getNotificationBRS(attach, serialnumber) {
7 + const body = {
8 + id: 'brs.notificationQuery',
9 + role: 'sds.foces',
10 + endpoint: env,
11 + fields: {
12 + SerialNumber: serialnumber,
13 + }
14 + };
15 +
16 + return await drgWithAttach(attach, body);
17 +}
18 +
19 +module.exports = {
20 + getNotificationBRS,
21 +};

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut