Diploma Thesis Santiago Gómez Sáez - IAAS
Diploma Thesis Santiago Gómez Sáez - IAAS
Diploma Thesis Santiago Gómez Sáez - IAAS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Appendix B.<br />
Messages<br />
In this chapter we provide an overview of the requests which are sent to, and received<br />
from the extended ServiceMix-mt. For MySQL requests we provide the TCP packets which<br />
are transferred between the application, ServiceMix-mt, and the backend MySQL database<br />
system. For NoSQL requests we present messages samples which are in JSON format, but its<br />
content varies among the different backend Cloud data store providers.<br />
B.1. Normalized Message Format Content Description<br />
In this section we provide an overview of the data structures which are sent in the NMF.<br />
The sections of the NMF where the data and meta-data are sent are the properties, and the<br />
attachment. In the Listing B.1 we detail the contents sent in each of the sections, and the data<br />
structures in which the data and meta-data are stored.<br />
1 ########## Normalized Message Adaptation for CDASMix ###########<br />
2<br />
3 Properties for the backend connections are stored in this format. At this time, only joins<br />
4<br />
which involve tables in the same backend db are supported:<br />
5 ////////////////////////////////////////////////////////////////////////<br />
6<br />
7 - MySQL || NoSql -> NMF (Request Message)<br />
8 // Main properties<br />
9 - target_data_sources : number of target data sources. This number will set the length<br />
of the properties vector and will set the length of the vector queries<br />
10 - tenantId : string (UUID)<br />
11 - userId : string (UUID)<br />
12 if (mysql)<br />
13 - mysqlServerPropsQueries:vector // server configuration queries that the<br />
14<br />
proxy has received from the jdbc driver, e.g. SET names, SET character_set_*<br />
15 // Backend datasource dependent properties : stored as Properties in vector.<br />
16 - Tenant configuration data<br />
17 - source & target dataSource name : string<br />
18 - source & target dataSource type : family-mainInfoStructure-secondaryInfoStructureversion<br />
19 - source & target dataSource protocol : mysql | http.[xml|rest]<br />
95