Skip to content

Commit

Permalink
#64 #119 unify config options
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Dec 22, 2017
1 parent b925198 commit 0756e3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion analyzers/C1fApp/README
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
}
```

Expand Down
2 changes: 1 addition & 1 deletion analyzers/C1fApp/cifquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 2 additions & 0 deletions analyzers/C1fApp/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cortexutils
requests

0 comments on commit 0756e3f

Please sign in to comment.