hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDDS-1189) Recon Aggregate DB schema and ORM
Date Thu, 28 Mar 2019 15:45:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16803622#comment-16803622
] 

Siddharth Wagle edited comment on HDDS-1189 at 3/28/19 3:44 PM:
----------------------------------------------------------------

_Patch adds following functionality_:
- Persistence module based on Jooq ORM
- Auto code generation feature for POJOS and DAO objects that can be used to manipulate recon
SQL DB
- SQL lite default database injection
- Java-based DDL generation example for future patches.

_General theme_: *minimize boilerplate* and "dialect independent*

cc: [~arpitagarwal]/[~avijayan]/[~linyiqun] for taking a look when possible. 



was (Author: swagle):
_Patch adds following functionality_:
- Persistence module based on Jooq ORM
- Auto code generation feature for POJOS and DAO objects that can be used to manipulate recon
SQL DB
- SQL lite default database injection
- Java-based DDL generation example for future patches.

cc: [~arpitagarwal]/[~avijayan]/[~linyiqun] for taking a look when possible. 


> Recon Aggregate DB schema and ORM
> ---------------------------------
>
>                 Key: HDDS-1189
>                 URL: https://issues.apache.org/jira/browse/HDDS-1189
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>    Affects Versions: 0.5.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Major
>             Fix For: 0.5.0
>
>         Attachments: HDDS-1189.01.patch, HDDS-1189.02.patch
>
>
> _Objectives_
> - Define V1 of the db schema for recon service
> - The current proposal is to use jOOQ as the ORM for SQL interaction. For two main reasons:
a) powerful DSL for querying, that abstracts out SQL dialects, b) Allows code to schema and
schema to code seamless transition, critical for creating DDL through the code and unit testing
across versions of the application.
> - Add e2e unit tests suite for Recon entities, created based on the design doc



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message