Adds the two delivery actions to the endpoints command allowlist, each gated on a new endpoints.deploy permission ON TOP OF endpoints.command so pushing software is a heavier grant than a routine toggle. Enqueue validates update_app appversionid ownership and installer presence before queueing. New collector-authenticated download routes let the agent fetch installer packages and script bodies by digest rather than pre-staging them or sending bodies over the command wire. Wires the scriptsApi client, the siteagent generator routes, and a temporary dev-only Delivery test bench (view/route/nav) for exercising the path while the production UI is built.
10 lines
305 B
Python
10 lines
305 B
Python
"""Endpoints plugin API."""
|
|
|
|
from .routes import endpoints_bp
|
|
# Attaches the adoption-tool packaging route to endpoints_bp (spike).
|
|
from . import adoption # noqa: F401
|
|
# Attaches the site agent generator packaging routes to endpoints_bp.
|
|
from . import siteagent # noqa: F401
|
|
|
|
__all__ = ['endpoints_bp']
|