Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ backend/src/utils/common_dev.js
frontend/src/app/pages/data-model-mapper/next/
frontend/src/app/pages/data-model-mapper/testModule.ts
backend/src/writers/orionWriter.old.js
backend/output/
7 changes: 5 additions & 2 deletions backend/config.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ var config = {
onlyEPSG4326 : false, // allows only geojson with EPSG4326 coordinates
maxFileSize : 25, // max file size upload in MB
mapTilerKey : "8JYNjx8UQfefRRQUEjwZ",
truncateLogs : false,

/********************** 3 INPUTS CONFIGURATION ************************
* Followings are related to Mapping MANDATORY inputs (source, map, data model).
Expand Down Expand Up @@ -116,6 +117,8 @@ var config = {
config.orionWriter = {

orionUrl: "https://orionUrl", // The Context Broker endpoint (baseUrl) where mapped entities will be stored (/v2/entities POST)
mongoHost : "localhost",
mongoPort : "27077",
orionAuthHeaderName: "", // Authorization Header name (e.g. X-Auth-Token or Authorization) for Orion request // Leave blank if any
orionAuthToken: "", // Authorization token name for Orion request (e.g. Bearer XXX) // Leave blank if any
fiwareService: "", // Fiware-Service header to be put in the Orion request
Expand All @@ -130,8 +133,8 @@ config.orionWriter = {
keyValuesOption : '?options=keyValues',
relativeUrl : "/v2/entities",
protocol : "v1",
delayBetweenRequests: 5000,
delayBetweenPostAndPut: 1000,
delayBetweenRequests: 1,
delayBetweenPostAndPut: 1,
retryDelay : 1000,
avoidPut : true,
promiseRequestRetryExternalLibrary : {
Expand Down
Loading
Loading