js2allocation-service

command
v0.0.0-...-d3e8332 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

README

JS2Allocation Service

The JS2Allocation Service is responsible for retrieving JetStream2 Allocation information.

Configuration

The service is configured through a set of environment variables.

env name description default
UserCacheExpirationTime expiration duration of the cache for user records (legacy TAS api)
ProjectCacheExpirationTime expiration duration of the cache for project records
JS2AllocationMongoDBUserCollectionName -
JS2AllocationMongoDBProjectCollectionName -
NATS_URL - nats://nats:4222
NATS_QUEUE_GROUP -
NATS_WILDCARD_SUBJECT - cyverse.>
NATS_CLIENT_ID -
NATS_MAX_RECONNECTS - -1
NATS_RECONNECT_WAIT - -1
NATS_REQUEST_TIMEOUT - -1
MONGODB_URL - mongodb://localhost:27017
MONGODB_DB_NAME -

TAS API (Legacy)

Jetstream 2 has switched to its own allocation API, TAS adapter is kept for now. After we changed the schema(NATS level) of the allocation, we should remove it. TACC_API_USER and TACC_API_PASS are used by TAS api adapter, but not the new adapter for JS2 allocation API.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL