Skip to content

Commit d02ba26

Browse files
committed
initial commit
0 parents  commit d02ba26

File tree

17 files changed

+1370
-0
lines changed

17 files changed

+1370
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target/
2+
.idea/
3+
*.iml

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Change Log
2+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
3+
and this project adheres to [Semantic Versioning](http://semver.org/).
4+
5+
## 0.1.0 (03/01/18)
6+
- Initial release!

LICENSE.txt

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

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Kafka-Connect Java REST API Client
2+
3+
## What is it?
4+
5+
This library intends to be....todo
6+
7+
**Note** It currently is not fully featured/fully implemented. If there is a feature/end point that you
8+
need that is not yet implemented, please read the **[How to Contribute](#how-to-contribute)** section, or **[Create an issue](#)**
9+
requesting it.
10+
11+
**Note** Use this library at your own risk! Currently there are no known issues, but as an **unofficial** library,
12+
there are no guarantees.
13+
14+
## How to use this library
15+
16+
This client library is released on Maven Central. Add a new dependency to your project's POM file:
17+
18+
```xml
19+
<dependency>
20+
<groupId>org.sourcelab</groupId>
21+
<artifactId>kafka-connect-client</artifactId>
22+
<version>0.1.0</version>
23+
</dependency>
24+
```
25+
26+
Example Code:
27+
```java
28+
// TODO
29+
```
30+
31+
## What Features are implemented?
32+
33+
### Accounts
34+
Official Documentation: [TODO](#)
35+
36+
## How to Contribute
37+
38+
Want to help implement the missing API end points? Fork the repository, write some code, and
39+
submit a PR to the project!
40+
41+
## Changelog
42+
43+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
44+
and this project adheres to [Semantic Versioning](http://semver.org/).
45+
46+
[View Changelog](CHANGELOG.md)
47+
48+
49+

build/LICENSE.txt

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

build/checkstyle-v1.5.xml

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE module PUBLIC
3+
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4+
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5+
<module name = "Checker">
6+
<property name="charset" value="UTF-8"/>
7+
8+
<property name="severity" value="warning"/>
9+
10+
<!-- Checks for whitespace -->
11+
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
12+
<module name="FileTabCharacter">
13+
<property name="eachLine" value="true"/>
14+
</module>
15+
16+
<module name="TreeWalker">
17+
<module name="OuterTypeFilename"/>
18+
<module name="IllegalTokenText">
19+
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
20+
<property name="format" value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
21+
<property name="message" value="Avoid using corresponding octal or Unicode escape."/>
22+
</module>
23+
<module name="AvoidEscapedUnicodeCharacters">
24+
<property name="allowEscapesForControlCharacters" value="true"/>
25+
<property name="allowByTailComment" value="true"/>
26+
<property name="allowNonPrintableEscapes" value="true"/>
27+
</module>
28+
<module name="LineLength">
29+
<property name="max" value="255"/>
30+
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
31+
</module>
32+
<module name="AvoidStarImport"/>
33+
<module name="OneTopLevelClass"/>
34+
<module name="NoLineWrap"/>
35+
<module name="EmptyBlock">
36+
<property name="option" value="TEXT"/>
37+
<property name="tokens" value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
38+
</module>
39+
<module name="NeedBraces"/>
40+
<module name="LeftCurly">
41+
<property name="maxLineLength" value="100"/>
42+
</module>
43+
<module name="RightCurly"/>
44+
<module name="RightCurly">
45+
<property name="option" value="alone"/>
46+
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"/>
47+
</module>
48+
<module name="WhitespaceAround">
49+
<property name="allowEmptyConstructors" value="true"/>
50+
<property name="allowEmptyMethods" value="true"/>
51+
<property name="allowEmptyTypes" value="true"/>
52+
<property name="allowEmptyLoops" value="true"/>
53+
<message key="ws.notFollowed"
54+
value="WhitespaceAround: ''{0}'' is not followed by whitespace."/>
55+
<message key="ws.notPreceded"
56+
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
57+
</module>
58+
<module name="OneStatementPerLine"/>
59+
<module name="MultipleVariableDeclarations"/>
60+
<module name="ArrayTypeStyle"/>
61+
<module name="MissingSwitchDefault"/>
62+
<module name="FallThrough"/>
63+
<module name="UpperEll"/>
64+
<module name="ModifierOrder"/>
65+
<module name="EmptyLineSeparator">
66+
<property name="allowNoEmptyLineBetweenFields" value="true"/>
67+
</module>
68+
<module name="SeparatorWrap">
69+
<property name="tokens" value="DOT"/>
70+
<property name="option" value="nl"/>
71+
</module>
72+
<module name="SeparatorWrap">
73+
<property name="tokens" value="COMMA"/>
74+
<property name="option" value="EOL"/>
75+
</module>
76+
<module name="PackageName">
77+
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
78+
<message key="name.invalidPattern"
79+
value="Package name ''{0}'' must match pattern ''{1}''."/>
80+
</module>
81+
<module name="TypeName">
82+
<message key="name.invalidPattern"
83+
value="Type name ''{0}'' must match pattern ''{1}''."/>
84+
</module>
85+
<module name="MemberName">
86+
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
87+
<message key="name.invalidPattern"
88+
value="Member name ''{0}'' must match pattern ''{1}''."/>
89+
</module>
90+
<module name="ParameterName">
91+
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
92+
<message key="name.invalidPattern"
93+
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
94+
</module>
95+
<module name="LocalVariableName">
96+
<property name="tokens" value="VARIABLE_DEF"/>
97+
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
98+
<property name="allowOneCharVarInForLoop" value="true"/>
99+
<message key="name.invalidPattern"
100+
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
101+
</module>
102+
<module name="ClassTypeParameterName">
103+
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
104+
<message key="name.invalidPattern"
105+
value="Class type name ''{0}'' must match pattern ''{1}''."/>
106+
</module>
107+
<module name="MethodTypeParameterName">
108+
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
109+
<message key="name.invalidPattern"
110+
value="Method type name ''{0}'' must match pattern ''{1}''."/>
111+
</module>
112+
<module name="NoFinalizer"/>
113+
<module name="GenericWhitespace">
114+
<message key="ws.followed"
115+
value="GenericWhitespace ''{0}'' is followed by whitespace."/>
116+
<message key="ws.preceded"
117+
value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
118+
<message key="ws.illegalFollow"
119+
value="GenericWhitespace ''{0}'' should followed by whitespace."/>
120+
<message key="ws.notPreceded"
121+
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
122+
</module>
123+
<module name="Indentation">
124+
<property name="basicOffset" value="4"/>
125+
<property name="braceAdjustment" value="0"/>
126+
<property name="caseIndent" value="4"/>
127+
<property name="throwsIndent" value="4"/>
128+
<property name="lineWrappingIndentation" value="4"/>
129+
<property name="arrayInitIndent" value="4"/>
130+
</module>
131+
<module name="AbbreviationAsWordInName">
132+
<property name="ignoreFinal" value="false"/>
133+
<property name="allowedAbbreviationLength" value="1"/>
134+
</module>
135+
<module name="OverloadMethodsDeclarationOrder"/>
136+
<module name="VariableDeclarationUsageDistance"/>
137+
<module name="MethodParamPad"/>
138+
<module name="OperatorWrap">
139+
<property name="option" value="NL"/>
140+
<property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
141+
</module>
142+
<module name="AnnotationLocation">
143+
<property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
144+
</module>
145+
<module name="AnnotationLocation">
146+
<property name="tokens" value="VARIABLE_DEF"/>
147+
<property name="allowSamelineMultipleAnnotations" value="true"/>
148+
</module>
149+
<module name="NonEmptyAtclauseDescription"/>
150+
<module name="JavadocTagContinuationIndentation"/>
151+
<module name="SummaryJavadocCheck">
152+
<property name="forbiddenSummaryFragments" value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
153+
</module>
154+
<module name="AtclauseOrder">
155+
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
156+
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
157+
</module>
158+
<module name="JavadocMethod">
159+
<property name="scope" value="public"/>
160+
<property name="allowMissingParamTags" value="true"/>
161+
<property name="allowMissingThrowsTags" value="true"/>
162+
<property name="allowMissingReturnTag" value="true"/>
163+
<property name="minLineCount" value="2"/>
164+
<property name="allowedAnnotations" value="Override, Test"/>
165+
<property name="allowThrowsTagsForSubclasses" value="true"/>
166+
</module>
167+
<module name="JavadocStyle">
168+
<property name="scope" value="public"/>
169+
<property name="checkFirstSentence" value="false"/>
170+
</module>
171+
<!-- Require Java Docs on all Public interfaces, enums, and classes -->
172+
<module name="JavadocType">
173+
<property name="scope" value="public"/>
174+
<property name="tokens" value="INTERFACE_DEF, CLASS_DEF, ENUM_DEF"/>
175+
</module>
176+
<module name="MethodName">
177+
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
178+
<message key="name.invalidPattern"
179+
value="Method name ''{0}'' must match pattern ''{1}''."/>
180+
</module>
181+
<module name="SingleLineJavadoc"/>
182+
</module>
183+
</module>

0 commit comments

Comments
 (0)