diff --git a/analyzers/C1fApp/README b/analyzers/C1fApp/README index a7cf23ef9..f6c40b131 100644 --- a/analyzers/C1fApp/README +++ b/analyzers/C1fApp/README @@ -7,7 +7,7 @@ Add the following to application.conf to enable analyzer C1fApp { service="query" key="Get your key from www.c1fapp.com" - api_url="https://www.c1fapp.com/cifapp/api/" + url="https://www.c1fapp.com/cifapp/api/" } ``` diff --git a/analyzers/C1fApp/cifquery.py b/analyzers/C1fApp/cifquery.py index c571d66c2..94fe94b93 100755 --- a/analyzers/C1fApp/cifquery.py +++ b/analyzers/C1fApp/cifquery.py @@ -13,7 +13,7 @@ def __init__(self): self.service = self.getParam( 'config.service', None, 'Service parameter is missing') self.cif_key = self.getParam('config.key', None, 'Missing C1fApp API key') - self.api_url = self.getParam('config.api_url', None, 'Missing API URL') + self.api_url = self.getParam('config.url', None, 'Missing API URL') @staticmethod def _getheaders(): diff --git a/analyzers/C1fApp/requirements.txt b/analyzers/C1fApp/requirements.txt new file mode 100644 index 000000000..4a21dbf63 --- /dev/null +++ b/analyzers/C1fApp/requirements.txt @@ -0,0 +1,2 @@ +cortexutils +requests \ No newline at end of file