Free feature
Namespaces¶
Namespaces in Sesam are inspired by the Resource Description Framework (RDF) where namespaces are URL references that allows us to reuse names from different sources without loosing context. In Sesam namespaces are used to determine the origin of attributes, which is essential for master data management in global pipes. Inside global pipes we often wish to merge entities with other similar entities, such as person data from a CRM system and the equivalent person data from an HR system. Sesam prefixes namespaces to each attribute name in order to merge data from multiple sources without losing context. Namespaces in Sesam are also essential for late schema binding where we map global models to target models.
With some exceptions, attributes will always inherit the pipe name where the attribute was first created as its namespace, i.e. an attribute x
created in pipe y
will use the namespace y:
, becoming y:x
.
See examples below.
Pipe name |
Attribute from source |
Attribute with namespace |
---|---|---|
hubspot-person |
name |
hubspot-person:name |
visma-person |
name |
visma-person:name |
hubspot-company |
company_name |
hubspot-company:company_name |
visma-company |
company_name |
visma-company:company_name |
How to enable¶
Enable on specific pipes: Namespaces can be enabled on specific pipes by setting the required property/properties in the pipe configuration (see properties below).
Enable globally in a subscription: You can enable namespaces in the service metadata for all the pipes in your subscription. This can be overridden at the pipe level.
Important
Some of the DTL functions are namespace aware and they will behave slightly differently when namespaces are enabled. See the section on Namespace aware functions for more details.
Properties¶
Property |
Type |
Description |
Default |
Req |
---|---|---|---|---|
|
Boolean |
Flag used to enable sink default values for |
Service metadata default |
|
|
String |
The namespace used for identifiers. The default value is the pipe’s id. |
|
|
|
String |
The namespace used for properties. The default value is the pipe’s id. |
|
|
|
Boolean |
If If |
Source default |
|
|
Boolean |
If If |
Sink default |