sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-1518) DOC: Update the Rest api.rst ( obsolete the apache confluence)
Date Wed, 05 Nov 2014 15:50:34 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Veena Basavaraj updated SQOOP-1518:
-----------------------------------
    Description: 
http://sqoop.apache.org/docs/1.99.3/RESTAPI.html

examples of the JSON.

CONNECTOR:
GET
http://10.20.194.157:12000/sqoop/v1/connectors
http://10.20.194.157:12000/sqoop/v1/connector/1
http://10.20.194.157:12000/sqoop/v1/connector/generic-jdbc-connector

DRIVER:
GET
http://10.20.194.157:12000/sqoop/v1/driver

UBER CONFIGURABLE:
GET
http://10.20.194.157:12000/sqoop/v1/configurable/driver
http://10.20.194.157:12000/sqoop/v1/configurable/connector/1

LINK:
GET
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links?cname=hdfs-connector
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lId}
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}

POST ( create link)

http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link ( with postData for the link details
and link config map )

PUT/DELETE ( update/ delete link)
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}


JOB

GET
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs?cname=hdfs-connector
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jid}
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}

disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}/status

POST ( create link)

http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job ( with postData for the job details and
the from/to and driver config  )

PUT/DELETE ( update/ delete job)
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}

PUT but with  ACTIONS
start http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/start and the jobId in post Data
stop http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/stop and the jobId in post Data
enable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/enable and the jobId in post Data
disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/disable and the jobId in post
Data



SUBMISSIONs

http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/submissions




  was:
http://sqoop.apache.org/docs/1.99.3/RESTAPI.html

examples of the JSON.

CONNECTOR:
GET
http://10.20.194.157:12000/sqoop/v1/connectors
http://10.20.194.157:12000/sqoop/v1/connector/1
http://10.20.194.157:12000/sqoop/v1/connector/generic-jdbc-connector

DRIVER:
GET
http://10.20.194.157:12000/sqoop/v1/driver

UBER CONFIGURABLE:
GET
http://10.20.194.157:12000/sqoop/v1/configurable/driver
http://10.20.194.157:12000/sqoop/v1/configurable/connector/1

LINK:
GET
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links?cname=hdfs-connector
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lId}
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}

POST ( create link)

http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link ( with postData for the link details
and link config map )

PUT/DELETE ( update/ delete link)
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}


JOB

GET
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs?cname=hdfs-connector
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jid}
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}

POST ( create link)

http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job ( with postData for the job details and
the from/to and driver config  )

PUT/DELETE ( update/ delete job)
http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}

PUT but with 
ACTIONS
start http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/start
stop http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/stop
enable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/enable
disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/disable

SUBMISSION







> DOC: Update the Rest api.rst ( obsolete the apache confluence)
> --------------------------------------------------------------
>
>                 Key: SQOOP-1518
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1518
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.4
>
>
> http://sqoop.apache.org/docs/1.99.3/RESTAPI.html
> examples of the JSON.
> CONNECTOR:
> GET
> http://10.20.194.157:12000/sqoop/v1/connectors
> http://10.20.194.157:12000/sqoop/v1/connector/1
> http://10.20.194.157:12000/sqoop/v1/connector/generic-jdbc-connector
> DRIVER:
> GET
> http://10.20.194.157:12000/sqoop/v1/driver
> UBER CONFIGURABLE:
> GET
> http://10.20.194.157:12000/sqoop/v1/configurable/driver
> http://10.20.194.157:12000/sqoop/v1/configurable/connector/1
> LINK:
> GET
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links?cname=hdfs-connector
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lId}
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}
> POST ( create link)
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link ( with postData for the link details
and link config map )
> PUT/DELETE ( update/ delete link)
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}
> JOB
> GET
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs?cname=hdfs-connector
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jid}
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}
> disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}/status
> POST ( create link)
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job ( with postData for the job details
and the from/to and driver config  )
> PUT/DELETE ( update/ delete job)
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}
> PUT but with  ACTIONS
> start http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/start and the jobId in post
Data
> stop http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/stop and the jobId in post
Data
> enable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/enable and the jobId in post
Data
> disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/disable and the jobId in
post Data
> SUBMISSIONs
> http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/submissions



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

Mime
View raw message