Giter Site home page Giter Site logo

sepatel / tekniq Goto Github PK

View Code? Open in Web Editor NEW
35.0 2.0 8.0 428 KB

A framework designed around Kotlin providing Restful HTTP Client, JDBC DSL, Loading Cache, Configurations, Validations, and more

License: MIT License

Kotlin 100.00%
kotlin rest spark java dsl config jdbc gradle

tekniq's Introduction

tekniq

A framework designed around Kotlin. Modules include

tekniq-core (click for more info)

A suite of tools that have no dependencies on other libraries providing capabilities such as loading cache, configurations, tracking tools, and more.

Gradle

implementation "io.tekniq:tekniq-core:0.+"

Maven Dependency

<dependency>
    <groupId>io.tekniq</groupId>
    <artifactId>tekniq-core</artifactId>
    <version>0.+</version>
</dependency>

tekniq-cache (click for more info)

A kotlin friendly wrapper around Caffeine that conforms to the TqCache interface making it easy to switch to a more advanced loading cache implementation.

Gradle

implementation "io.tekniq:tekniq-cache:0.+"

Maven Dependency

<dependency>
    <groupId>io.tekniq</groupId>
    <artifactId>tekniq-cache</artifactId>
    <version>0.+</version>
</dependency>

tekniq-jdbc (click for more info)

Provides extensions to the DataSource and Connection objects allowing one to more cleanly and easily work with the JDBC APIs with the kotlin idiom supported. Does not require overhead of object mappings or such.

Gradle

implementation "io.tekniq:tekniq-jdbc:0.+"

Maven Dependency

<dependency>
    <groupId>io.tekniq</groupId>
    <artifactId>tekniq-jdbc</artifactId>
    <version>0.+</version>
</dependency>

tekniq-rest (click for more info)

A tool utilizing jackson-mapper for making RESTful calls to web services.

Gradle

implementation "io.tekniq:tekniq-rest:0.+"

Maven Dependency

<dependency>
    <groupId>io.tekniq</groupId>
    <artifactId>tekniq-rest</artifactId>
    <version>0.+</version>
</dependency>

tekniq's People

Contributors

sepatel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tekniq's Issues

Bug using LocalDate parameter to sql queries

I found a rather obnoxious bug using tekniq-jdbc to do sql queries. When passing a LocalDate as a parameter to the sql query, the resulting date ends up 1900 years in the future.
The reason being that the java.util.Date and java.sql.Date constructors which take the year, month and day assume the year is years since 1900 and add that many years to the date.

Instead, it is recommended to use java.sql.Date.valueOf(myLocalDate) instead (ref: line 80 of TqConnectionExt.kt)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.