All Classes and Interfaces
Class
Description
A compex type of
RoutingStrategy where each invocation goes to all known RemoteInvoker instances
and then combines the results together into a single result.Represents an abstract
Publisher instance.Created by patricktwohig on 3/26/15.
Created by patricktwohig on 5/8/15.
Defines read, write, and delete access permissions for a large object, each specifying
the set of subjects permitted to perform that operation.
Created by patricktwohig on 4/8/15.
Represents an advanced adjustment to the quantity of an inventory item for a specific user,
including an optional priority slot to control item placement within the inventory.
Allows for modification of the inventory using the advanced API.
Represents the result of a player advancing through a
Mission, including the current
step reached, any steps completed, and any rewards earned during the advancement.Given the expected number of calls, this generates a
Consumer which will aggregate all results together
until a set number of responses occur.Created by patricktwohig on 6/26/17.
Created by patricktwohig on 6/26/17.
Anonymous (and non-superuser) implementation of
CodegenService.Anonymous implementation of
EmailPasswordLinkService.Anonymous implementation of
EmailVerificationService.Created by patricktwohig on 6/26/17.
Anonymous implementation of
OAuth2LinkService.Anonymous implementation of
OidcLinkService.Anonymous (first-time login) browser-redirect OIDC attempt.
Anonymous implementation of
PasswordResetService.Implementation for users with
User.Level.UNPRIVILEGED users.Created by patricktwohig on 4/1/15.
Anonymous implementation of
UsernamePasswordLinkService.Represents an Apple in-app purchase receipt submitted by a client.
Used to indicate that the Apple verify receipt API returned a valid JSON response but with an error "status" code in
the response body.
Represents an application.
Loads the assets for a particular application as defined by the
ApplicationId.Thrown when an application code cannot be found.
Ties the
Application model to one of its associated profiles as represented by the type.Created by patricktwohig on 7/13/15.
Thrown when an application configuration cannot be found.
Created by patricktwohig on 7/13/15.
Manages the lifecycle of the various
ApplicationConfiguration instances.Selects the appropriate
ApplicationConfigurationService based on the User.getLevel() property.Created by patricktwohig on 7/10/15.
Uniquely identifies an application.
Hello world!
Thrown when an application cannot be found.
Created by patricktwohig on 8/1/17.
Created by patricktwohig on 7/9/15.
Manages the lifecycle of the
Application instance.Created by patricktwohig on 7/10/15.
Easy-to-use entrypoint for appnode.
Represents a resolved Maven artifact with its coordinates and local file system path.
Specifies an artifact repository.
Controls access to bare files in a repository.
Created by patricktwohig on 8/15/17.
Represents an asynchornous type of
Connection.Enumeration of events for which to listen.
Represents a group of
AsyncConnections which all are serviced by the same thread.An interface to an underlying pool of sockets.
A system-wide service to house
AsyncConnection instances.Used to open on-demand instances of the
ControlClient.Represents a pending request that this
AsyncControlClient is making.Represents a response produced by the remote end.
Response
'
A special return type which can be returnd by methods annotated with
RemotelyInvokable which also meet the
requirements for having the Dispatch.Type.ASYNCHRONOUS.Used to implement a publish/subscribe system.
Contains attributes which represent contextual information for various types.
Represents a single
Attributes.Attribute.Created by patricktwohig on 8/4/17.
Created by patricktwohig on 6/26/17.
Thrown when the authorization header cannot be parsed.
Represents an authentication scheme used to validate JWT tokens.
Thrown when an auth scheme cannot be found.
Names the authentication schemes used by the API.
Manages instances of
AuthScheme.Thrown when an auth scheme fails validation.
Thrown when authentication validation fails.
Backfills a slot-
0 MongoProfileSlot for every active MongoProfile that predates
per-application profile slots (introduced by issue #11), so pre-existing accounts are correctly counted
against Application#getMaxProfiles() and resolvable via ProfileDao#findPrimaryProfile.Created by patricktwohig on 8/16/17.
Thrown when an invalid combination of parameters is provided.
Thrown when a bad search query is encountered.
Created by patricktwohig on 8/14/17.
Thrown when a bad session secret is provided.
Created by patricktwohig on 8/14/17.
Created by patricktwohig on 3/25/15.
Created by patricktwohig on 8/1/17.
Simplest type of Auth header, the bearer header.
Enumerates the various blockchain protocols supported by elements.
Defines constants related to blockchain operations.
The status of the mint request
Deprecated.
Deprecated.
migrate this to a configurable parameter
Enumerates the systems supported blockchains.
Represents the body type of an HTTP request.
Translates a free-form query string to a Morphia
Query.This routing stragegy will broadcast to all nodes.
Thrown when a BSC smart contract cannot be found.
Thrown when a BSC token cannot be found.
Thrown when a BSC wallet cannot be found.
Starts a new indexing operation.
The recommended loader SPIs based on the current system version and configurations.
Represents a request to mint multiple blockchain tokens using a specific contract.
Indicates a Callback type.
Defines a script method and a module to invoke.
Specifies case format translation.
Utility class for generating streams of CharSequence subsequences.
Deals with instances of
Cipher as well as provides some standard utilities for encrypting data.Specifies the serialization strategy for a model.
Parses Git client User-Agent strings.
A type of
Context which is used to house remotely invokable instances.Represents a request to generate client code from an Element OpenAPI spec.
Interface for code generation services
Module defaults for the code server.
Indicates the exposed code style.
Created by patricktwohig on 5/25/17.
An example common type that is shared among elements in the sdk-test-element module.
Request body for completing a password reset using a single-use token.
A thread-safe
Publisher which uses a standard ConcurrentLinkedDeque to perform operations.Implements a
AsyncPublisher using a Lock to control concurrency.A reference map backed by either a
WeakReference or SoftReferenceCreated by patricktwohig on 4/3/15.
Thrown when a request conflicts with existing data.
Represents a connection to the remote node.
Created by patricktwohig on 8/5/15.
Created by patricktwohig on 4/6/15.
Service layer constants.
Defines some useful regex patterns.
Created by patricktwohig on 8/14/17.
Represents the connection the backend cluster of services.
Builds a
Context which can communicate with a specific application.Similar to a
CountDownLatch.Deprecated.
This needs to be replaced with a dispatch to an
Element via ElementRegistryThrown when a smart contract invocation fails.
Used to open on-demand instances of the
ControlClient.Created by patricktwohig on 9/30/15.
Request model for creating an advanced inventory item for a specific user.
Represents the request body for creating an Apple IAP receipt.
Specifies the Apple IAP validation environment.
Represents the request body for creating a new application.
Represents a request to create an Auth Scheme for an Application.
Represents a response from creating an Auth Scheme for an Application.
Represents a request to create a new CDN deployment.
Request model for creating a distinct inventory item.
Request to create a new Element with specified artifacts and their repositories.
Represents a request to create an
EmailTemplate.Represents a request to follow a player.
Represents the request body for creating a Google Play IAP receipt.
Request model for creating a new goods item.
Represents a request to create a large object from a remote URL.
Represents a request to create a large object with access permissions.
Represents a request to create a new leaderboard.
Represents a request to create a metadata object.
Represents a request to create a MetadataSpec definition.
Represents a request to create a mission.
Represents a request to create or update an OAuth2 Auth Scheme for an Application.
Represents a response from creating or updating an OAuth2 Auth Scheme for an Application.
Represents a request to create or update an OIDC Auth Scheme for an Application.
Represents a response from creating or updating an OIDC Auth Scheme for an Application.
Represents a request to create or update an
OidcProviderConfiguration.Represents a response from creating or updating an
OidcProviderConfiguration.Represents a request to create a profile for a user.
Used in conjunction with the user creation request to specify a profile.
Represents a request to create a mission progress entry.
A request model to create a new receipt.
Used to create a save data document on the remote.
Represents a request to create a schedule event.
Represents a request to create a mission schedule.
Request model for creating a simple inventory item for a specific user.
Request model to create a smart contract.
Represents the request body for verifying and creating a Steam IAP receipt.
Represents a request to create a new blockchain vault.
Request model to create a new custodial wallet.
Specifies a Custodial Wallet Account when creating a Wallet.
Validation group indicating the account should be generated.
Validation group indicating the account should be imported.
Thrown when a cryptographic operation fails.
Utility functions for crypto keys.
Houses a
ReentrantThreadLocal to represent the currently available
ReentrantThreadLocal<Attributes>Used to authorize requests using JWT auth tokens
Created by robb on 12/20/21.
JWT Credentials used with custom auth schemes.
Represents the health status of a database connection.
Defines the data storage for underlying revision based data store.
Implements the default configuration scheme.
Created by patricktwohig on 4/10/15.
Create and configure
ReceivePack service
instance.The default
RoutingStrategy which simply selects a RemoteInvoker from the
RemoteInvokerRegistry using RemoteInvokerRegistry.getBestRemoteInvoker(ApplicationId) and sends the
Invocation there.Create and configure
UploadPack service
instance.Creates a default user for first time Elements setup
Represents a deployment of a versioned artifact to an application.
Thrown when a CDN deployment cannot be found.
Indicates that the
Represents the health status of the discovery service.
Patched shadow of
dev.morphia.mapping.DiscriminatorLookup from morphia-core.This annotation specifies the dispatching strategy for the method.
The dispatch type.
Represents a distinct inventory item owned by a user or profile.
Distinct inventory item Dao.
Thrown when a distinct inventory item cannot be found.
Manages distinct items in the
Drops the pre-sparse
oauth2_auth_scheme.name_1 and oidc_auth_scheme.name_1/issuer_1
indexes, superseded by sparse indexes under new names
(MongoOAuth2AuthScheme,
MongoOidcAuthScheme).Created by patricktwohig on 7/31/17.
Thrown when a duplicate CDN deployment is detected.
Created by patricktwohig on 8/14/17.
Thrown when a duplicate resource already exists.
Indicates how to handle a duplicate type situation.
Defines an editor layout element.
Defines an editor schema which contains a JSON Schema, layout, and initial data for the editor.
Represents an instance of an SDK Element, similar to a java
Element but with more flexibility at the expense
of the rigid encapsulation rules.A URLClassLoader that manages the lifecycle of FileSystem instances opened for ELM files.
An interface to load artifacts from coordinates.
Defines an artifact repository with its identifier and URL.
Finds a
Callback from within a service type.The Element Container Service is responsible for managing Element containers.
Aggregates the deployment information for an
Application.Indicates the status of a deployment.
Indicates the status of an application deployment.
Annotates a static final non-null field.
The default supplier that simply returns the value of the annotation.
Represents the default value of the attribute.
Defines a
Element.Record type for the
ElementDefinitionRecord.Represents the record pertaining to the
ElementDefinition annotation.Repeatable annotation for ElementDependency.Selects the default
Element based on the value of ElementDefinitionRecord.name().A DTO record for Element Dependency Metadata.
Maps to the
ElementDependency type.Represents the deployment configuration for an Element within the system.
Provides access to
ElementDeployment instances in the database.Thrown when an element deployment cannot be found.
A purpose built interface which defines common operations pertinent to deploying an Element.
Manages
ElementDeployment instances in the database.Represents the state of a particular.
Parses a designated component.
A
Loader that registers an element's entity classes with the platform database mapper
on load and deregisters them on unload.Platform service that discovers
EntityRegistry implementations exported by an
Element and registers the declared entity classes with the underlying database mapper.Accumulates
ElementEntityRegistrar.Batch.registerEntityClasses(Element)/ElementEntityRegistrar.Batch.unregisterEntityClasses(Element)
mutations, applying them all at once when closed.Annotates a method capable of receiving an instance of
Event.Placeholder type used as the default value for
ElementEventConsumer.via() to indicate that no service routing
should be used.A DTO record for Element Event Consumer Metadata.
Represents a consumer method for an
Event.Repeatable type for ElementEventConsumer.Represents a unique key for identifying an event consumer, combining both the service that will
handle the event and the name of the event being consumed.
Used for documentation and reporting.
A DTO record for Element Event Producer Metadata.
Repeatable type for ElementEventProducer.Reports a particular permitted feature of the system and what can be exposed to Elements.
The primary classloader implementation used for isolated Element loading.
Inspects an Element distribution (ELM file) and returns structural metadata describing its contents.
Interface for loading SDK Elements.
Used to specify the system default
ElementLoader.
The
ElementLoader factory.
A constructor type for a
ClassLoader.Instructs the Element
ClassLoader to copy the annotated from its parent ClassLoader and load into the
ClassLoader for the Element running within it.Represents the Element manifest metadata.
Parsed content of the Element manifest properties file (
dev.getelements.element.manifest.properties).Record type for the
ElementMetadata.Utility mapper for mapstruct.
Specifies a java package to include in the element scanning process.
Defines a package of Elements from a single ELM artifact with per-path attribute configuration.
A record for the
ElementPackage
Declares a package visibility request on behalf of an Element.
Maps to the
ElementPackageRequest annotation.Repeatable container annotation for ElementPackageRequest.Defines the classpath configuration for Elements within a deployment.
Used to load
Element instances from local paths on disk.Loads a properties file given the base attributes and the
Path to the Element's root.Handles a failed element load.
Configuration for loading Elements from paths.
Builder for LoadConfiguration with fluent API and automatic defaults.
Loads a ClassLoader given the parent ClassLoader and the path of the Element itself.
A record type containing the bundle information for an Element.
DTO for
ElementPathRecord.Centralises the path resolution logic for Jakarta RS and WebSocket loader mount points.
Indicates a type or all types within a package are to be considered public and exposed to all other elements.
Indicates a type or all types within a package are to be considered public and exposed to all other elements.
The beginning queyr for a
Element instance based on a ElementRegistry.A Record type encapsulating all of the metadata for a particular
Element.Some basic utilities for accessing reflections within SDK code.
Represents a registry for
Element instances.Gets a shared instance of
ElementRegistry which can be used to load Element instances into the
application.Annotates a static final non-null field to declare that the attribute is required — i.e., a value must be supplied
by the operator at deployment time.
Represents a required attribute declared via
ElementRequiredAttribute.Service that polls the database for
ElementDeployment records
and manages the runtime lifecycle of Element plugins.Bundles an
ElementRecord with the on-disk element path for elements that failed to load.Represents an active element runtime.
Indicates the runtime status.
Reports the status of an element runtime, which is a deployed in-memory Element.
Associates a set of
Attributes with a transient state for the Element.Builds the specific instances to go into the scope.
Represents an open handle for an open
ElementScope on the current thread.Provides a registry where a
Element may be registered.Factory type for the
ElementScopedElementRegistry.Maintains a singleton instance of an
Element.This class is used to manage the scopes of elements in the registry.
Builder class for ElementScopes.
This module binds the core filters used in the Elements web service.
Defines a service provided by the element.
Exports the target type making it available in the
ServiceLocator methods.A DTO record for Element Service Export Metadata.
A record type for the
ElementServiceExport.Repeatable type for ElementServiceExport.Specifies an implementation of a service.
A marker class used as a placeholder to indicate that there is no specified implementation.
A DTO record for Element Service Implementation Metadata.
A record for the
ElementServiceImplementation annotation.A record type which represents a key for a service.
A DTO record for Element Service Metadata.
Record type for
ElementService annotationAnnotation that specifies a reference to a service by its type and optionally its name.
References service to load from within an
Element.Repeatable type for ElementService.Runs a local instance of Elements suitable for debugging.
A builder type for the
ElementsLocal instance.Maps a well known SPI Implementation ID to specific artifacts supported by the currently running instance of
Namazu Elements.
Deprecated.
use the new smart contract API instead
A set of standard Java Bean properties which will be injected into components as-needed.
Defines a bean property.
Represents a path of static content provided at the supplied root, listing all available contents.
Manages the deployments of applications.
Enumeration of the various web service components supported within Elements.
Specifies the type of the
Element, which has largely to do with its loading semantics.
Declares a type visibility request on behalf of an Element.
Maps to the
ElementTypeRequest annotation.Repeatable container annotation for ElementTypeRequest.Sends transactional email via SMTP.
Represents a reusable, admin-managed email template used to compose system emails.
Thrown when an email template cannot be found.
Manages instances of
EmailTemplate.Request body for initiating email verification of a
UserUid.Service for initiating and completing email-based verification of a
UserUid.A container for a client
Instance.Base interface for an embedded
Instance container.Represents a completely and entirely separate test kit.
A container for a client
Instance.SPI that element authors implement to declare their MongoDB entity classes to the platform.
Constants for environment variables.
An enumeration of error codes which may provide greater detail as to why
a problem occurred.
Designates a
FunctionalInterface annotated-type parameter which will receive an exception thrown from a
remote invocation.Represents an error response returned by the API.
Send a fixed status code to the client.
Represents an event to be handled by
Element instances.Utility class to build
Event instances.Manages events.
Represents a request to invoke a method on an EVM smart contract.
Represents the response from invoking a method on an EVM smart contract.
A service which allows for the invocation of methods belonging to an EVM Smart Contract.
A type which performs the final invocation to the underlying smart contract.
Represents an EVM transaction log entry.
Operates with an exclusive lock to the database.
Defines a module which will be exposed to the scripting engine layer.
Resolves an instance of
Annotation given the supplied ModuleDefinitionAnnotation type which indicates that no annotation type is defined.
Utility class for resolving the binding annotation.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/15/17.
Scans for
FacebookPermission annotated types.Represents a validated Facebook in-app purchase receipt.
Used to indicate that the Apple verify receipt API returned a valid JSON response but with an error "status" code in
the response body.
Specifies a requested permission.
Aggregates several
FacebookPermission instances which will be used to
build the list of default permissions used by an Application.Represents a notification registration with Firebase.
Manipulates instances of
FCMRegistration in the underlying database.Manages instance of
FCMRegistration.This loads an instance of
Repository from a place on the filesystem.A special class which will load an
ApplicationId's code to a local temporary directory where it can be
processed and run.A
FunctionalInterface which performs a series of actions when it is closed.Creates instances of
FirebaseApp from a variety of sources.Represents a Firebase application configuration.
Thrown when a Firebase application configuration cannot be found.
The
FirebaseApplicationConfigurationService manages instances of the FirebaseApplicationConfiguration
within the database.Represents a request to create a session using a Firebase JWT.
A type of
InvocationErrorConsumer which accepts an instance of Throwable and forwards it to the
delegate.Represents the response from invoking a method on a Flow smart contract.
A service which allows for invocation of Flow based smart contracts.
Used to make invocations on the Flow blockchain.
Allows access to instances of
CreateFollowerRequest.Created by GarrettMcSpadden on 12/7/2020.
Thrown when access to a resource is forbidden.
Represents a player's friend.
Provides database-level access to
Friend instances.Thrown when a friend relationship cannot be found.
Allows access to instances of
Friend.Represents the type of relationship the user has with another user.
The GitLoader takes a clone of an existing git repository, and allows downstream code access to that directory.
Thrown when a git clone IO operation fails.
Handles Git repository access over HTTP.
Handles Git repository access over HTTP.
Created by patricktwohig on 8/2/17.
Utility functions for handling the Git-over-HTTP protocol.
Represents the application profile and any associated metadata, such as APNS certificate
or other information.
Handles the management of
GooglePlayApplicationConfiguration instances.Created by patricktwohig on 5/24/17.
Represents a validated Google Play in-app purchase receipt.
Constants used by Guice configuration.
The
GuiceElementLoader uses Guice to scan and instantiate an SDK element using a guice element with the
following strategy.Used with the
ElementDefinitionA record type for
GuiceElementModule.Repeatable annotation for GuiceElementModule.Adds options for the Guice loader SPI.
Specifies how the Guice based SPI loads the Element.
A record type for
GuiceOptions, resolved from a Package with the GuiceOptions annotation
defaulted to its documented defaults when the annotation is absent.Created by patricktwohig on 9/1/15.
Bridges the gap between a Guice
Injector and an ServiceLocator.Used to bind services.
Used to manage handler-type
Resource instances.A happy little servlet.
An interface which may report a
NodeId.Supplies an
Optional for a header type.A place to store the non-standard HTTP header (and related) constants.
Represents an error response that includes health status information.
Represents the overall health status of the system.
Generates a
HealthStatusDeprecated.
use
HexThe case (upper or lower case).
Thrown when the hex string is not valid.
Interface to a Hex-able ID.
Represents an HTTP request method.
Thread-safe registry of HTTP path prefixes that are owned by the server or by deployed elements.
Describes the relationship between a proposed context path and the currently registered paths.
Translation bundle for JGit http server
Created by patricktwohig on 8/2/17.
Created by patricktwohig on 8/1/17.
Manipulates the identity frames on an instance of
ZMsg.A type of
Attributes which is immutable.For types which have a
MetadataSpec.Indicates a specific type of indexable type.
Resolves an index-definition conflict (MongoDB error code 85
IndexOptionsConflict or
86 IndexKeySpecsConflict) raised while creating an index on collection, by dropping the
stale, conflicting index so that it can be recreated with its newly-declared options.Represents an association between a
Path and the ResourceId to which it points.The result of the
IndexContext.unlinkAsync(Path, Consumer, Consumer) and IndexContext.unlink(Path) call.Provides an abstract way to apply indexes to the database.
Executes an index operation within a scope which controls multiple concurrent accesses
Represents an implementation-specific type of index metadata.
Indicates the operation to be performed against the index.
Represents a plan for index operations.
Plans index updates in a database-agnostic way.
Represents the state of an index plan.
Represents a single step in an index plan.
Used to access the indexes in the database.
A type of
Attributes that inherits from a base set of attributes.A set of attributes that inherits from a base set of attributes.
Wraps an instance of
ReadableByteChannel using a ByteBuffer.Represents a running
Instance of the application.The instance connection service handles the dirty details of connecting to a remote Node and keeping track of
nodes connected in the system.
Represents a binding.
Represents a connection to a remote instance.
Tracks and discovers remote instance of instances that have announced themselves on the network.
Gets an instance of
InstanceDiscoveryService by reading system defines and if none are found reverting to a
default implementation.Represents the health status of a specific instance.
Gets host information for an instance.
Represents an ID for an instance.
Provides data for an Instance, which is representative of the physical machine running one or more nodes.
Represents the instance status, which lists the
Thrown when a user has insufficient permissions to perform an operation.
Created by patricktwohig on 8/15/17.
Thrown when an internal server error occurs.
Thrown by methods which may convert values.
Thrown when invalid data or input is provided.
Thrown when an invalid cryptographic key is encountered.
Thrown when a multi-match is in an unexpected phase or status.
Thrown when an invalid parameter is passed to the API.
Exception thrown when PEM data is malformed or cannot be parsed.
Represents an inventory item.
Created by davidjbrooks on 11/11/18.
Represents a request to invite users via a list of phone numbers.
Represents a response to an invite request via a list of phone numbers.
Represents a remote invocation.
Returned when there exists an error.
Contains the result of the remote invocation.
Deprecated.
use the new smart contract API instead
Deprecated.
Represents the health status of the invoker subsystem.
Represents the application profile and any associated metadata, such as APNS certificate
or other information.
Handles the management of
IosApplicationConfiguration instances.Created by patricktwohig on 5/24/17.
Represents an Item that is a Digital Good.
Identifies the category of an
Item for sale.Append-only DAO for item audit ledger entries.
Immutable audit record for a single inventory or item-catalog lifecycle event.
Classifies the event recorded in an
ItemLedgerEntry.Read-only service for querying the item audit ledger.
Thrown when an item cannot be found.
Allows for accessing of the various
Items in the database.Searches an
Element for a service of type Application and loads it into the application container
making all types specified in the Application available as RESTful API Calls.No-op
OpenApiScanner used when a pre-generated spec is loaded from the element
classpath.Combines
JeroMQRemoteInvokerModule with the ClusterContextModule to make a complete client
module with adjustable parameters.Implements the control protocol for interfacing with the
JeroMQInstanceConnectionService.Implements JeroMQ CURVE Encryption using one of three possible combinations.
Embeds a test kit which supplies two
Instances.Creates a new
Node.Implements a security chain for JeroMQ Sockets.
Jetty implementation of
ElementContainerService that polls the ElementRuntimeService
for active Element deployments and mounts them to the Jetty container using Loader implementations.Element module for deployment services.
An opaque context which is started first and stopped last by the
TransactionalResourceServicePersistence.Names specific JSON-RPC Constants.
Directs the client to the remote endpoint using a 307: Temporary Redirect to the underlying API.
Processes
JsonRpcRequest instances and converts to Invocation.Represents the resolved invocation which includes the
Invocation and the ResultHandlerStrategy
used to dispatch the method call to the underlying system.Provides the
JsonRpcManifest.Configures a JSON RPC module.
Implements the JSON-RPC Redirection Strategy.
Represents a subset of the JSON Schema specification.
Represents a property definition within a JSON Schema.
Constants for the JSON Schema type.
Represents a JSON Web Key (JWK) as defined by RFC 7517.
Represents a JSON Web Key Set (JWKS) as defined by RFC 7517.
Represents a large binary object stored in the system.
Represents a bucket for storing the contents of
LargeObjects.Thrown when the content of a large object cannot be found.
Created by patricktwohig on 6/29/17.
Thrown when a large object cannot be found.
Represents a reference to a large object, containing its key metadata.
The large object state.
Manages tasks queued to an instance of
ExecutorService managing execution through a
CompletionServiceLatch.Subclass of
LatchedExecutorServiceCompletionService only for use with a ScheduledExecutorServiceRepresents a Lazy-loaded value which is loaded only on the first call to get.
Represents a leaderboard for tracking and ranking player scores.
Defines the score strategy for the leaderboard.
Defines the time strategy for the leaderboard.
Provides CRUD operations for Leaderboard instances in the database.
Thrown when a leaderboard cannot be found.
Manages instances of
Leaderboard.Utility class for calculating the Levenshtein distance between two CharSequences.
A non-threadsafe publisher which tracks subscribers in a linked list.
Aggregates all results.
Wraps a
AtomicReference of Datastore in a stable proxy that forwards every call to
whichever Datastore is live at the moment of the call, rather than the one live at the moment
of injection.Provides context and callbacks for pending deployments.
Monitors the load of the local instance and reports information such as CPU load and Memory load.
Dispatches
Invocation instances to the objects in the container, collects the result, and relays any errors.Implements the strategy by which the
Invocation is dispatched to the local Object in memory.If the
Method called from the Invocation returns a Future instance, this may defined
a strategy for handling the result.Inspects the attributes, parameters, and annotations of a specific
Method to build an instance of
LocalInvocationDispatcher to dispatch Invocation instances to a local object in memory.Locks a set of objects based on their identity in a consistent and order ensuring no deadlocks when having to acquire
multiple locks.
Enables the SLF4J logging framework to be shared among system, SDK, and Element.
Loads the various manifest types over the network to be used by dependent services.
Created by patricktwohig on 8/14/17.
Created by patricktwohig on 8/15/17.
Thrown when an error occurs during object mapping.
Maps instances of one type to another.
Maps instances of a source type to a destination type.
Represents a mapping between two types.
Represents a mapping between two types.
Updates an existing destination object from a source object.
Deprecated.
This needs to be replaced with a dispatch to an
Element via ElementRegistryRepresents a single one-on-one match between the current player and an opponent.
Created by patricktwohig on 7/20/17.
Created by patricktwohig on 7/27/17.
Combines a
Match for both a player and an opponent.Configures the matchmaking system for the application.
Manages match resources
Created by patricktwohig on 7/18/17.
Manages instances of
Match.Provider for the
MatchService.A type that assists the services classes in paring players.
Represents a custom metadata object.
This is the MetadataDao which is used to create, update, and retrieve metadata objects in the database.
Thrown when metadata cannot be found.
Represents a spec that defines the structure and types of a metadata payload.
Builder for constructing
MetadataSpec instances fluently.Builder for constructing a list of
MetadataSpecProperty instances.Builder for constructing a single
MetadataSpecProperty.Created by garrettmcspadden on 11/23/21.
Thrown when a metadata spec cannot be found.
An interface for a type which has metadata spec properties.
Represents a single property definition within a
MetadataSpec.The field type of the field inside MetadataSpec
Created by tuantran on 04/12/22.
Manages instances of
MetadataSpec.Generic container filter to manage routing to different pipelines.
Generic container servlet to manage routing to different pipelines.
Assigns the previous action to a particular
Method.Dispatches invocations of methods against
Resource instances.Created by patricktwohig on 8/14/17.
Provides support for X-Http-Method-Override.
Standalone entry point that applies pending
MigrationRunner migrations (or reports their status)
against the configured MongoDB instance.Provides the
MorphiaConfig used by the migration tool.A single operator-run database migration.
Applies pending
Migrations, in ascending Migration.getId() order, tracking completion in the
schema_migrations collection (SchemaMigrationRecord) so each migration runs at most once.Deprecated.
use the new smart contract API instead
Represents a mission.
Created by davidjbrooks on 11/24/18.
Thrown when a mission cannot be found.
Created by davidjbrooks on 11/27/2018.
Represents the result of creating a mock session, including temporary user credentials.
Request to create a mock session with the server, including a temporary user that exists for a short period.
Manages instances of mock session.
Created by patricktwohig on 8/16/17.
Introspects models based on the underlying serialization configuration.
Created by patricktwohig on 8/16/17.
Loads the
ModelManifest.Defines the permitted packages for the sdk-model module.
Defines the permitted types for the sdk-model module.
Deprecated.
Defines an exposed module.
Created by patricktwohig on 7/10/15.
Created by patricktwohig on 7/10/15.
Created by patricktwohig on 7/13/15.
Created by patricktwohig on 7/10/15.
Created by patricktwohig on 4/3/15.
Deprecated.
This was written before MongoDB transactions were available.
Thrown when there is too much contention over a particular resource.
Thrown when the operation fails.
A basic a atomic operation.
General exception type for a failure of an Optimistic operation.
Slim test module that wires
MongoConfigurationService and SslSettings from a fixed connection
string without installing MongoSdkTestElementModule (and therefore without binding MongoClient).SSL modes for
MongoConfigOnlyModule.The MongoDB configuration record.
Provides direct database access to the MongoDB instance backing Elements.
Returns the default
KeyManagerFactory algorithm.Returns the default
TrustManagerFactory algorithm.Configures any Mongo-specific system properties.
Created by patricktwohig on 5/25/17.
Created by patricktwohig on 5/17/15.
Binds the handful of things
MongoDaoModule otherwise expects an Element-loading server (or
MongoDaoElementModule) to provide -- MorphiaConfig, AtomicReference<Datastore>, and a
root ElementRegistry -- so a bare non-Element context (a standalone CLI, a test) can install
MongoDaoModule and MongoSdkModule directly.Created by patricktwohig on 5/8/15.
Deprecated.
This is a bit of a "god type" and should be broken up into smaller mappers.
Deprecated.
Some helper methods used in various parts of the MongoDB code.
Created by patricktwohig on 5/25/17.
Morphia implementation of
ElementEntityRegistrar.Created by patricktwohig on 6/15/17.
Created by patricktwohig on 7/27/17.
Represents a unique id between two
MongoUser instances, forming a MongoFriendship.Created by patricktwohig on 5/31/17.
Created by patricktwohig on 6/29/17.
Created by patricktwohig on 5/31/17.
MongoDB entity backing
ItemLedgerEntry.Created by patricktwohig on 6/29/17.
Created by patricktwohig on 7/21/17.
Created by patricktwohig on 7/25/17.
A document type which locks a
MongoMatch instance.Created by patricktwohig on 7/30/17.
Used to actually perform the match between two players.
Registers every known
Migration with Guice so both the standalone migrate CLI and tests
resolve the same set.Mongo DTO for a mission.
MongoDB entity for a single pending browser-redirect OIDC login attempt.
MongoDB entity for a single-use password reset token.
Created by patricktwohig on 6/25/17.
Created by patricktwohig on 6/28/17.
Created by patricktwohig on 6/28/17.
Records that a slot has been allocated for a given user and application.
A compound ID for a
MongoProfileSlot, encoding the owning user, the application, and the 0-based slot
number in fixed positions.Mongo DTO for a mission progress.
Created by patricktwohig on 7/10/15.
MongoDOzer
Mongo DTO for a mission step reward.
Created by patricktwohig on 6/28/17.
Specifies the type of the session.
A type used to wrap up a securely generated key to use as an ID for a
MongoSession.The MongoDB SSL configuration record.
Mongo DTO for a mission step.
A test instance runner for mongo.
Buffers events during a transaction and publishes them only if the transaction commits.
MongoDB entity for a single-use email verification token used in the
UserUid verification flow.Created by patricktwohig on 3/31/15.
MongoDB implementation of
UserDao.Convenience wrapper to automatically manage the state of an underlying lock, series of locks, or semaphores.
A
PackageRequest implementation that grants an Element access to the Morphia and MongoDB
package namespaces required to use Morphia @Entity classes.Represents a multi-match in the matchmaking system.
Handles multi-matches, allowing multiple players to join or leave a match.
Thrown when a multi-match cannot be found.
Indicates the current status of the
MultiMatch.Represents a set of mutable attributes.
Interfaces for a mutable
ElementRegistry.Generates names based on the system configuration.
Represents the result of calling a function on a NEAR smart contract.
Represents the cost types for NEAR protocol operations.
Represents a base58-encoded hash used in the NEAR protocol.
Represents a gas usage profile entry for a NEAR protocol transaction.
Represents the response from invoking a method on a NEAR smart contract.
Represents metadata for a NEAR protocol transaction execution.
Represents the outcome of a NEAR protocol transaction or receipt execution.
Represents a Merkle proof entry in a NEAR protocol transaction.
Represents the direction of a Merkle proof node.
Represents the outcome of a NEAR protocol receipt execution.
A service which allows for invocation of Near based smart contracts.
Used to make invocations on the Near blockchain.
Represents the status of a NEAR protocol transaction or receipt execution.
Represents a NEAR protocol success status that contains a receipt ID.
Represents a NEAR protocol success status that contains a return value.
Represents the outcome of a NEAR protocol transaction execution.
Thrown when a NEO smart contract cannot be found.
Thrown when a NEO token cannot be found.
Thrown when a NEO wallet cannot be found.
Represents the worker node for a single Application.
Allows for the creation of
Node instances on-the-fly.Represents a pending node shut-down process.
Represents a pending node start-up process.
Represents a single worker in the deployment cluster, i.e. the globally-unique identifier for a given game/app
processor within a Java process.
Informs the underlying application, contained in the
Node, of the various livecycle events.Defines the state of the Node.
A special type of
IOException used by the InputStreamAdapter and the OutputStreamAdapter to
indicate that the backed channel is currently in a non-blocking mode.Thrown when no valid session exists for a request.
Thrown to indicate there is no suitable
Match found.Thrown when a requested resource cannot be found.
Once configured, this will perform the action to finally send the
Notification.Builds instances of
Notification based on input parameters.Thrown when there is a misconfiguration or missing configuration setting pertaining to notifications.
Represents a single destination for
Notification.Represents a notification event.
A Factory type which returns a
NotificationFactory.Specifies the parameters used to send the
Notification.Uses the scope of the current operation to build instances of
NotificationBuilder.Thrown when a feature or operation is not implemented.
Indicates that a
ResourceId exists, but theUsed to indicate a
TaskEntry<?> which is null.Override for when the spec is pre-generated
Represents an OAuth2 authentication scheme used to validate user tokens against an external service.
Dedicated service interface for the account-linking OAuth2 flow
(
POST /user/me/link/oauth2).Represents a key-value pair used in an OAuth2 validation request (header, query param, or body field).
Request to create a session using an OAuth2 authentication scheme.
Uses an instance of
ObjectMapper to deserialize the payload from the InputStream.Uses an instance of
ObjectMapper to deserialize the payload from the OutputStream.Houses the various parameters required which allow communication with the Oculus API.
Created by patricktwohig on 6/14/17.
Represents an IAP receipt from the Oculus platform.
Used to indicate that the Apple verify receipt API returned a valid JSON response but with an error "status" code in
the response body.
Placeholder class for offensive word filtering functionality.
Builder for constructing an OffensiveWordFilter with a list of offensive words.
Configuration for the OffensiveWordFilter.
Represents an offensive word and its associated edit distance.
A minimal, publicly-visible projection of an
OidcProviderConfiguration that has opted into
admin-panel login, for rendering login options on the admin panel's (unauthenticated) login page.Publicly-accessible listing of OIDC providers offered as login options on the admin panel's login page.
Publicly-accessible (no authentication required) service listing the OIDC providers offered as login
options on the admin panel's login page.
Direct, synchronous OIDC login: the client already possesses an
id_token (e.g. from a native platform
Sign-In SDK) and validates it against a statically-configured OIDC Auth Scheme in one call.Represents an OpenID Connect (OIDC) authentication scheme used to validate JWT tokens.
The provider-facing redirect target for the browser-redirect OIDC login flow.
Enumeration of the claims elements uses when processing OIDC JWT tokens.
A purely in-memory, TTL-based cache of OIDC discovery documents, keyed by discovery URL.
The subset of an OIDC provider's discovery document (normally served at
/.well-known/openid-configuration) needed to drive the authorization code flow.External-identity claims validated by the callback for a linking login attempt, persisted on
OidcLoginAttempt#getLinkClaimsJson() while the mutation itself is deferred to the confirm flow.Dedicated service interface for the account-linking OIDC flow
(
POST /user/me/link/oidc).Represents a single pending (or resolved) browser-redirect OIDC login attempt.
The result of starting a pending browser-redirect OIDC login attempt.
The result of handling an OIDC provider's redirect callback.
Request body for
POST /oidc/session/{id}/confirm, which finalizes an account-linking browser-redirect
OIDC login attempt.DAO for pending browser-redirect OIDC login attempts.
Orchestrates the provider-agnostic, browser-redirect OIDC login flow: starting a pending attempt, polling for
completion, and handling the provider's callback.
Request body for
POST /oidc/session.Response body for
POST /oidc/session.Orchestrates the provider-agnostic browser-redirect OIDC login flow for thick clients: begin a pending
attempt, poll for completion, and handle the provider's callback.
Dispatches on the caller's access level, mirroring
OidcLinkServiceProvider — an already-authenticated
caller (USER/SUPERUSER) gets an account-linking attempt via UserOidcLoginAttemptService; anyone else
gets the anonymous, first-time-login attempt via AnonOidcLoginAttemptService.The API-facing state of a pending browser-redirect OIDC login attempt.
The internal lifecycle status of an
OidcLoginAttempt.Response body for
GET /oidc/session/{id}.Represents the configuration needed to drive a browser-redirect OIDC authorization code flow for a single
provider (e.g.
DAO for
OidcProviderConfiguration instances, admin-managed via SUPERUSER CRUD.Thrown when an OIDC provider configuration cannot be found.
Resolves an
OidcProviderConfiguration's discovery document and finds-or-creates the matching
OidcAuthScheme by issuer, so that registering a single provider configuration is enough to fully
activate a provider — no separate manual auth scheme setup step is required.SUPERUSER-scoped CRUD service for
OidcProviderConfiguration instances.Request to create a session using an OIDC (OpenID Connect) JWT token.
Provider-agnostic browser-redirect OIDC login for thick clients that cannot receive a browser redirect
directly.
The subset of an OIDC/OAuth2 token endpoint response needed by the browser-redirect login flow.
Thrown when an operation is not found in the manifest somewhere.
Represents the ownership structure of a blockchain token, including stakeholders and capitalization.
An Element-declared predicate that requests access to all types within specific packages not otherwise permitted
by the system-side
PermittedTypes or PermittedPackages visibility rules.The default
PackageRequest implementation.A
PackageRequest implementation that treats each entry in ElementPackageRequest.value() as a
regular expression matched against the package name:A
PackageRequest implementation that treats each entry in ElementPackageRequest.value() as a
wildcard pattern where * matches any sequence of characters.Represents a paginated result set with offset and total count.
Walks set of data that is managed through a
Pagination.Used to fetch the next page of a collection.
Similar to
Path, but supports the parsing of parameters to the path.Created by patricktwohig on 4/6/15.
An interface to generate a password.
Enforces the system-wide, deploy-time-configured password policy against a raw, client-submitted
password.
Request body for initiating a password reset.
Public REST resource for the self-service password reset flow.
Service for initiating and completing a self-service password reset via email.
Represents a single-use, time-limited token used to reset a user's password.
DAO for single-use password reset tokens.
Deprecated.
use the new smart contract API instead
Represents the path scheme for use in the server.
The raw data structure which backs the
Path type.Manages the index of paths to revisions
ResourceIds as well as the inverse relationship.Represents a listing of a
Path.Sorts all
Path instances with paths containing a wildcard appear first in the sort order.Sorts all
Path instances with paths containing a wildcard appear last in the sort order.Handles the actual details of writing to the
OutputStream.Handles the actual details of writing an
Object to a byte stream.Represents a chain of key specifications which may be found in a single PEM file.
Represents a section of PEM (Privacy Enhanced Mail) data which may include a section of a key.
Validates that a string value is a well-formed PEM file.
Container annotation for repeating
PemFile constraints.Validates a PEM file when passed.
A predicate-based package visibility rule that determines which packages (and all their classes) should be
accessible through a
PermittedTypesClassLoader.
A predicate-based type visibility rule that determines which classes should be accessible through a
PermittedTypesClassLoader.
A filtering classloader that controls which classes from a delegate classloader can be loaded by checking
them against configured visibility rules.
Drives the instance-wide persistence system, if available.
Provides a means to a persist the state of
Resource instances as managed by an associated
ResourceService.Represents a single match between the user's primary phone number and a requested phone number from an invitation.
A migration that must run before the Morphia
Datastore is constructed — e.g. raw
index cleanup needed to avoid a conflict that would otherwise crash Morphia.createDatastore(...)
itself (see dev.getelements.elements.dao.mongo.migration.migrations.DropLegacyAuthSchemeIndexesMigration
for a concrete example).Registers every known
PreDatastoreMigration with Guice, mirroring MongoMigrationModule's
pattern for Migration but for migrations that must run before the Morphia Datastore is
constructed.Applies pending
PreDatastoreMigrations, in ascending PreDatastoreMigration.getId() order,
before the Morphia Datastore is constructed.Enumeration of the private claims elements uses when processing JWT tokens.
Represents the signing algorithm for the
AuthScheme.Deprecated.
Standalone goods-level product bundle.
Represents a single reward to be issued when a
ProductBundle is purchased, i.e. the item id and the quantity
of that item to be rewarded to the user.Represents a registered payment-provider schema identifier.
Represents a user's profile.
Created by patricktwohig on 6/28/17.
Thrown when creating a profile would push a user's profile count for an application over the application's
configured
maxProfiles.Thrown when a profile cannot be found.
Implements the logic to override the profile when making requests.
Created by patricktwohig on 6/27/17.
Manages instances of
Profile.Created by patricktwohig on 6/27/17.
Represents the mission state (i.e., progress).
Created by davidjbrooks on 12/05/18.
Represents the mission information embedded within a progress record.
Thrown when mission progress cannot be found.
Represents a single row in a mission progress listing, suitable for display.
Created by davidjbrooks on 12/05/2018.
An instance of
Attributes backed by a Properties instance.Created by patricktwohig on 8/16/17.
Designates a method parameter as capable of providing a routing address.
Indicates that the annotated type is proxyable.
Provides a delegate type for any interface allowing the underlying implementation to be swapped out as necessary.
Houses the necessary information for the Sony WebAPI to communicate with the SocialEngine system.
Handles the management of
PSNApplicationConfiguration instances.Created by patricktwohig on 5/24/17.
Created by patricktwohig on 5/24/17.
Publishes events to multiple subscribers.
Represents a Query type for querying within an
ElementRegistryRepresents a player's rank on a leaderboard, consisting of a position and score.
Provides access to
Rank instances stored in the database, correlating and filtering data as necessary.Represents a single row in a leaderboard ranking result set.
Queries and combines instances of
Leaderboard and Score to calculate player rank.Represents a read only transaction.
Defines a set of mutable transactional operations.
A generic receipt that stores user purchase information.
Handle git-receive-pack errors.
Process a git-receive-pack request.
Backed by a
ThreadLocal<T>, this allows for the creation of a thread-local scope which can be entered and
exited multiple times, provided that the underlying calls are balanced.The current scope for the
ReentrantThreadLocalA generic Guice
Scope which can be used to track an instance of an object using a
ReentrantThreadLocal<ScopedT>.Houses some utility logic for interacting with the Reflection API.
Switch servlet path and path info to use another regex match group.
Holds a connection to the remote service and dispatches
Invocation.Manages connections to the cluster.
Represents the remote invoker status.
Designates a method as being remotely invokable.
Provides scoping metadata for an exposed service.
Indicates a type is a remotely-invokable service.
Used when a remote procedure call relays an instance of
Throwable.Open a repository named by the path info through
RepositoryResolver.Prepends a message request, providing scope and other information about how to dispatch the invocation.
A
Resource is a logical unit of work, which is represented by an instance of this type.The interface for manipulating
Resources in the cluster.Represents a node in the
Snapshot.A Operational Strategy type for the supplied
ResourceEntry.Represents the globally unique ID for a particular resource.
Allows for fetching and opening of the
Resource data.Created by patricktwohig on 8/14/17.
A Guice
Scope which tracks the current Resource.This is the service responsible for maintaining a set of
Resource instances.Contains the association between the
Path and ResourceId.Acquires a
Resource, guaranteeing it will stay in memory until this object is closed.Represents a transaction against a single instance of a
Resource.The return-value for methods such as
ResourceService.unlinkPath(Path) and ResourceService.unlinkPath(Path, Consumer)Enumeration of the various server reserved response codes.
Prepends a message response, providing scope and other information about the response.
Created by patricktwohig on 3/20/15.
Created by patricktwohig on 3/19/15.
Provides a means to accept results returned by instances of
MethodDispatcherDesignates a
FunctionalInterface annotated-type parameter which will receive the result returned from a
remote invocation.This defines the strategy of how JSON-RPC handles the response.
Provides a reason as to why a task was resumed, typically by the
SchedulerContext, but
not always.Allows for the manipulating of handler
Resources as shared instances.Represents a mission step reward.
Represents a Reward that has been issued but has not yet been claimed by the user.
Represents the state of a
RewardIssuance.Represents the persistence type of a
RewardIssuance, controlling duplicate-issuance behavior.Manipulates the instances of
RewardIssuance, including the operations to ensure tha the rewards are properly
inserted into the database and credited to a user's inventory in an atomic way.Represents the result of a reward issuance redemption, housing either the resultant
RewardIssuance or the error details.Represents a PEM label per RFC-7468
Implements
ElementRegistry at the root level with no parent.Specifies a singleton
ElementRegistry instance scoped with the name specified in ElementRegistry.ROOT
and makes it available to the entire application.Implements a round-robin data structure which will repeatedly select from a set of values ensuring an even
distribution across all values.
Allows for round-robin iteration of a list of objects in a thread safe.
Specifies the routing information for the method call.
Designates a method that provides the routing address.
Represents the routing health status of an instance, including routing table entries.
A
RoutingStrategy relies on the RemoteInvokerRegistry and address data to route an Invocation
to a specific RemoteInvoker based on the addressing parameters in the method that is invoked.A
RoutingStrategy which ensures that accepts all address components are instances of HasNodeId and
that all NodeId instances point to the same place.Represents an arbitrary save data document that persists on the server.
Accesses save data documents from the database.
Saves and retrieves documents from the save document system.
Thrown when an instance of
SaveDataDocument can't be found.Represents a named schedule that can be attached to missions.
Provides access to
Schedule instances within the database.Represents a time-bounded event within a schedule, associating missions with a time range.
Manges
ScheduleEvent instances within the database.Thrown when a schedule event cannot be found.
Thrown when a schedule cannot be found.
Manages
Progress instances for theThe Scheduler is the main entry point dispatching requests and operations to the various
Resource instances
contained in the underlying services.This is the
Proxyable for scheduling tasks within the cluster.Tracks that a
Migration with a given id has been applied.Internal interface used to handle scoping of
EvmSmartContractInvocationService.Invoker instances.A Factory type which is used to make instances of invalid input: '{@link /*missing*/}'
Represents a leaderboard score entry associated with a user profile.
Manipulates instances of
Score within the database.Creates and manages instances of
Score.Thrown when an
Element defines a class that exists on both the classpath of the system and the classpath
of the Element, and the system class is made available.Thrown when a
ElementLoaderFactory cannot find the requested element.Represents a generic exception for the
ElementLoader and related types.Securely reads the prompt from a shell (without echoing what is typed).
Builds the
Datastore used by the migration tool, applying indexes itself via
SelfHealingIndexApplier rather than relying on MorphiaConfig.applyIndexes(true), so a
stale on-disk index left over from a prior index-option change doesn't abort datastore construction.Applies every mapped entity's declared indexes against a
Datastore, healing (via
IndexConflictResolver) any single collection whose on-disk index conflicts with its newly-declared
options, instead of letting one conflicting index abort index application for every other entity, which is
how Datastore's own automatic index application behaves.Designates a method parameters to be serialized for remote invocation.
This is the main class used to manage the lifecycle of the underlying
Scheduler instances.Used to access instances which would otherwise be provided using the javax.getInstance annotations javax.injext.Inject and
javax.injext.Named.
Deprecated.
This needs to be replaced with a dispatch to an
Element via ElementRegistryA class which helps implement the
Provider instances
for the service-level objects.Created by patricktwohig on 3/19/15.
Binds a servlet to a URL.
A utility interface which allows the for the separation of logic from the
ServletModule.Common utility functions for servlets.
Represents a session authorized by Elements.
Represents the result of a session creation request, containing the session secret and session details.
Manages instances of
Session.Thrown when a session has expired.
Thrown when a session cannot be found.
Parses the value in the session secret header specified in
Headers.SESSION_SECRET.A Setup utility that can be run from the command-line.
An interface for the sub-commands.
Created by patricktwohig on 6/14/17.
A type of
AsyncConnectionService which uses an internal reference count to ensure that the backed
AsyncConnectionService is opened and closed properly.Defines a new
Element which is sourced from the guice bindings visible to the module at the time the injector
was created.A simple way to manage shutdown hooks.
A
BooleanQueryParser based on Sidhant Aggarwal's boolean query parser.Simple implementation of
Attributes backed by a Map<String,Object> .Builder for
SimpleAttributes.Provides data for an Instance.
Represents a request to adjust an inventory item quantity for a given user by a delta amount.
Created by davidjbrooks on 11/14/2018.
A value that lazily loads the first time it is fetched.
A simple
MapperRegistry backed by pre-built maps of MapperRegistry.Mapper and MapperRegistry.Updater instances.Represents a key for a
MapperRegistry.Mapper or an MapperRegistry.UpdaterA simple reference type intended to be used in lambda functions.
The simple handler server is responsible for dispatching requests and events to all
Resource instances
contained therein.Represents a single async style RPC method.
Represents a single return style RPC method.
Used to implement handler types.
Represents a smart contract registered in the Elements system.
Represents the smart contract address.
Manages smart contracts in the database.
Returned by methods such as
SmartContractInvocationService.resolve(String, BlockchainNetwork) which
ensures that the underlying contract and configuration exists for the associated contract.Thrown when a smart contract cannot be found.
Represents a loaded and limited snapshot of the database.
Builds an instance of
Snapshot.A special type of
InternalException indicating that the Snapshot has no knowledge of a specified
Path or ResourceId.Some utility classes useful to SPI Implementations.
Represents a stakeholder in a blockchain token, holding shares and optionally voting rights.
Standard implementation of
ElementRuntimeService that polls the database for
ElementDeployment records and manages their runtime lifecycle.Houses services that do not follow a majority of the scoping rules, but also do not exist strictly in the unscoped
space.
Contains a listing of all
StartupOperationRepresents a single operation performed by a startup function.
Loads static content from an
ElementPathRecord and serves it via a ServletContextHandler.Loads the standard static content found at
ElementPathLoader.STATIC_DIR.Loads the UI static content found at
ElementPathLoader.UI_DIR.Works around an issue in the base
ResourceServlet which seems to be incompatible with Guice.Created by patricktwohig on 8/3/17.
Houses the various parameters required which allow communication with the Steam Web API.
Represents the response from the Steam ISteamMicroTxn/QueryTxn/v3 API endpoint.
Represents a validated Steam in-app purchase receipt.
Represents a mission step.
Represents a request specifying which subjects (users, profiles, or wildcards) may perform an operation.
Represents the set of subjects (users, profiles, or wildcard) permitted to perform operations on a large object.
Returned from the various subscribe calls.
Created by patricktwohig on 7/13/15.
ApplicationService implemented for when the current user has User.Level.SUPERUSER access.Superuser (and UNSCOPED) implementation of
EmailPasswordLinkService.Superuser (and UNSCOPED) implementation of
EmailVerificationService.Created by patricktwohig on 6/14/17.
Created by patricktwohig on 5/25/17.
Created by patricktwohig on 5/25/17.
Created by patricktwohig on 6/14/17.
Implementation for users with
User.Level.SUPERUSER users.Provides full access to the
Profile and related types.Created by patricktwohig on 5/24/17.
Superuser (and UNSCOPED) implementation of
UsernamePasswordLinkService.Created by patricktwohig on 3/26/15.
Thrown when a symbolic link IO operation fails.
Represents a one-way pipe which can be used to relay either an
Exception or a successful result.Represents the Elements system version.
Similar to a
Pagination, a Tabulation is a way to walk a dataset.Indicates that an entity supports tagging.
Manages the global state of currently operating tasks.
Represents a
TaskEntryAn operational strategy, which defines a list of tasks.
Represents a globally-unique id of a task, associated with a resource.
Indexes all of the
TransactionalTask instances in the datastore.Manages temporary files.
A helper class to find the test artifacts in the project.
Represents a specific test artifact in the collection of test assets.
Enumerates the SPI (Service Provider Interface) types used in testing elements.
A minimal Morphia entity, deliberately shaped like the real-world entity from issue #40
(
MeteringBatchDocument): a non-ObjectId String id, no
useDiscriminator = false override.A test service.
Represents an event record, capturing name and arguments.
A thread-safe implementation of
SimpleLazyValue.Used by the default
MongoClient to handle serialization of Timestamp instances
storing each value as a 64-bit long.Represents a blockchain token definition with ownership, supply, and transfer attributes.
How the client authenticates to an OIDC provider's token endpoint during code exchange.
Manipulates instances of
TokenWithExpiration within the database.Represents an authentication token paired with its expiration timestamp.
Thrown when the service is overloaded and cannot process the request.
Represents a system-wide topic which can be used as a place to publish and subscribe to messages.
The Publisher type which is returned by
Topic.getPublisher().Represents a subscription.
Entry point for manging
Topic instances in the system.Represents a transaction with the underlying datastore.
Indicates that a transaction failed due to a transient condition and can be retried safely.
Supplies instances of
ReadOnlyTransaction as well as ReadWriteTransaction for manipulating the
unerlying data storage.Represents a task from wihing the transactional data store.
Represents a mutable journal entry.
Configuration for loading a transient deployment from Maven artifact coordinates.
Builder for TransientDeploymentRequest.
Builder for constructing
ElementPackageDefinition instances with a fluent API.Builder for constructing
ElementPathDefinition instances with a fluent API.The listing of pre-defined types in the
ModelManifest.
An Element-declared predicate that requests access to specific types not otherwise permitted by the system-side
PermittedTypes or PermittedPackages visibility rules.The default
TypeRequest implementation.A
TypeRequest implementation that treats each entry in ElementTypeRequest.value() as a
regular expression and permits a class whose binary name matches any of them:A
TypeRequest implementation that treats each entry in ElementTypeRequest.value() as a
wildcard pattern where * matches any sequence of characters.Represents a single-use, time-limited token used to verify ownership of an email
UserUid.DAO for single-use email verification tokens used in the UserUid verification flow.
Thrown when access to a resource is unauthorized.
Thrown when a service or resource is temporarily unavailable.
Wrap the java standard
UncheckedInterruptedException.Thrown when the service instance is in an unhealthy state.
Thrown when a profile cannot be identified.
Represents a unique code with an identifier, the code itself, and an expiration timestamp.
DAO for generating unique codes with a given prefix.
Generation parameters for generating unique codes.
Generates unique codes based on a set of candidate characters, a random generator, and a rejection predicate.
Builder for the UniqueCodeGenerator.Configuration.
Configuration for the UniqueCodeGenerator.
Thrown when a unique code cannot be found.
Interface which behaves similar to an
AtomicLong, but with reduced functionality.Used as a means to produce an instance of
UnixFSAtomicLong from the underlying ByteBuffer
in the struct.Which checksum algorithm to use when committing the transaction.
Defines a Checksum-able type which is backed by a
SeekableByteChannel or subclass.Defines a Checksum-able
Struct type.Given a
ByteBuffer, this slices the buffer into a series of smaller ByteBuffers which represent a
subset of the data.Represents a view of the underlying
UnixFSCircularBlockBuffer.Represents a wraparound counter with a leading and trailing value.
Gets a snapshot of the counter.
Used to represent an object which has a FS path component.
Some dirty hacks to support atomic memory access.
Enumerates all commands that can take place during the scope of a transaction.
USed to build an instance of
UnixFSTransactionCommand.Indicates the instruction.
Used to compile a set of instructions into a
UnixFSTransactionProgram used for committing the requested
transactions to disk.Indicates the phase of the transactional program.
Implements the execution handlers.
A collection of useful utility routines when accessing the filesystem.
A result for the
UnixFSUtils.commit(UnixFSHasFilesystemPath, String) operation.Defines an operation which may throw an instance of
IOExceptionDefines an operation which may throw an instance of
IOExceptionRepresents the request body for updating an existing application.
Represents a request to update an Auth Scheme for an Application.
Represents a response from updating an Auth Scheme for an Application.
Represents a request to update a CDN deployment with a new revision.
Represents a request to update a distinct inventory item's ownership and metadata.
Request to update a new Element with specified artifacts and their repositories.
Represents a request to update an
EmailTemplate's name, subject, body, and description.Represents a request to update the quantity of an inventory item.
Represents a request to update an existing item's properties.
Represents a request to update a large object's MIME type and access control subjects.
Represents a request to update an existing leaderboard's properties.
Represents a request to update a metadata object's properties.
Represents a request to update a MetadataSpec's name, type, and properties.
Represents a request to update an existing mission's properties.
Represents a request to update a profile image.
Represents a request to update a profile's properties.
Represents a request to update the current progress of a mission.
Represents a request to update a save data document, including the contents and versioning information.
Represents a request to update a schedule event's time range and associated missions.
Represents a request to update a schedule's name, display name, and description.
Represents a request to update a smart contract's properties.
Created by patricktwohig on 5/8/15.
Represents a request to update a vault's properties and optionally change its passphrase.
Represents a request to update a wallet's display name, networks, and preferred account.
Handle git-upload-pack errors.
Process a git-upload-pack request.
Utility interface providing static methods for constructing and manipulating
URI instances.Represents a user in the system.
Defines the access levels for a
User.Represents a user claim from a JWT request.
Represents a request to create a new user.
Represents the response returned after successfully creating a user.
Builds a
User incrementally, together with explicitly-requested UserUid links, committing
everything when UserCreation.create() is called.This is the UserDao which is used to update users in the database.
REST resource for initiating email verification.
Enumerates the user keys.
Created by patricktwohig on 7/20/17.
Created by patricktwohig on 4/1/15.
Created by patricktwohig on 4/2/15.
Created by patricktwohig on 4/2/15.
Represents a request to create a session using a username and password.
Thrown when a user cannot be found.
Account-linking browser-redirect OIDC attempt, dispatched by
OidcLoginAttemptServiceProvider when the
caller already has an Elements session.Created by patricktwohig on 8/4/17.
Implementation for users with
User.Level.USER users.Created by patricktwohig on 6/29/17.
Created by patricktwohig on 3/25/15.
Service to access Users in the system.
Supplies the appropriate
UserService based on current
access level.Represents a unique identifier that links a user to an external authentication scheme.
This is the UserUidDao which is used to manage associated unique user ids.
Represents a request to update a user's password.
Represents a request to update an existing user's properties.
Created by patricktwohig on 4/2/15.
Created by patricktwohig on 3/26/15.
Represents an error response that includes validation failure details.
Thrown when bean validation fails.
Used in conjunction with the jakarta.validation annotations to specify the various groups in annotation.
Deprecated.
Used in the context of inserting the object in the database for the first time.
Used when the value is read or referenced.
Used in the context of updating an object, such as when used ina PUT request.
Helper class for validating model objects using Jakarta Bean Validation.
Validates that the
properties field of a MetadataSpecPropertiesContainer is consistent
with the declared type (e.g., ARRAY requires exactly one property, OBJECT requires a non-null list).The constraint validator implementation for
ValidProperties.Annotates a field that will validate the field using the validation groups specified in this annotations
ValidWithGroups.groups() property.The constraint validator implementation for
ValidWithGroups.Represents a vault that secures a set of blockchain wallet keys for a user.
Encrypts and decrypts
Vaults.Manages instance of the
Vault.Represents the cryptographic key pair used to secure a
Vault.Thrown when a vault cannot be found.
Manages instances of
VaultsLifecycle status for an identity verification on a
UserUid.Public endpoint that completes email verification by consuming a single-use token from a verification link.
Provides simple version information about the running service.
This is an empty interface which is used as a place to house Swagger definitions.
Gets the
Version of the current build.Defers to the
VersionService to read the build metadata, and respond with a Version instance
using the supplied ObjectMapper.Represents a blockchain wallet associated with a user and a vault.
Represents a single account (address/key pair) within a blockchain
Wallet.Creates instances of
WalletAccount securely.Generates instances of
WalletAccount.Encrypts and decrypts
Wallets.Thrown when a wallet cannot be found.
Manages blockchain wallets.
Times and executes watchdogs.
Represents the worker, hosing one or more nodes performing work.
Allows client code to read the sstate of the
WorkerAllows for the mutation of the
Worker.Represents a watchdog service which is designed to perform operations against the
Worker on a regular basis,
ensuring things like health checks and other critical operations.Overrides the path and path info.
BlockchainNetworkinstead