Skip to content

Commit 1073685

Browse files
authored
#1 Added push-down testing util (#2)
* #1 Added push-down testing util
1 parent 49abd86 commit 1073685

File tree

15 files changed

+1187
-4
lines changed

15 files changed

+1187
-4
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: GitHub Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
upload_url:
7+
description: 'Upload URL'
8+
required: true
9+
asset_name:
10+
description: 'Asset file name'
11+
required: true
12+
asset_path:
13+
description: 'Asset file path'
14+
required: true
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up JDK 11
22+
uses: actions/setup-java@v1
23+
with:
24+
java-version: 11
25+
- name: Build with Maven
26+
run: mvn -B clean package --file pom.xml
27+
28+
- name: Upload Release Asset
29+
uses: actions/upload-release-asset@v1
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
with:
33+
upload_url: ${{ github.event.inputs.upload_url }}
34+
asset_path: ${{ github.event.inputs.asset_path }}
35+
asset_name: ${{ github.event.inputs.asset_name }}
36+
asset_content_type: application/java-archive

.github/workflows/maven.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Dependencies Check
5+
6+
on:
7+
schedule:
8+
- cron: "0 2 * * *"
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 11
20+
- name: Checking dependencies for vulnerabilities
21+
run: mvn org.sonatype.ossindex.maven:ossindex-maven-plugin:audit -f pom.xml

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/target/
2+
pom.xml.versionsBackup
23

34
# Eclipse and Maven
45
.classpath
@@ -13,10 +14,6 @@ dependency-reduced-pom.xml
1314
# Intellij recommends to share iml files, however, better don't share files which might be outdated
1415
*.iml
1516

