Nothing Special   »   [go: up one dir, main page]

Skip to content

lebenitza/opsgenieclient

 
 

Repository files navigation

OpsGenie Client

The project includes:

  • Java SDK
  • Marid (Deprecated)

Java SDK For Maven and Gradle

Maven

You can add OpsGenie Repository and SDK as dependency. Example:

<dependencies>
  	<dependency>
  		<groupId>com.opsgenie.integration</groupId>
  		<artifactId>sdk</artifactId>
  		<version>[2.0.0,)</version>
  	</dependency>
  </dependencies>

Gradle

You can add OpsGenie Repository and SDK as dependeny. Example:

dependencies {
	compile "com.opsgenie.integration:sdk:2+"
}

Build

Requires JDK 1.7

This is a gradle project so you can build by running build task

Unix: ./gradlew build

Windows: gradlew.bat build

###Packaging RPM and DEB

####Tasks####

  • packageMaridRpm: Packages Marid rpm for Redhat based systems

  • packageMaridDeb: Packages Marid deb for Debian based systems

  • packageMaridZip: Packages Marid zip for other systems

  • packageMarid: Packages Marid all types

You can run the tasks:

For Unix systems: ./gradlew packageMarid

For Windows systems: gradlew.bat packageMarid

###Testing###

If you want to run tests you must copy Test.example.properties as Test.properties and set your Pubnub account keys.

If you want to skip tests, just run commands:

./gradlew packageMarid -x test

Note: If you use IntellijIdea you can edit run configurations for gradle task and add -x test to task input.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 62.6%
  • Groovy 36.6%
  • Other 0.8%