Test project for Startskudd 2024 - Seeding test data for Rock Displacement Dashboard Elastic Search Index.
In local.settings.json
be sure to set KeyVault_Name
to the current unique key vault name. You should
also be added to the Developers group in Azure, and have done az login
to use Default Credentials to get access to the key vault.
For running on emulators locally you should have Azurite installed and make sure it is running.
After setup:
- Install dependencies
yarn
- Start locally:
yarn start
- Have fun
{
"mappings": {
"properties": {
"deltaMovementInMm": {
"type": "float"
},
"readingDate": {
"type": "date"
},
"readingPlacement": {
"properties": {
"depthInMeter": {
"type": "float"
},
"x": {
"type": "long"
},
"y": {
"type": "long"
}
}
},
"sensor": {
"type": "nested",
"properties": {
"id": {
"type": "keyword"
},
"placement": {
"properties": {
"depthInMeter": {
"type": "float"
},
"x": {
"type": "long"
},
"y": {
"type": "long"
}
}
}
}
},
"status": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}