Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit ecfd5f7

Browse files
author
Chris Wiechmann
committed
Making sure, all tests are running
1 parent 1223dfd commit ecfd5f7

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/traffic-monitor-api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
working-directory: ${{env.workingDirectory}}
4444
env:
4545
ELASTIC_NODE: 'http://localhost:9200'
46+
VALIDATE_CONFIG: false
4647
LOG_LEVEL: INFO
4748
CI: true
4849
run: |

elk-traffic-monitor-api/custom_flow_nodes/api-builder-plugin-axway-api-management/src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const actions = require('./actions');
44
const NodeCache = require( "node-cache" );
55
const { sendRequest, _getSession } = require('./utils');
66
const https = require('https');
7+
const { Logger } = require('@axway/api-builder-runtime');
78

89
/**
910
* Resolves the API Builder plugin.
@@ -49,6 +50,8 @@ async function getPlugin(pluginConfig, options) {
4950
} else {
5051
options.logger.info("Connection to API-Manager successfully validated.");
5152
}
53+
} else {
54+
options.logger.warn("Config validation is skipped, as parameter: pluginConfig.validateConfig=true");
5255
}
5356
}
5457
sdk.load(path.resolve(__dirname, 'flow-nodes.yml'), actions, { pluginContext: { cache: cache }, pluginConfig});

elk-traffic-monitor-api/test/asAdmin/test_search_endpoint_AsAdmin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ describe('Endpoints', function () {
581581
expect(body.data[0].uri).to.equals('/petstore/v2/pet/findByStatus');
582582
});
583583
});
584-
it.only('[Endpoint-0023] Should include the V-Host value', () => {
584+
it('[Endpoint-0023] Should include the V-Host value', () => {
585585
const auth = {
586586
user: server.apibuilder.config.apikey || 'test',
587587
password: ''

0 commit comments

Comments
 (0)