package m2x.att.client.common;

/**
 * Created by Joaquin on 28/11/14.
 */
public class Constants {

    public static final String API_BASE_URL = "http://api-m2x.att.com/v2"; //PROD
    //public static final String API_BASE_URL = "http://staging-api.m2x.sl.attcompute.com/v2"; //TEST

    //Device calls
    public static final String DEVICE_SEARCH_PUBLIC_CATALOG = API_BASE_URL.concat("/devices/catalog");
    public static final String DEVICE_SEARCH_CATALOG = API_BASE_URL.concat("/devices");
    public static final String DEVICE_LIST_GROUPS = API_BASE_URL.concat("/devices/groups");
    public static final String DEVICE_CREATE = API_BASE_URL.concat("/devices");
    public static final String DEVICE_UPDATE_DETAILS = API_BASE_URL.concat("/devices/%s");
    public static final String DEVICE_VIEW_DETAILS = API_BASE_URL.concat("/devices/%s");
    public static final String DEVICE_READ_LOCATION = API_BASE_URL.concat("/devices/%s/location");
    public static final String DEVICE_UPDATE_LOCATION = API_BASE_URL.concat("/devices/%s/location");
    public static final String DEVICE_LIST_DATA_STREAMS = API_BASE_URL.concat("/devices/%s/streams");
    public static final String DEVICE_CREATE_UPDATE_DATA_STREAMS = API_BASE_URL.concat("/devices/%s/streams/%s");
    public static final String DEVICE_UPDATE_DATA_STREAM_VALUE = API_BASE_URL.concat("/devices/%s/streams/%s/value");
    public static final String DEVICE_VIEW_DATA_STREAM = API_BASE_URL.concat("/devices/%s/streams/%s");
    public static final String DEVICE_LIST_DATA_STREAM_VALUES = API_BASE_URL.concat("/devices/%s/streams/%s/values");
    public static final String DEVICE_LIST_DATA_STREAM_SAMPLING = API_BASE_URL.concat("/devices/%s/streams/%s/sampling");
    public static final String DEVICE_LIST_DATA_STREAM_STATS = API_BASE_URL.concat("/devices/%s/streams/%s/stats");
    public static final String DEVICE_POST_DATA_STREAM_VALUES = API_BASE_URL.concat("/devices/%s/streams/%s/values");
    public static final String DEVICE_DELETE_DATA_STREAM_VALUES = API_BASE_URL.concat("/devices/%s/streams/%s/values");
    public static final String DEVICE_DELETE_DATA_STREAM = API_BASE_URL.concat("/devices/%s/streams/%s");
    public static final String DEVICE_POST_UPDATES = API_BASE_URL.concat("/devices/%s/updates");
    public static final String DEVICE_LIST_TRIGGERS = API_BASE_URL.concat("/devices/%s/triggers");
    public static final String DEVICE_CREATE_TRIGGER = API_BASE_URL.concat("/devices/%s/triggers");
    public static final String DEVICE_VIEW_TRIGGER = API_BASE_URL.concat("/devices/%s/triggers/%s");
    public static final String DEVICE_UPDATE_TRIGGER = API_BASE_URL.concat("/devices/%s/triggers/%s");
    public static final String DEVICE_TEST_TRIGGER = API_BASE_URL.concat("/devices/%s/triggers/%s/test");
    public static final String DEVICE_DELETE_TRIGGER = API_BASE_URL.concat("/devices/%s/triggers/%s");
    public static final String DEVICE_REQUEST_LOG = API_BASE_URL.concat("/devices/%s/log");
    public static final String DEVICE_DELETE = API_BASE_URL.concat("/devices/%s");

    //Distribution
    public static final String DISTRIBUTION_LIST = API_BASE_URL.concat("/distributions");
    public static final String DISTRIBUTION_CREATE = API_BASE_URL.concat("/distributions");
    public static final String DISTRIBUTION_VIEW_DETAILS = API_BASE_URL.concat("/distributions/%s");
    public static final String DISTRIBUTION_UPDATE_DETAILS = API_BASE_URL.concat("/distributions/%s");
    public static final String DISTRIBUTION_LIST_DEVICES = API_BASE_URL.concat("/distributions/%s/devices");
    public static final String DISTRIBUTION_ADD_DEVICE = API_BASE_URL.concat("/distributions/%s/devices");
    public static final String DISTRIBUTION_DELETE = API_BASE_URL.concat("/distributions/%s");
    public static final String DISTRIBUTION_LIST_DATA_STREAMS = API_BASE_URL.concat("/distributions/%s/streams");
    public static final String DISTRIBUTION_CREATE_UPDATE_DATA_STREAMS = API_BASE_URL.concat("/distributions/%s/streams/%s");
    public static final String DISTRIBUTION_VIEW_DATA_STREAMS = API_BASE_URL.concat("/distributions/%s/streams/%s");
    public static final String DISTRIBUTION_DELETE_DATA_STREAMS = API_BASE_URL.concat("/distributions/%s/streams/%s");
    public static final String DISTRIBUTION_LIST_TRIGGERS = API_BASE_URL.concat("/distributions/%s/triggers");
    public static final String DISTRIBUTION_CREATE_TRIGGERS = API_BASE_URL.concat("/distributions/%s/triggers");
    public static final String DISTRIBUTION_VIEW_TRIGGER= API_BASE_URL.concat("/distributions/%s/triggers/%s");
    public static final String DISTRIBUTION_UPDATE_TRIGGER= API_BASE_URL.concat("/distributions/%s/triggers/%s");
    public static final String DISTRIBUTION_TEST_TRIGGER= API_BASE_URL.concat("/distributions/%s/triggers/%s/test");
    public static final String DISTRIBUTION_DELETE_TRIGGER= API_BASE_URL.concat("/distributions/%s/triggers/%s");

    //Keys
    public static final String KEYS_LIST = API_BASE_URL.concat("/keys");
    public static final String KEYS_CREATE = API_BASE_URL.concat("/keys");
    public static final String KEYS_DETAIL = API_BASE_URL.concat("/keys/%s");
    public static final String KEYS_UPDATE = API_BASE_URL.concat("/keys/%s");
    public static final String KEYS_REGENERATE = API_BASE_URL.concat("/keys/%s/regenerate");
    public static final String KEYS_DELETE = API_BASE_URL.concat("/keys/%s");

    //Charts
    public static final String CHARTS_LIST = API_BASE_URL.concat("/charts");
    public static final String CHARTS_CREATE = API_BASE_URL.concat("/charts");
    public static final String CHARTS_VIEW_DETAILS = API_BASE_URL.concat("/charts/%s");
    public static final String CHARTS_UPDATE = API_BASE_URL.concat("/charts/%s");
    public static final String CHARTS_DELETE = API_BASE_URL.concat("/charts/%s");
    public static final String CHARTS_RENDER = API_BASE_URL.concat("/charts/%s.%s");


}

@@ -179,110 +179,8 @@
 PROD
-%0A    //public static final String API_BASE_URL = %22http://staging-api.m2x.sl.attcompute.com/v2%22; //TEST
 %0A%0A  

Update Constants.java