16-
# Integration tests
17-
src/test/resources/integration/driver/hive/*.jar
18-
src/test/resources/integration/driver/oracle/*.jar
19-
src/test/resources/integration/driver/oracle/*.zip
2017

2118
# Others
2219
.DS_Store

.settings/org.eclipse.jdt.core.prefs

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

.settings/org.eclipse.jdt.ui.prefs

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
cleanup.add_default_serial_version_id=true
2+
cleanup.add_generated_serial_version_id=false
3+
cleanup.add_missing_annotations=true
4+
cleanup.add_missing_deprecated_annotations=true
5+
cleanup.add_missing_methods=false
6+
cleanup.add_missing_nls_tags=false
7+
cleanup.add_missing_override_annotations=true
8+
cleanup.add_missing_override_annotations_interface_methods=true
9+
cleanup.add_serial_version_id=false
10+
cleanup.always_use_blocks=true
11+
cleanup.always_use_parentheses_in_expressions=false
12+
cleanup.always_use_this_for_non_static_field_access=true
13+
cleanup.always_use_this_for_non_static_method_access=false
14+
cleanup.convert_functional_interfaces=true
15+
cleanup.convert_to_enhanced_for_loop=true
16+
cleanup.correct_indentation=true
17+
cleanup.format_source_code=true
18+
cleanup.format_source_code_changes_only=false
19+
cleanup.insert_inferred_type_arguments=false
20+
cleanup.make_local_variable_final=true
21+
cleanup.make_parameters_final=true
22+
cleanup.make_private_fields_final=true
23+
cleanup.make_type_abstract_if_missing_method=false
24+
cleanup.make_variable_declarations_final=true
25+
cleanup.never_use_blocks=false
26+
cleanup.never_use_parentheses_in_expressions=true
27+
cleanup.organize_imports=false
28+
cleanup.qualify_static_field_accesses_with_declaring_class=false
29+
cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
30+
cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
31+
cleanup.qualify_static_member_accesses_with_declaring_class=true
32+
cleanup.qualify_static_method_accesses_with_declaring_class=false
33+
cleanup.remove_private_constructors=true
34+
cleanup.remove_redundant_modifiers=false
35+
cleanup.remove_redundant_semicolons=true
36+
cleanup.remove_redundant_type_arguments=true
37+
cleanup.remove_trailing_whitespaces=true
38+
cleanup.remove_trailing_whitespaces_all=true
39+
cleanup.remove_trailing_whitespaces_ignore_empty=false
40+
cleanup.remove_unnecessary_casts=true
41+
cleanup.remove_unnecessary_nls_tags=true
42+
cleanup.remove_unused_imports=true
43+
cleanup.remove_unused_local_variables=false
44+
cleanup.remove_unused_private_fields=true
45+
cleanup.remove_unused_private_members=true
46+
cleanup.remove_unused_private_methods=true
47+
cleanup.remove_unused_private_types=true
48+
cleanup.sort_members=false
49+
cleanup.sort_members_all=false
50+
cleanup.use_anonymous_class_creation=false
51+
cleanup.use_blocks=true
52+
cleanup.use_blocks_only_for_return_and_throw=false
53+
cleanup.use_lambda=true
54+
cleanup.use_parentheses_in_expressions=true
55+
cleanup.use_this_for_non_static_field_access=true
56+
cleanup.use_this_for_non_static_field_access_only_if_necessary=false
57+
cleanup.use_this_for_non_static_method_access=false
58+
cleanup.use_this_for_non_static_method_access_only_if_necessary=true
59+
cleanup_profile=_Exasol
60+
cleanup_settings_version=2
61+
eclipse.preferences.version=1
62+
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
63+
formatter_profile=_Exasol
64+
formatter_settings_version=16
65+
org.eclipse.jdt.ui.ignorelowercasenames=true
66+
org.eclipse.jdt.ui.importorder=java;javax;org;com;
67+
org.eclipse.jdt.ui.ondemandthreshold=3
68+
org.eclipse.jdt.ui.staticondemandthreshold=3
69+
sp_cleanup.add_default_serial_version_id=true
70+
sp_cleanup.add_generated_serial_version_id=false
71+
sp_cleanup.add_missing_annotations=true
72+
sp_cleanup.add_missing_deprecated_annotations=true
73+
sp_cleanup.add_missing_methods=false
74+
sp_cleanup.add_missing_nls_tags=false
75+
sp_cleanup.add_missing_override_annotations=true
76+
sp_cleanup.add_missing_override_annotations_interface_methods=true
77+
sp_cleanup.add_serial_version_id=false
78+
sp_cleanup.always_use_blocks=true
79+
sp_cleanup.always_use_parentheses_in_expressions=true
80+
sp_cleanup.always_use_this_for_non_static_field_access=true
81+
sp_cleanup.always_use_this_for_non_static_method_access=false
82+
sp_cleanup.convert_functional_interfaces=true
83+
sp_cleanup.convert_to_enhanced_for_loop=true
84+
sp_cleanup.correct_indentation=true
85+
sp_cleanup.format_source_code=true
86+
sp_cleanup.format_source_code_changes_only=false
87+
sp_cleanup.insert_inferred_type_arguments=false
88+
sp_cleanup.make_local_variable_final=true
89+
sp_cleanup.make_parameters_final=true
90+
sp_cleanup.make_private_fields_final=true
91+
sp_cleanup.make_type_abstract_if_missing_method=false
92+
sp_cleanup.make_variable_declarations_final=true
93+
sp_cleanup.never_use_blocks=false
94+
sp_cleanup.never_use_parentheses_in_expressions=false
95+
sp_cleanup.on_save_use_additional_actions=true
96+
sp_cleanup.organize_imports=true
97+
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
98+
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
99+
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
100+
sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
101+
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
102+
sp_cleanup.remove_private_constructors=true
103+
sp_cleanup.remove_redundant_modifiers=false
104+
sp_cleanup.remove_redundant_semicolons=true
105+
sp_cleanup.remove_redundant_type_arguments=true
106+
sp_cleanup.remove_trailing_whitespaces=true
107+
sp_cleanup.remove_trailing_whitespaces_all=true
108+
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
109+
sp_cleanup.remove_unnecessary_casts=true
110+
sp_cleanup.remove_unnecessary_nls_tags=true
111+
sp_cleanup.remove_unused_imports=true
112+
sp_cleanup.remove_unused_local_variables=false
113+
sp_cleanup.remove_unused_private_fields=true
114+
sp_cleanup.remove_unused_private_members=false
115+
sp_cleanup.remove_unused_private_methods=true
116+
sp_cleanup.remove_unused_private_types=true
117+
sp_cleanup.sort_members=false
118+
sp_cleanup.sort_members_all=false
119+
sp_cleanup.use_anonymous_class_creation=false
120+
sp_cleanup.use_blocks=true
121+
sp_cleanup.use_blocks_only_for_return_and_throw=false
122+
sp_cleanup.use_lambda=true
123+
sp_cleanup.use_parentheses_in_expressions=true
124+
sp_cleanup.use_this_for_non_static_field_access=true
125+
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false
126+
sp_cleanup.use_this_for_non_static_method_access=false
127+
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Exasol
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

NOTICE

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
This project has the following dependencies:
2+
Apache Commons Compress under Apache License, Version 2.0
3+
asm under BSD-3-Clause
4+
asm-analysis under BSD-3-Clause
5+
asm-commons under BSD-3-Clause
6+
asm-tree under BSD-3-Clause
7+
Duct Tape under MIT
8+
EXASolution JDBC Driver under EXAClient License
9+
Hamcrest Core under New BSD License
10+
JaCoCo :: Agent under Eclipse Public License 2.0
11+
JaCoCo :: Core under Eclipse Public License 2.0
12+
Java Native Access under LGPL, version 2.1 or Apache License v2.0
13+
Java Native Access Platform under LGPL, version 2.1 or Apache License v2.0
14+
JetBrains Java Annotations under The Apache Software License, Version 2.0
15+
JSR 374 (JSON Processing) API under Dual license consisting of the CDDL v1.1 and GPL v2
16+
JUnit under Eclipse Public License 1.0
17+
JUnit Jupiter API under Eclipse Public License v2.0
18+
JUnit Jupiter Engine under Eclipse Public License v2.0
19+
JUnit Jupiter Params under Eclipse Public License v2.0
20+
JUnit Platform Commons under Eclipse Public License v2.0
21+
JUnit Platform Engine API under Eclipse Public License v2.0
22+
JUnit Platform Launcher under Eclipse Public License v2.0
23+
JUnit Platform Runner under Eclipse Public License v2.0
24+
JUnit Platform Suite API under Eclipse Public License v2.0
25+
junixsocket-common under Apache License, Version 2.0
26+
junixsocket-native-common under Apache License, Version 2.0
27+
Native Library Loader under CC0 1.0 Universal License
28+
org.apiguardian:apiguardian-api under The Apache License, Version 2.0
29+
org.opentest4j:opentest4j under The Apache License, Version 2.0
30+
SLF4J API Module under MIT License
31+
SLF4J JDK14 Binding under MIT License
32+
TCP to Unix Socket Proxy under MIT
33+
Test containers for Exasol on Docker under MIT
34+
Testcontainers :: Database-Commons under MIT
35+
Testcontainers :: JDBC under MIT
36+
Testcontainers :: JUnit Jupiter Extension under MIT
37+
Testcontainers Core under MIT
38+
udf-debugging-java under MIT
39+
Visible Assertions under MIT
40+

NOTICE.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This project has the following dependencies:
2+
#GENERATED_NOTICES#

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# UDF Debugging Tools for Java
2+
3+
This repository contains tools for debugging UDFs.
4+
5+
## Installation
6+
7+
Install as maven dependency.
8+
You can get the dependency declaration by clicking the maven badge above.
9+
10+
## Additional Information
11+
12+
* [Changelog](doc/changes/changelog.md)
13+
* [Dependencies](NOTICE)

assembly/all-dependencies.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
2+
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
3+
<id>all-dependencies</id>
4+
<formats>
5+
<format>jar</format>
6+
</formats>
7+
<includeBaseDirectory>false</includeBaseDirectory>
8+
<!-- There is a bug caused by Maven assembly. See http://stackoverflow.com/questions/17265002/hadoop-no-filesystem-for-scheme-file
9+
and https://jira.codehaus.org/browse/MASSEMBLY-209 -->
10+
<containerDescriptorHandlers>
11+
<containerDescriptorHandler>
12+
<handlerName>metaInf-services</handlerName>
13+
</containerDescriptorHandler>
14+
</containerDescriptorHandlers>
15+
<dependencySets>
16+
<dependencySet>
17+
<unpack>true</unpack>
18+
<scope>runtime</scope>
19+
<outputDirectory>/</outputDirectory>
20+
</dependencySet>
21+
</dependencySets>
22+
</assembly>

0 commit comments

Comments
 (0)