Skip to content

Commit

Permalink
Merge pull request #1059 from openBackhaul:nardecchia-siae/issue1051
Browse files Browse the repository at this point in the history
tag_1.1.2h: Link port creation fails with 500 response.
  • Loading branch information
nardecchia-siae authored Dec 10, 2024
2 parents f9620a4 + 099481b commit 0051458
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 66 deletions.
2 changes: 2 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var serverPort = 8080;
var appCommons = require('onf-core-model-ap/applicationPattern/commons/AppCommons');
var individual = require('./service/IndividualServicesService');
var apiKeyAuth = require('./utils/apiKeyAuth');
const notificationManagement = require('./service/individualServices/NotificationManagement');
appCommons.openApiValidatorOptions.validateSecurity.handlers.apiKeyAuth = apiKeyAuth.validateOperationKey;

const prepareElasticsearch = require('./service/individualServices/ElasticsearchPreparation');
Expand Down Expand Up @@ -40,6 +41,7 @@ global.databasePath = './database/load.json';
(async () => {
global.common = await individual.resolveApplicationNameAndHttpClientLtpUuidFromForwardingName();
global.notify = await individual.NotifiedDeviceAlarmCausesUpdatingTheEntryInCurrentAlarmListOfCache();
global.proxy = await notificationManagement.getAppInformation();
})()


Expand Down
Loading

0 comments on commit 0051458

Please sign in to comment.