service-discovery-testing

Service location and discovery.

License

License

GroupId

GroupId

com.nesscomputing.service.discovery
ArtifactId

ArtifactId

discovery-testing
Last Version

Last Version

1.6.3
Release Date

Release Date

Type

Type

jar
Description

Description

service-discovery-testing
Service location and discovery.
Project Organization

Project Organization

Ness Computing, Inc.

Download discovery-testing

How to add to project

<!-- https://jarcasting.com/artifacts/com.nesscomputing.service.discovery/discovery-testing/ -->
<dependency>
    <groupId>com.nesscomputing.service.discovery</groupId>
    <artifactId>discovery-testing</artifactId>
    <version>1.6.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.nesscomputing.service.discovery/discovery-testing/
implementation 'com.nesscomputing.service.discovery:discovery-testing:1.6.3'
// https://jarcasting.com/artifacts/com.nesscomputing.service.discovery/discovery-testing/
implementation ("com.nesscomputing.service.discovery:discovery-testing:1.6.3")
'com.nesscomputing.service.discovery:discovery-testing:jar:1.6.3'
<dependency org="com.nesscomputing.service.discovery" name="discovery-testing" rev="1.6.3">
  <artifact name="discovery-testing" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.nesscomputing.service.discovery', module='discovery-testing', version='1.6.3')
)
libraryDependencies += "com.nesscomputing.service.discovery" % "discovery-testing" % "1.6.3"
[com.nesscomputing.service.discovery/discovery-testing "1.6.3"]

Dependencies

compile (10)

Group / Artifact Type Version
com.nesscomputing.service.discovery : discovery-client jar 1.6.3
com.nesscomputing.service.discovery : discovery-httpserver jar 1.6.3
com.nesscomputing.components : ness-logging jar 1.1.1
com.nesscomputing.components : ness-lifecycle jar 1.3.0
com.nesscomputing.components : ness-config jar 2.3.1
com.nesscomputing.components : ness-httpclient jar 2.0.2
com.nesscomputing.components : ness-httpserver jar 2.3.0
com.google.inject : guice jar 3.0
com.google.guava : guava jar 15.0
com.nesscomputing.components : ness-integration-testing jar 3.3.0

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.0.1

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
com.nesscomputing.testing : ness-log4j-config jar 1.0.2

Project Modules

There are no modules declared in this project.

Ness Computing Discovery Service

This is the service discovery system for the ness computing platform. It generally is deployed as a Galaxy tarball and provides service discovery for the rest of the platform.

Configuration

In galaxy, a three level (environment, deployment, service) configuration is used. The environment configuration is used to locate all the discovery servers and configure platform wide defaults.

environment configuration for development

For development, a single discovery server can be used.

ness.zookeeper.clientPort=21052
ness.zookeeper.clientPortAddress=127.0.0.1
#
ness.zookeeper.server.1=127.0.0.1:21050:21051
#
# Discovery Service
#
ness.discovery.enabled=true
ness.discovery.root=/ness/srvc/development
ness.discovery.scan-interval=120s
ness.discovery.tick-interval=100ms
ness.discovery.zookeeper-timeout=500ms
ness.discovery.penalty-time=600s

environment configuration for production

For a real environment, at least three servers should be present.

# ########################################################################
#
# Discovery configuration. Do not modify.
#
ness.zookeeper.clientPort=18700
#
ness.zookeeper.server.1=10.1.1.1:28990:28991
ness.zookeeper.server.2=10.2.2.2:28990:28991
ness.zookeeper.server.3=10.3.3.3:28990:28991
#
# Discovery Service
#
ness.discovery.enabled=true
ness.discovery.root=/ness/srvc/production
ness.discovery.scan-interval=120s
ness.discovery.tick-interval=100ms
ness.discovery.zookeeper-timeout=500ms
ness.discovery.penalty-time=600s
ness.discovery.http-port=8090

service specific (discovery service) configuration

This is the service specific configuration for a discovery server.

ness.zookeeper.dataDir=/home/henning/galaxy/deploy/persist/#{env.agent_group}/#{env.agent_id}/discovery
ness.zookeeper.tickTime=15000
ness.zookeeper.initLimit=5
ness.zookeeper.syncLimit=2
ness.zookeeper.maxClientCnxns=100
#
# Quartz Configuration
org.quartz.scheduler.instanceName = DiscoveryServiceScheduler
org.quartz.threadPool.threadCount = 5
#
# enable cleanup job
ness.job.zookeeper-cleanup.enabled=true

Copyright (C) 2012 Ness Computing, Inc.

com.nesscomputing.service.discovery

Ness Computing

Versions

Version
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.3.0
1.2.0
1.1.0
1.0.4
1.0.2
1.0.1
1.0.0