Ark CDC HTTP Client ========================== Ark CDC HTTP Client project. Java HTTP Clinet library or Ark CDC HTTP API Java library. Building Instructions ---------------------
$ mvn package
Dependencies ------------ requires Java 1.7 compatible runtime. Getting Started ---------------

    @Test
    public void test1() {

        ArkHttpApi api = new ArkHttpApi("http://172.16.0.172:50000");
        try {

            if (api.authentication("arkcdc", "dbsark")) {
                String peer = api.getPeer();
                System.out.println(peer);
            }

        } catch (Exception e) {
            e.printStackTrace();
            fail(e.getMessage());
        } finally {
            try {
                api.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    }

    @Test
    public void test2() {

        try (ArkHttpApi api = new ArkHttpApi("http://172.16.0.172:50000", "arkcdc", "dbsark")) {

            System.out.println(api.getPeer());

        } catch (Exception e) {
            e.printStackTrace();
            fail(e.getMessage());
        }

    }

Licensing --------- Apache License 2.0. See the files called LICENSE.txt and NOTICE.txt for more information. Contact ------- http://idatabank.com/