This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
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
use mixin only for entityId @JsonWrapped to allow for reuse for AppendContextElementResponse class
marcc-orange
force-pushed
the
rest-ngsi10
branch
from
January 28, 2016 16:30
17b0af7
to
c04d6c3
Compare
marcc-orange
force-pushed
the
rest-ngsi10
branch
from
January 29, 2016 11:28
c04d6c3
to
c8c0ab1
Compare
Both NGSI and REST are acronym and we don't want names like NGSIRESTBaseController, so just use camelcase every time for consistency.
some mandatory checks where missing
marcc-orange
force-pushed
the
rest-ngsi10
branch
from
February 5, 2016 17:26
5b427b8
to
65d89f6
Compare
trying to stay compatible with java 7 for library reuse.
broker will forward NGSI-10 REST convenient operations to classic operations internaly.
marcc-orange
force-pushed
the
rest-ngsi10
branch
from
February 8, 2016 13:03
65d89f6
to
7b9da94
Compare
LGTM 👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for NGSI 10 convenient REST operations to the Broker.
The goal is to support a REST interface to access to Fiware data though the broker.
This adds the following endpoints:
POST/PUT/GET/DELETE /v1/contextEntities/{entityID}
POST/PUT/GET/DELETE /v1/contextEntities/{entityID}/attributes/{attributeName}
PUT/GET/DELETE /v1/contextEntities/{entityID}/attributes/{attributeName}/{valueID}
GET /v1/contextEntityType/{typeName}
GET /v1/contextEntityType/{typeName}/attributes/{attributeName}
POST /v1/contextSubscriptions
GET/DELETE /v1/contextSubscriptions/{subscriptionID}
All these NGSI-10 REST "convenient" operations are supported on the Broker and mapped back internally to the standard operations (
/updateContext
,/queryContext
, etc...).Original intention was to support JSON-LD on a RESTfull NGSIv1 interface.
This goal has since been dropped and will come with with NGSIv2 support.