How fiware/ngsi-ld_experimental works
Main Components
a) Client Layer:
• External NGSI-LD API consumers
• Supported HTTP endpoints (/ngsi-ld/v1/entities/, /version, /configuration)
b) NGSI-LD Wrapper Core:
• REST API Layer (represented by NgsiLdWrapper.scala)
• Model Mapping Layer:
• Ngsi2LdModelMapper (NGSI-v2 to NGSI-LD conversion)
• Ld2NgsiModelMapper (NGSI-LD to NGSI-v2 conversion)
• JSON Processing:
• JSONParser
• JsonSerializer
c) Utility Components:
• Context Resolution (LdContextResolver)
• Expression Filtering (ExpressionFilterParser)
• NGSI Client (for communicating with backend)
d) Backend Integration:
• FIWARE Context Broker (Orion)
• NGSI-v2 protocol connection
Component Relationships
• Incoming NGSI-LD requests → REST Layer
• REST Layer → Model Mappers
• Model Mappers ↔ JSON Processing
• Model Mappers → NGSI Client
• NGSI Client → FIWARE Context Broker
Additional Elements
• Version information
• Deployment options (Docker, standalone)
• Main data transformation flows
Important Notes
• Proxy/wrapper nature of the system
• Clear separation between NGSI-LD and NGSI-v2 protocols
• Model mapping functionality
• Error handling components
Technical Details
• Scala/Java runtime environment
• Web container (Jetty)
• Docker deployment support
• Configuration parameters
Remember to indicate this is an experimental/archived project and point to current alternatives (Orion-LD, Scorpio Broker, Stellio Context Broker) in the documentation.