This repository contains examples for using the External Split API using JAVA 8.
Gradle is needed to run these examples.
gradle runSplitExample -PadminToken="ADMIN_TOKEN"
This script will CREATE and DELETE a Split of traffic type user in your Organization. If your Organization does not have a traffic type user, change it on SplitExample.java.
gradle runSplitDefinitionExample -PadminToken="ADMIN_TOKEN"
It is worth noting that it will perform a series of actions, including creating some Splits in the Staging environment. If you want to change the environment or the traffic type, change it on SplitDefinitionExample.java.