-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #466 from telefonicaid/release/2.3.0
Release/2.3.0
- Loading branch information
Showing
21 changed files
with
1,426 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
- Fix precedence in merging device and configuration attributes. | ||
- Merge configuration information in the retrieveDevice() function (#405) | ||
- Expose the singleConfigurationMode attribute using environment variables (#404) | ||
- Devices provisioned with no configuration are not found in HTTP measure reporting (#124) | ||
- In MongoDB32 no group is found if undefined resource is passed (#410) | ||
- Extract common middleware to a new module (#415) | ||
- Add an administrative operation to get the log level (#417) | ||
- Add the 'comp' field to the IoTA's log (#419) | ||
- Fix Static attributes not shown in device group updates (#423) | ||
- Fix IoTAgent returns non-NGSI error as a response to an error in the Context Providers (#422) | ||
- Fix Documentation typos and aspects to fix (#426) | ||
- Add the names of the DB fields to the documentation (#427) | ||
- FIX IOTAM Registrations won't send static attributes in group information #430 | ||
- Make the IoTA path in the IoTAM registration request configurable | ||
- Document TimeInstant entity attribute and metadata (#435) | ||
- FIX Update device operation ignores static attributes (#438) | ||
- FIX Logger modules not being singleton cause logging inconsistencies (#442) | ||
- Remove Device ID Index (#445) | ||
- Add polling command support for the Library #455 | ||
- FIX Entity name used instead of id in command identification | ||
- Add expiration time for Polling commands (#460) | ||
- FIX It is not possible to create two devices with the same ID (#462) | ||
- ADD At service start-up retry if dependencies (mongo, orion, etc.) are not available #357 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Copyright 2016 Telefonica Investigación y Desarrollo, S.A.U | ||
* | ||
* This file is part of fiware-iotagent-lib | ||
* | ||
* fiware-iotagent-lib is free software: you can redistribute it and/or | ||
* modify it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the License, | ||
* or (at your option) any later version. | ||
* | ||
* fiware-iotagent-lib is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* See the GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public | ||
* License along with fiware-iotagent-lib. | ||
* If not, seehttp://www.gnu.org/licenses/. | ||
* | ||
* For those usages not covered by the GNU Affero General Public License | ||
* please contact with::daniel.moranjimenez@telefonica.com | ||
*/ | ||
'use strict'; | ||
|
||
var mongoose = require('mongoose'), | ||
Schema = mongoose.Schema; | ||
|
||
var Command = new Schema({ | ||
deviceId: String, | ||
type: String, | ||
name: String, | ||
value: String, | ||
service: String, | ||
subservice: String, | ||
creationDate: { type: Date, default: Date.now } | ||
}); | ||
|
||
function load(db) { | ||
module.exports.model = db.model('Command', Command); | ||
module.exports.internalSchema = Command; | ||
} | ||
|
||
module.exports.load = load; |
Oops, something went wrong.