Conversation
GordonWang
left a comment
There was a problem hiding this comment.
Can we hold this change a while. and let's continue discussion when I create my PR
| working_dir = os.path.join(splunk_home, 'etc', 'apps', app_name, 'default') | ||
|
|
||
| default_template_dir = os.path.join(os.path.dirname(working_dir), 'samples', 'templates') | ||
| if hasattr(self._sample, "sampleDir"): |
There was a problem hiding this comment.
There was a problem hiding this comment.
This issue is addressed in #177
Please review this.
There was a problem hiding this comment.
@jmeixensperger could we just use #177 since it addressed both the default template dir issue and vulnerability issue with test cases covered?
| 'jinja2', | ||
| 'pyrabbit==1.1.0', | ||
| 'urllib3==1.23', | ||
| 'urllib3>=1.24.2', |
There was a problem hiding this comment.
Also this should be urllib3==1.24.2, or it will break all the functional tests.
|
#177 has been merged. |
|
Please resolve merge conflicts. |
|
@arctan5x @jmeixensperger I think both the |
Use sampleDir to define a default templates path and load it into our filesystem.
Addresses #167.