OpsGenie Java SDK


License

License

GroupId

GroupId

com.opsgenie.integration
ArtifactId

ArtifactId

sdk-shaded
Last Version

Last Version

2.8.2
Release Date

Release Date

Type

Type

jar
Description

Description

OpsGenie Java SDK
OpsGenie Java SDK
Project URL

Project URL

https://www.opsgenie.com
Source Code Management

Source Code Management

https://github.com/opsgenie/opsgenieclient

Download sdk-shaded

How to add to project

<!-- https://jarcasting.com/artifacts/com.opsgenie.integration/sdk-shaded/ -->
<dependency>
    <groupId>com.opsgenie.integration</groupId>
    <artifactId>sdk-shaded</artifactId>
    <version>2.8.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.opsgenie.integration/sdk-shaded/
implementation 'com.opsgenie.integration:sdk-shaded:2.8.2'
// https://jarcasting.com/artifacts/com.opsgenie.integration/sdk-shaded/
implementation ("com.opsgenie.integration:sdk-shaded:2.8.2")
'com.opsgenie.integration:sdk-shaded:jar:2.8.2'
<dependency org="com.opsgenie.integration" name="sdk-shaded" rev="2.8.2">
  <artifact name="sdk-shaded" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.opsgenie.integration', module='sdk-shaded', version='2.8.2')
)
libraryDependencies += "com.opsgenie.integration" % "sdk-shaded" % "2.8.2"
[com.opsgenie.integration/sdk-shaded "2.8.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

OpsGenie Client

The project includes:

  • Java SDK
  • Marid

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.

com.opsgenie.integration

Opsgenie

Always on services

Versions

Version
2.8.2
2.8.1
2.8.0
2.7.0
2.6.1
2.6.0
2.5.2
2.5.1
2.5.0
2.4.2