Skip to content

nimaeskandary/vinyldns-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vinyldns-java

Java client for working with VinylDNS

Add to your maven project

Dependency

To pull the latest version from Sonatype, add a dependency to the pom.xml file corresponding to the Sonatype version you want to use:

<dependency>
  <groupId>vinyldns</groupId>
  <artifactId>vinyldns-java</artifactId>
  <version>0.7.1</version> <!-- Replace with the latest release version -->
</dependency>

To pull in a local package of vinyldns-java as a Maven dependency, the project needs to be published to your local Maven repository by running the following command from the project root folder:

mvn clean install

Usage

AWSCredentials credentials = new BasicAWSCredentials("key", "secret");
VinylDNSClientConfig config = new VinylDNSClientConfig("https://path.to.your.vinyldns", credentials);

VinylDNSClient client = new VinylDNSClientImpl(config);

VinylDNSResponse<ListZonesResponse> listZonesResponse = client.listZones(new ListZonesRequest());

See VinylDNSClient interface to get more methods

Testing

vinyldns-java has a suite of unit tests to run to test expected behavior. To run the suite of tests, run the following command from the project root folder:

mvn test

About

Java client for VinylDNS

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.5%
  • Shell 0.5%