From 76049b4ff17af7716bf1ffe7c8d460e37e3a6727 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Fri, 10 Jul 2015 17:02:23 -0700 Subject: [PATCH] Fixing how we feed a list of destinations to be saved. --- lemur/authorities/service.py | 2 +- setup.py | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lemur/authorities/service.py b/lemur/authorities/service.py index f414d6a8..25c42e8c 100644 --- a/lemur/authorities/service.py +++ b/lemur/authorities/service.py @@ -54,7 +54,7 @@ def create(kwargs): kwargs['creator'] = g.current_user.email cert_body, intermediate, issuer_roles = issuer.create_authority(kwargs) - cert = cert_service.save_cert(cert_body, None, intermediate, None) + cert = cert_service.save_cert(cert_body, None, intermediate, []) cert.user = g.current_user # we create and attach any roles that the issuer gives us diff --git a/setup.py b/setup.py index 509630cb..93803b95 100644 --- a/setup.py +++ b/setup.py @@ -106,8 +106,11 @@ setup( 'lemur = lemur.manage:main', ], 'lemur.plugins': [ - 'verisign = lemur.plugins.lemur_verisign.plugin:VerisignPlugin', - 'cloudca = lemur.plugins.lemur_cloudca.plugin:CloudCAPlugin', + 'verisign_issuer = lemur.plugins.lemur_verisign.plugin:VerisignIssuerPlugin', + 'cloudca_issuer = lemur.plugins.lemur_cloudca.plugin:CloudCAIssuerPlugin', + 'cloudca_source = lemur.plugins.lemur_cloudca.plugin:CloudCASourcePlugin' + 'aws_destination = lemur.plugins.lemur_aws.plugin:AWSDestinationPlugin', + 'aws_source = lemur.plugins.lemur_aws.plugin:AWSSourcePlugin' ], }, classifiers=[