Search in sources :

Example 6 with ElideStandalone

use of com.yahoo.elide.standalone.ElideStandalone in project elide by yahoo.

the class ElideStandaloneSubscriptionTest method init.

@BeforeAll
public void init() throws Exception {
    settings = new ElideStandaloneTestSettings() {

        @Override
        public ElideStandaloneSubscriptionSettings getSubscriptionProperties() {
            return new ElideStandaloneSubscriptionSettings() {

                @Override
                public boolean enabled() {
                    return true;
                }

                @Override
                public ConnectionFactory getConnectionFactory() {
                    return new ActiveMQConnectionFactory("vm://0");
                }
            };
        }
    };
    elide = new ElideStandalone(settings);
    elide.start(false);
}
Also used : ActiveMQConnectionFactory(org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory) ActiveMQConnectionFactory(org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory) ConnectionFactory(javax.jms.ConnectionFactory) ElideStandaloneSubscriptionSettings(com.yahoo.elide.standalone.config.ElideStandaloneSubscriptionSettings) ElideStandalone(com.yahoo.elide.standalone.ElideStandalone) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

ElideStandalone (com.yahoo.elide.standalone.ElideStandalone)6 BeforeAll (org.junit.jupiter.api.BeforeAll)6 ElideStandaloneAnalyticSettings (com.yahoo.elide.standalone.config.ElideStandaloneAnalyticSettings)4 JSONAPI_CONTENT_TYPE (com.yahoo.elide.Elide.JSONAPI_CONTENT_TYPE)1 EntityDictionary (com.yahoo.elide.core.dictionary.EntityDictionary)1 Injector (com.yahoo.elide.core.dictionary.Injector)1 HttpStatus (com.yahoo.elide.core.exceptions.HttpStatus)1 Check (com.yahoo.elide.core.security.checks.Check)1 Role (com.yahoo.elide.core.security.checks.prefab.Role)1 Type (com.yahoo.elide.core.type.Type)1 ClassScanner (com.yahoo.elide.core.utils.ClassScanner)1 CoerceUtil (com.yahoo.elide.core.utils.coerce.CoerceUtil)1 DynamicConfiguration (com.yahoo.elide.modelconfig.DynamicConfiguration)1 ConfigChecks (com.yahoo.elide.modelconfig.store.models.ConfigChecks)1 ElideStandaloneAsyncSettings (com.yahoo.elide.standalone.config.ElideStandaloneAsyncSettings)1 ElideStandaloneSettings (com.yahoo.elide.standalone.config.ElideStandaloneSettings)1 ElideStandaloneSubscriptionSettings (com.yahoo.elide.standalone.config.ElideStandaloneSubscriptionSettings)1 GraphQLDSL (com.yahoo.elide.test.graphql.GraphQLDSL)1 GraphQLDSL.argument (com.yahoo.elide.test.graphql.GraphQLDSL.argument)1 GraphQLDSL.arguments (com.yahoo.elide.test.graphql.GraphQLDSL.arguments)1