ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Evdokimov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1155) Implement in web-agent feature to extract metadata from RDBMs and send it to web-server.
Date Wed, 29 Jul 2015 18:16:04 GMT

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

Sergey Evdokimov commented on IGNITE-1155:
------------------------------------------

API to request DataBase metadata has been created. Example of usage:
{code}
    var client = agentManager.getAgentManager().getFindClient(currentUserId);

    c.extractMetadata(driverJarPath, 'com.mysql.jdbc.Driver', 'jdbc:mysql://localhost/test',
{user: 'root'}, false, function(err, exception, tablesList) {
            if (err || exception) {
                console.error('Fail');
            }
            else {
                console.info('Extracted tables list:' + JSON.stringify(tablesList));
            }
        });
{code}

Also API of communication between server and agent was deep refactored. New API was described
in IGNITE-1121

Alexey K. please, review

> Implement in web-agent feature to extract metadata from RDBMs and send it to web-server.
> ----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1155
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1155
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Sergey Evdokimov
>            Assignee: Sergey Evdokimov
>
> We need to implement in web-agent feature to extract metadata from RDBMS and send it
to web-server.
> Web agent should:
>  1) Receive a connection parameters to RDBMS (jdbc url, user, password....) from web-server.
>  2) Connect to database, extract metadata.
>  3) Send metadata back to web-server.
> Actually Ignite already has some code to work with database metadata in 'ignite-schema-import'
module.
> But 'ignite-schema-import' module contains UI on javaFX , web-agent must not depend on
javaFX, so UI should be extracted to separated module 'ignite-schema-import-ui'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message