Remove more unused bits

This commit is contained in:
Lauri Võsandi 2021-05-27 20:36:20 +00:00
parent 8ebf375b4b
commit 649f97622b
3 changed files with 0 additions and 11 deletions

View File

@ -173,9 +173,6 @@ class SessionResource(object):
request_subnets=const.REQUEST_SUBNETS or None,
machine_enrollment_subnets=const.MACHINE_ENROLLMENT_SUBNETS or None,
admin_subnets=const.ADMIN_SUBNETS or None,
ocsp_subnets=const.OCSP_SUBNETS or None,
crl_subnets=const.CRL_SUBNETS or None,
),
features=dict(
token=True,

View File

@ -2,8 +2,6 @@ from pinecrypt.server import db
from pinecrypt.server.decorators import serialize, csrf_protection
from .utils.firewall import login_required, authorize_admin
logger = logging.getLogger(__name__)
class TagResource(object):
@serialize
@login_required

View File

@ -396,11 +396,6 @@ def pinecone_serve_backend():
# CN to Id api call
app.add_route("/api/signed/{cn}", SignedCertificateDetailResource(), suffix="cn")
app.add_route("/api/request/{cn}", RequestDetailResource(), suffix="cn")
app.add_route("/api/signed/{cn}/script", ScriptResource(), suffix="cn")
app.add_route("/api/signed/{cn}/tag", TagResource(), suffix="cn")
app.add_route("/api/signed/{cn}/tag/{tag}", TagDetailResource(), suffix="cn")
# Certificate authority API calls
app.add_route("/api/certificate", CertificateAuthorityResource())
@ -658,7 +653,6 @@ def pinecone_serve_strongswan(client_subnet_slot):
pinecone_serve.add_command(pinecone_serve_openvpn)
pinecone_serve.add_command(pinecone_serve_strongswan)
pinecone_serve.add_command(pinecone_serve_syslog)
pinecone_serve.add_command(pinecone_serve_backend)
pinecone_serve.add_command(pinecone_serve_ocsp_responder)
pinecone_serve.add_command(pinecone_serve_events)