All Classes and Interfaces
Class
Description
Lets an admin see every API endpoint the proxy has cached so far, with a hit count for each — the
observation-only groundwork for per-endpoint TTL policy (see issue #2).
A MongoDB document holding the cached response for a single upstream UCSB API request, keyed by
the resolved request path (no query parameters are used by any of the endpoints this proxy
currently serves).
Mongo repository ("collection") for
CachedResponse documents.Launches a cache eviction run on a schedule (nightly at 3am Pacific by default; override with
app.cache.eviction.cron, or set it to - to disable).Caching proxy for every UCSB API endpoint under
/dining/**.Shared cache-check/forward/store logic used by every proxy controller.
Deletes every cached response not accessed since
cutoff.Builds and launches an
EvictStaleCachedResponsesJob.Thrown when a request is refused for a reason the client can fix (e.g. a missing PAT or a repo
the stored PAT cannot reach).
A host (hostname if resolved, else IP address), how many requests it has sent in total, and a
breakdown of that total by which request path it called.
Lets an admin see every host that has sent requests through the proxy, with a count for each.
Tracks which hosts have sent requests through the proxy, and how many times each has done so.
In-memory implementation of
HostTrackingService.Bridge between the lib-jobs library and this app's notion of "current user"; lib-jobs uses it to
stamp createdById/createdByEmail on Job records.
Production MongoDB configuration.
Non-production MongoDB configuration, backed by an embedded in-memory MongoDB instance, similar
to how H2 is used as an in-memory SQL database for these profiles.
The `OpenAPIConfig` class is annotated with OpenAPI definitions including information about the
API and server configuration.
A request path and how many times a given host has requested it.
Attempts a reverse DNS lookup for one IP address, updating
HostTrackingService with the
result (the resolved hostname, or the address itself if resolution fails).Builds and launches a
ResolveHostnameJob for one IP address.Reloads a user's security context on each request so that role changes (admin/hostManager added
or removed in the database) take effect without requiring re-login.
Exposes the four in-memory cache performance counters.
In-memory counters tracking cache performance since the proxy was started up.