public class Configuration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BROKER_CONF_FILE
The broker configuration file path
|
static java.lang.String |
BROKER_LOCAL_CONF_FILE |
static java.lang.String |
CONTEXT_SCOPE |
static boolean |
ENABLE_GHN_NOTIFICATIONS
If the subscription to notifications for modifications to the GHNs should
be done in the
org.gcube.vremanagement.resourcebroker.impl.services.GHNReservationHandler
. |
static boolean |
ENABLE_PERSISTENCE_REFRESH |
static boolean |
ENABLE_REVOKE_RESERVATION_HANDLER |
static boolean |
ENABLE_RI_NOTIFICATIONS |
static boolean |
ENABLE_UPDATE_GHN_HANDLER |
static int |
FEEDBACK_GLOBAL_TRESHOLD
The threshold for global score of a Feedback.
|
static int |
FEEDBACK_NODE_TRESHOLD
Each single node (inside a PackageGroup block) can be
considered accepted or failed according to the score associated in the
Feedback.
|
static int |
GHN_ACCURACY_WEIGHT
Declares how much a ghn feedback score influences
the choice of "best" GHNs.
|
static float |
GHN_LOAD_WEIGHT |
static int |
GHN_PROFILE_UPDATER_TTL_MINUTES
The delay for next ghn update notification.
|
static int |
GHN_RESERVATION_TTL_MINUTES
The max time a GHN reservation expires.
|
static float |
GHN_RESERVATION_WEIGHT
how much several reservations on the same GHN influence its sorting.
|
static float |
GHN_RI_COUNT_WEIGHT |
static java.lang.String |
GHN_SCORE_KEY |
static java.lang.String |
JNDI_SERVICE_NAME
The JNDI name used to publish the
org.gcube.vremanagement.resourcebroker.impl.services.BrokerService . |
static java.lang.String |
LIVE_GHN_MAX_MINUTES
The max number of minutes from last profile update to consider a GHN
alive.
|
static java.lang.String |
LOGGING_PREFIX
The prefix to use in all classes of this project for logging.
|
static java.lang.String |
NS_CONTEXT
The name space used for
org.gcube.vremanagement.resourcebroker.impl.services.BrokerService elements. |
static java.lang.String |
NS_REGISTRY
The namespace associated to the Registry service used to subscribe for
notifications.
|
static int |
PERSISTENCE_REFRESH_TTL_MINUTES |
static boolean |
PREFETCH_GHNS |
static java.lang.String |
PRJ_PACKAGE_NAME
The package name as specified in build.properties.
|
static java.lang.String |
QUERY_COMMENT_TOKEN |
static int |
RESOURCE_PUBLICATION_MAX_ATTEMPTS
Max tries for publishing the resource.
|
static java.lang.String |
SINGLETON_RESOURCE_KEY
The key to retrieve/publish the resource used in a singleton pattern.
|
static int |
SLEEP_TIME
Delay in seconds for retrying operations.
|
Constructor and Description |
---|
Configuration() |
public static final java.lang.String BROKER_CONF_FILE
public static final java.lang.String BROKER_LOCAL_CONF_FILE
public static final int SLEEP_TIME
public static final java.lang.String JNDI_SERVICE_NAME
org.gcube.vremanagement.resourcebroker.impl.services.BrokerService
.public static final int RESOURCE_PUBLICATION_MAX_ATTEMPTS
public static final java.lang.String LIVE_GHN_MAX_MINUTES
public static final java.lang.String NS_CONTEXT
org.gcube.vremanagement.resourcebroker.impl.services.BrokerService
elements.public static final java.lang.String NS_REGISTRY
public static final java.lang.String SINGLETON_RESOURCE_KEY
public static final int GHN_RESERVATION_TTL_MINUTES
public static final int GHN_PROFILE_UPDATER_TTL_MINUTES
public static final java.lang.String PRJ_PACKAGE_NAME
public static final boolean ENABLE_GHN_NOTIFICATIONS
org.gcube.vremanagement.resourcebroker.impl.services.GHNReservationHandler
.public static final boolean ENABLE_RI_NOTIFICATIONS
public static final boolean ENABLE_REVOKE_RESERVATION_HANDLER
public static final boolean ENABLE_UPDATE_GHN_HANDLER
public static final java.lang.String LOGGING_PREFIX
public static final int FEEDBACK_NODE_TRESHOLD
public static final int FEEDBACK_GLOBAL_TRESHOLD
public static final int GHN_ACCURACY_WEIGHT
public static final float GHN_RESERVATION_WEIGHT
public static final float GHN_RI_COUNT_WEIGHT
public static final float GHN_LOAD_WEIGHT
public static final boolean PREFETCH_GHNS
public static final java.lang.String QUERY_COMMENT_TOKEN
public static final boolean ENABLE_PERSISTENCE_REFRESH
public static final int PERSISTENCE_REFRESH_TTL_MINUTES
public static final java.lang.String GHN_SCORE_KEY
public static final java.lang.String CONTEXT_SCOPE