forked from apache/hop
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix apache#1860 : Transform Get Subfolders is broken (IT fix)
HOP-4379 : Cleanup XML of action Create Folder HOP-4373 : Cleanup XML of action Check DB Connections
- Loading branch information
1 parent
c0b3f72
commit 4d39bcc
Showing
6 changed files
with
440 additions
and
329 deletions.
There are no files selected for viewing
100 changes: 100 additions & 0 deletions
100
integration-tests/database/main-0023-check-db-connections.hwf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<workflow> | ||
<name>main-0023-check-db-connections</name> | ||
<name_sync_with_filename>Y</name_sync_with_filename> | ||
<description/> | ||
<extended_description/> | ||
<workflow_version/> | ||
<created_user>-</created_user> | ||
<created_date>2022/12/02 10:04:56.897</created_date> | ||
<modified_user>-</modified_user> | ||
<modified_date>2022/12/02 10:04:56.897</modified_date> | ||
<parameters> | ||
</parameters> | ||
<actions> | ||
<action> | ||
<name>Start</name> | ||
<description/> | ||
<type>SPECIAL</type> | ||
<attributes/> | ||
<DayOfMonth>1</DayOfMonth> | ||
<hour>12</hour> | ||
<intervalMinutes>60</intervalMinutes> | ||
<intervalSeconds>0</intervalSeconds> | ||
<minutes>0</minutes> | ||
<repeat>N</repeat> | ||
<schedulerType>0</schedulerType> | ||
<weekDay>1</weekDay> | ||
<parallel>N</parallel> | ||
<xloc>144</xloc> | ||
<yloc>80</yloc> | ||
<attributes_hac/> | ||
</action> | ||
<action> | ||
<name>Check DB connections</name> | ||
<description/> | ||
<type>CHECK_DB_CONNECTIONS</type> | ||
<attributes/> | ||
<connections> | ||
<connection> | ||
<name>unit-test-db</name> | ||
<waitfor>500</waitfor> | ||
<waittime>millisecond</waittime> | ||
</connection> | ||
</connections> | ||
<parallel>N</parallel> | ||
<xloc>384</xloc> | ||
<yloc>80</yloc> | ||
<attributes_hac/> | ||
</action> | ||
<action> | ||
<name>Abort workflow</name> | ||
<description/> | ||
<type>ABORT</type> | ||
<attributes/> | ||
<always_log_rows>N</always_log_rows> | ||
<message>Failed to check database connection</message> | ||
<parallel>N</parallel> | ||
<xloc>592</xloc> | ||
<yloc>80</yloc> | ||
<attributes_hac/> | ||
</action> | ||
</actions> | ||
<hops> | ||
<hop> | ||
<from>Start</from> | ||
<to>Check DB connections</to> | ||
<enabled>Y</enabled> | ||
<evaluation>Y</evaluation> | ||
<unconditional>Y</unconditional> | ||
</hop> | ||
<hop> | ||
<from>Check DB connections</from> | ||
<to>Abort workflow</to> | ||
<enabled>Y</enabled> | ||
<evaluation>N</evaluation> | ||
<unconditional>N</unconditional> | ||
</hop> | ||
</hops> | ||
<notepads> | ||
</notepads> | ||
<attributes/> | ||
</workflow> |
Oops, something went wrong.