|
@@ -436,14 +436,14 @@
|
|
|
<notepads>
|
|
<notepads>
|
|
|
</notepads>
|
|
</notepads>
|
|
|
<connection>
|
|
<connection>
|
|
|
- <name>DEV_MEIntegrado_AZURE</name>
|
|
|
|
|
|
|
+ <name>PRD_ORION_AZURE</name>
|
|
|
<server>192.168.100.4</server>
|
|
<server>192.168.100.4</server>
|
|
|
<type>MSSQLNATIVE</type>
|
|
<type>MSSQLNATIVE</type>
|
|
|
<access>Native</access>
|
|
<access>Native</access>
|
|
|
- <database>DEV_MEIntegrado</database>
|
|
|
|
|
|
|
+ <database>PRD_ORION</database>
|
|
|
<port>1433</port>
|
|
<port>1433</port>
|
|
|
- <username>MERELEC_TABLEAU</username>
|
|
|
|
|
- <password>Encrypted 2be98afc827948087aa1da1638dc2ff8a</password>
|
|
|
|
|
|
|
+ <username>MERELEC_PDI</username>
|
|
|
|
|
+ <password>Encrypted 2bec8eb8127c28081a71cad348cc2fe82</password>
|
|
|
<servername/>
|
|
<servername/>
|
|
|
<data_tablespace/>
|
|
<data_tablespace/>
|
|
|
<index_tablespace/>
|
|
<index_tablespace/>
|
|
@@ -535,6 +535,52 @@
|
|
|
<enabled>Y</enabled>
|
|
<enabled>Y</enabled>
|
|
|
</hop>
|
|
</hop>
|
|
|
</order>
|
|
</order>
|
|
|
|
|
+ <step>
|
|
|
|
|
+ <name>Filter rows</name>
|
|
|
|
|
+ <type>FilterRows</type>
|
|
|
|
|
+ <description/>
|
|
|
|
|
+ <distribute>Y</distribute>
|
|
|
|
|
+ <custom_distribution/>
|
|
|
|
|
+ <copies>1</copies>
|
|
|
|
|
+ <partitioning>
|
|
|
|
|
+ <method>none</method>
|
|
|
|
|
+ <schema_name/>
|
|
|
|
|
+ </partitioning>
|
|
|
|
|
+ <send_true_to>Table output</send_true_to>
|
|
|
|
|
+ <send_false_to/>
|
|
|
|
|
+ <compare>
|
|
|
|
|
+ <condition>
|
|
|
|
|
+ <negated>N</negated>
|
|
|
|
|
+ <conditions>
|
|
|
|
|
+ <condition>
|
|
|
|
|
+ <negated>N</negated>
|
|
|
|
|
+ <leftvalue>time_hmi</leftvalue>
|
|
|
|
|
+ <function>>=</function>
|
|
|
|
|
+ <rightvalue>fecha_mañana</rightvalue>
|
|
|
|
|
+ </condition>
|
|
|
|
|
+ <condition>
|
|
|
|
|
+ <negated>N</negated>
|
|
|
|
|
+ <operator>AND</operator>
|
|
|
|
|
+ <leftvalue>time_hmi</leftvalue>
|
|
|
|
|
+ <function><</function>
|
|
|
|
|
+ <rightvalue>fecha_pasado</rightvalue>
|
|
|
|
|
+ </condition>
|
|
|
|
|
+ </conditions>
|
|
|
|
|
+ </condition>
|
|
|
|
|
+ </compare>
|
|
|
|
|
+ <cluster_schema/>
|
|
|
|
|
+ <remotesteps>
|
|
|
|
|
+ <input>
|
|
|
|
|
+ </input>
|
|
|
|
|
+ <output>
|
|
|
|
|
+ </output>
|
|
|
|
|
+ </remotesteps>
|
|
|
|
|
+ <GUI>
|
|
|
|
|
+ <xloc>992</xloc>
|
|
|
|
|
+ <yloc>128</yloc>
|
|
|
|
|
+ <draw>Y</draw>
|
|
|
|
|
+ </GUI>
|
|
|
|
|
+ </step>
|
|
|
<step>
|
|
<step>
|
|
|
<name>Get rows from result</name>
|
|
<name>Get rows from result</name>
|
|
|
<type>RowsFromResult</type>
|
|
<type>RowsFromResult</type>
|
|
@@ -817,6 +863,101 @@
|
|
|
<draw>Y</draw>
|
|
<draw>Y</draw>
|
|
|
</GUI>
|
|
</GUI>
|
|
|
</step>
|
|
</step>
|
|
|
|
|
+ <step>
|
|
|
|
|
+ <name>JSON Input 2</name>
|
|
|
|
|
+ <type>JsonInput</type>
|
|
|
|
|
+ <description/>
|
|
|
|
|
+ <distribute>Y</distribute>
|
|
|
|
|
+ <custom_distribution/>
|
|
|
|
|
+ <copies>1</copies>
|
|
|
|
|
+ <partitioning>
|
|
|
|
|
+ <method>none</method>
|
|
|
|
|
+ <schema_name/>
|
|
|
|
|
+ </partitioning>
|
|
|
|
|
+ <include>N</include>
|
|
|
|
|
+ <include_field/>
|
|
|
|
|
+ <rownum>N</rownum>
|
|
|
|
|
+ <addresultfile>N</addresultfile>
|
|
|
|
|
+ <readurl>N</readurl>
|
|
|
|
|
+ <removeSourceField>N</removeSourceField>
|
|
|
|
|
+ <IsIgnoreEmptyFile>N</IsIgnoreEmptyFile>
|
|
|
|
|
+ <doNotFailIfNoFile>Y</doNotFailIfNoFile>
|
|
|
|
|
+ <ignoreMissingPath>Y</ignoreMissingPath>
|
|
|
|
|
+ <defaultPathLeafToNull>Y</defaultPathLeafToNull>
|
|
|
|
|
+ <rownum_field/>
|
|
|
|
|
+ <file>
|
|
|
|
|
+ <name>C:\Users\BI4\Documents\Development\PDI - Kettle\weather-darksky\san-salvador-forecast.json</name>
|
|
|
|
|
+ <filemask/>
|
|
|
|
|
+ <exclude_filemask/>
|
|
|
|
|
+ <file_required>N</file_required>
|
|
|
|
|
+ <include_subfolders>N</include_subfolders>
|
|
|
|
|
+ </file>
|
|
|
|
|
+ <fields>
|
|
|
|
|
+ <field>
|
|
|
|
|
+ <name>latitude</name>
|
|
|
|
|
+ <path>$.latitude</path>
|
|
|
|
|
+ <type>Number</type>
|
|
|
|
|
+ <format/>
|
|
|
|
|
+ <currency/>
|
|
|
|
|
+ <decimal/>
|
|
|
|
|
+ <group/>
|
|
|
|
|
+ <length>-1</length>
|
|
|
|
|
+ <precision>-1</precision>
|
|
|
|
|
+ <trim_type>none</trim_type>
|
|
|
|
|
+ <repeat>N</repeat>
|
|
|
|
|
+ </field>
|
|
|
|
|
+ <field>
|
|
|
|
|
+ <name>longitude</name>
|
|
|
|
|
+ <path>$.longitude</path>
|
|
|
|
|
+ <type>Number</type>
|
|
|
|
|
+ <format/>
|
|
|
|
|
+ <currency/>
|
|
|
|
|
+ <decimal/>
|
|
|
|
|
+ <group/>
|
|
|
|
|
+ <length>-1</length>
|
|
|
|
|
+ <precision>-1</precision>
|
|
|
|
|
+ <trim_type>none</trim_type>
|
|
|
|
|
+ <repeat>N</repeat>
|
|
|
|
|
+ </field>
|
|
|
|
|
+ <field>
|
|
|
|
|
+ <name>hourly</name>
|
|
|
|
|
+ <path>$.hourly</path>
|
|
|
|
|
+ <type>String</type>
|
|
|
|
|
+ <format/>
|
|
|
|
|
+ <currency/>
|
|
|
|
|
+ <decimal/>
|
|
|
|
|
+ <group/>
|
|
|
|
|
+ <length>-1</length>
|
|
|
|
|
+ <precision>-1</precision>
|
|
|
|
|
+ <trim_type>none</trim_type>
|
|
|
|
|
+ <repeat>N</repeat>
|
|
|
|
|
+ </field>
|
|
|
|
|
+ </fields>
|
|
|
|
|
+ <limit>0</limit>
|
|
|
|
|
+ <IsInFields>Y</IsInFields>
|
|
|
|
|
+ <IsAFile>N</IsAFile>
|
|
|
|
|
+ <valueField>result_json</valueField>
|
|
|
|
|
+ <shortFileFieldName/>
|
|
|
|
|
+ <pathFieldName/>
|
|
|
|
|
+ <hiddenFieldName/>
|
|
|
|
|
+ <lastModificationTimeFieldName/>
|
|
|
|
|
+ <uriNameFieldName/>
|
|
|
|
|
+ <rootUriNameFieldName/>
|
|
|
|
|
+ <extensionFieldName/>
|
|
|
|
|
+ <sizeFieldName/>
|
|
|
|
|
+ <cluster_schema/>
|
|
|
|
|
+ <remotesteps>
|
|
|
|
|
+ <input>
|
|
|
|
|
+ </input>
|
|
|
|
|
+ <output>
|
|
|
|
|
+ </output>
|
|
|
|
|
+ </remotesteps>
|
|
|
|
|
+ <GUI>
|
|
|
|
|
+ <xloc>496</xloc>
|
|
|
|
|
+ <yloc>128</yloc>
|
|
|
|
|
+ <draw>Y</draw>
|
|
|
|
|
+ </GUI>
|
|
|
|
|
+ </step>
|
|
|
<step>
|
|
<step>
|
|
|
<name>Modified Java Script Value</name>
|
|
<name>Modified Java Script Value</name>
|
|
|
<type>ScriptValueMod</type>
|
|
<type>ScriptValueMod</type>
|
|
@@ -939,177 +1080,6 @@ var date5 = truncDate(dateTime, 5); // gives back today at yyyy/01/01 00:00:00.0
|
|
|
<draw>Y</draw>
|
|
<draw>Y</draw>
|
|
|
</GUI>
|
|
</GUI>
|
|
|
</step>
|
|
</step>
|
|
|
- <step>
|
|
|
|
|
- <name>JSON Input 2</name>
|
|
|
|
|
- <type>JsonInput</type>
|
|
|
|
|
- <description/>
|
|
|
|
|
- <distribute>Y</distribute>
|
|
|
|
|
- <custom_distribution/>
|
|
|
|
|
- <copies>1</copies>
|
|
|
|
|
- <partitioning>
|
|
|
|
|
- <method>none</method>
|
|
|
|
|
- <schema_name/>
|
|
|
|
|
- </partitioning>
|
|
|
|
|
- <include>N</include>
|
|
|
|
|
- <include_field/>
|
|
|
|
|
- <rownum>N</rownum>
|
|
|
|
|
- <addresultfile>N</addresultfile>
|
|
|
|
|
- <readurl>N</readurl>
|
|
|
|
|
- <removeSourceField>N</removeSourceField>
|
|
|
|
|
- <IsIgnoreEmptyFile>N</IsIgnoreEmptyFile>
|
|
|
|
|
- <doNotFailIfNoFile>Y</doNotFailIfNoFile>
|
|
|
|
|
- <ignoreMissingPath>Y</ignoreMissingPath>
|
|
|
|
|
- <defaultPathLeafToNull>Y</defaultPathLeafToNull>
|
|
|
|
|
- <rownum_field/>
|
|
|
|
|
- <file>
|
|
|
|
|
- <name>C:\Users\BI4\Documents\Development\PDI - Kettle\weather-darksky\san-salvador-forecast.json</name>
|
|
|
|
|
- <filemask/>
|
|
|
|
|
- <exclude_filemask/>
|
|
|
|
|
- <file_required>N</file_required>
|
|
|
|
|
- <include_subfolders>N</include_subfolders>
|
|
|
|
|
- </file>
|
|
|
|
|
- <fields>
|
|
|
|
|
- <field>
|
|
|
|
|
- <name>latitude</name>
|
|
|
|
|
- <path>$.latitude</path>
|
|
|
|
|
- <type>Number</type>
|
|
|
|
|
- <format/>
|
|
|
|
|
- <currency/>
|
|
|
|
|
- <decimal/>
|
|
|
|
|
- <group/>
|
|
|
|
|
- <length>-1</length>
|
|
|
|
|
- <precision>-1</precision>
|
|
|
|
|
- <trim_type>none</trim_type>
|
|
|
|
|
- <repeat>N</repeat>
|
|
|
|
|
- </field>
|
|
|
|
|
- <field>
|
|
|
|
|
- <name>longitude</name>
|
|
|
|
|
- <path>$.longitude</path>
|
|
|
|
|
- <type>Number</type>
|
|
|
|
|
- <format/>
|
|
|
|
|
- <currency/>
|
|
|
|
|
- <decimal/>
|
|
|
|
|
- <group/>
|
|
|
|
|
- <length>-1</length>
|
|
|
|
|
- <precision>-1</precision>
|
|
|
|
|
- <trim_type>none</trim_type>
|
|
|
|
|
- <repeat>N</repeat>
|
|
|
|
|
- </field>
|
|
|
|
|
- <field>
|
|
|
|
|
- <name>hourly</name>
|
|
|
|
|
- <path>$.hourly</path>
|
|
|
|
|
- <type>String</type>
|
|
|
|
|
- <format/>
|
|
|
|
|
- <currency/>
|
|
|
|
|
- <decimal/>
|
|
|
|
|
- <group/>
|
|
|
|
|
- <length>-1</length>
|
|
|
|
|
- <precision>-1</precision>
|
|
|
|
|
- <trim_type>none</trim_type>
|
|
|
|
|
- <repeat>N</repeat>
|
|
|
|
|
- </field>
|
|
|
|
|
- </fields>
|
|
|
|
|
- <limit>0</limit>
|
|
|
|
|
- <IsInFields>Y</IsInFields>
|
|
|
|
|
- <IsAFile>N</IsAFile>
|
|
|
|
|
- <valueField>result_json</valueField>
|
|
|
|
|
- <shortFileFieldName/>
|
|
|
|
|
- <pathFieldName/>
|
|
|
|
|
- <hiddenFieldName/>
|
|
|
|
|
- <lastModificationTimeFieldName/>
|
|
|
|
|
- <uriNameFieldName/>
|
|
|
|
|
- <rootUriNameFieldName/>
|
|
|
|
|
- <extensionFieldName/>
|
|
|
|
|
- <sizeFieldName/>
|
|
|
|
|
- <cluster_schema/>
|
|
|
|
|
- <remotesteps>
|
|
|
|
|
- <input>
|
|
|
|
|
- </input>
|
|
|
|
|
- <output>
|
|
|
|
|
- </output>
|
|
|
|
|
- </remotesteps>
|
|
|
|
|
- <GUI>
|
|
|
|
|
- <xloc>496</xloc>
|
|
|
|
|
- <yloc>128</yloc>
|
|
|
|
|
- <draw>Y</draw>
|
|
|
|
|
- </GUI>
|
|
|
|
|
- </step>
|
|
|
|
|
- <step>
|
|
|
|
|
- <name>Select values</name>
|
|
|
|
|
- <type>SelectValues</type>
|
|
|
|
|
- <description/>
|
|
|
|
|
- <distribute>Y</distribute>
|
|
|
|
|
- <custom_distribution/>
|
|
|
|
|
- <copies>1</copies>
|
|
|
|
|
- <partitioning>
|
|
|
|
|
- <method>none</method>
|
|
|
|
|
- <schema_name/>
|
|
|
|
|
- </partitioning>
|
|
|
|
|
- <fields>
|
|
|
|
|
- <select_unspecified>N</select_unspecified>
|
|
|
|
|
- <remove>
|
|
|
|
|
- <name>time</name>
|
|
|
|
|
- </remove>
|
|
|
|
|
- </fields>
|
|
|
|
|
- <cluster_schema/>
|
|
|
|
|
- <remotesteps>
|
|
|
|
|
- <input>
|
|
|
|
|
- </input>
|
|
|
|
|
- <output>
|
|
|
|
|
- </output>
|
|
|
|
|
- </remotesteps>
|
|
|
|
|
- <GUI>
|
|
|
|
|
- <xloc>880</xloc>
|
|
|
|
|
- <yloc>128</yloc>
|
|
|
|
|
- <draw>Y</draw>
|
|
|
|
|
- </GUI>
|
|
|
|
|
- </step>
|
|
|
|
|
- <step>
|
|
|
|
|
- <name>Filter rows</name>
|
|
|
|
|
- <type>FilterRows</type>
|
|
|
|
|
- <description/>
|
|
|
|
|
- <distribute>Y</distribute>
|
|
|
|
|
- <custom_distribution/>
|
|
|
|
|
- <copies>1</copies>
|
|
|
|
|
- <partitioning>
|
|
|
|
|
- <method>none</method>
|
|
|
|
|
- <schema_name/>
|
|
|
|
|
- </partitioning>
|
|
|
|
|
- <send_true_to>Table output</send_true_to>
|
|
|
|
|
- <send_false_to/>
|
|
|
|
|
- <compare>
|
|
|
|
|
- <condition>
|
|
|
|
|
- <negated>N</negated>
|
|
|
|
|
- <conditions>
|
|
|
|
|
- <condition>
|
|
|
|
|
- <negated>N</negated>
|
|
|
|
|
- <leftvalue>time_hmi</leftvalue>
|
|
|
|
|
- <function>>=</function>
|
|
|
|
|
- <rightvalue>fecha_mañana</rightvalue>
|
|
|
|
|
- </condition>
|
|
|
|
|
- <condition>
|
|
|
|
|
- <negated>N</negated>
|
|
|
|
|
- <operator>AND</operator>
|
|
|
|
|
- <leftvalue>time_hmi</leftvalue>
|
|
|
|
|
- <function><</function>
|
|
|
|
|
- <rightvalue>fecha_pasado</rightvalue>
|
|
|
|
|
- </condition>
|
|
|
|
|
- </conditions>
|
|
|
|
|
- </condition>
|
|
|
|
|
- </compare>
|
|
|
|
|
- <cluster_schema/>
|
|
|
|
|
- <remotesteps>
|
|
|
|
|
- <input>
|
|
|
|
|
- </input>
|
|
|
|
|
- <output>
|
|
|
|
|
- </output>
|
|
|
|
|
- </remotesteps>
|
|
|
|
|
- <GUI>
|
|
|
|
|
- <xloc>992</xloc>
|
|
|
|
|
- <yloc>128</yloc>
|
|
|
|
|
- <draw>Y</draw>
|
|
|
|
|
- </GUI>
|
|
|
|
|
- </step>
|
|
|
|
|
<step>
|
|
<step>
|
|
|
<name>REST Client</name>
|
|
<name>REST Client</name>
|
|
|
<type>Rest</type>
|
|
<type>Rest</type>
|
|
@@ -1161,6 +1131,36 @@ var date5 = truncDate(dateTime, 5); // gives back today at yyyy/01/01 00:00:00.0
|
|
|
<draw>Y</draw>
|
|
<draw>Y</draw>
|
|
|
</GUI>
|
|
</GUI>
|
|
|
</step>
|
|
</step>
|
|
|
|
|
+ <step>
|
|
|
|
|
+ <name>Select values</name>
|
|
|
|
|
+ <type>SelectValues</type>
|
|
|
|
|
+ <description/>
|
|
|
|
|
+ <distribute>Y</distribute>
|
|
|
|
|
+ <custom_distribution/>
|
|
|
|
|
+ <copies>1</copies>
|
|
|
|
|
+ <partitioning>
|
|
|
|
|
+ <method>none</method>
|
|
|
|
|
+ <schema_name/>
|
|
|
|
|
+ </partitioning>
|
|
|
|
|
+ <fields>
|
|
|
|
|
+ <select_unspecified>N</select_unspecified>
|
|
|
|
|
+ <remove>
|
|
|
|
|
+ <name>time</name>
|
|
|
|
|
+ </remove>
|
|
|
|
|
+ </fields>
|
|
|
|
|
+ <cluster_schema/>
|
|
|
|
|
+ <remotesteps>
|
|
|
|
|
+ <input>
|
|
|
|
|
+ </input>
|
|
|
|
|
+ <output>
|
|
|
|
|
+ </output>
|
|
|
|
|
+ </remotesteps>
|
|
|
|
|
+ <GUI>
|
|
|
|
|
+ <xloc>880</xloc>
|
|
|
|
|
+ <yloc>128</yloc>
|
|
|
|
|
+ <draw>Y</draw>
|
|
|
|
|
+ </GUI>
|
|
|
|
|
+ </step>
|
|
|
<step>
|
|
<step>
|
|
|
<name>Table output</name>
|
|
<name>Table output</name>
|
|
|
<type>TableOutput</type>
|
|
<type>TableOutput</type>
|
|
@@ -1172,7 +1172,7 @@ var date5 = truncDate(dateTime, 5); // gives back today at yyyy/01/01 00:00:00.0
|
|
|
<method>none</method>
|
|
<method>none</method>
|
|
|
<schema_name/>
|
|
<schema_name/>
|
|
|
</partitioning>
|
|
</partitioning>
|
|
|
- <connection>DEV_MEIntegrado_AZURE</connection>
|
|
|
|
|
|
|
+ <connection>PRD_ORION_AZURE</connection>
|
|
|
<schema>CLIMA</schema>
|
|
<schema>CLIMA</schema>
|
|
|
<table>PRONOSTICO_HORARIO</table>
|
|
<table>PRONOSTICO_HORARIO</table>
|
|
|
<commit>1000</commit>
|
|
<commit>1000</commit>
|