75 Commits

Author SHA1 Message Date
41e2ae5253 azure csp tests catch exceptions resulting from raised requests exceptions 2020-02-11 15:32:47 -05:00
441e81ba8d azure csp unit tests WIP 2020-02-11 14:11:11 -05:00
leigh-mil
e85934c8fe Update Pipfile 2020-02-03 15:38:32 -05:00
graham-dds
0e49d038be Add azure-storage-blob and remove pytest-watch
pytest-watch + pipenv were causing problems when building the app in CI,
so pytest-watched was removed for the time being.
2020-01-31 13:17:00 -05:00
tomdds
ea040a914e Properly report initial clin information
Includes fixed up state machine test as well as adds some missing dependencies
2020-01-24 11:01:53 -05:00
becc3630c2 azure integration. methods to authenticate and set/get value in keyvault 2020-01-22 13:39:41 -05:00
tomdds
2ac333e0b7 Sample create tenant itegration
This integration works with the happy path, we'll need to expand some fields and handle error states more coherently.
2020-01-14 17:16:54 -05:00
tomdds
34546ecd94 Add transitions to Pipfile 2020-01-14 16:36:16 -05:00
Philip Kalinsky
69bd2f43a5 provision portfolio state machine 2020-01-14 16:36:16 -05:00
leigh-mil
ab5485e103 Update version of sqlalchemy 2020-01-14 06:27:28 -05:00
dandds
6460c912dd Remove Libcloud dependency 2019-12-20 10:34:12 -05:00
dandds
b61956080e Initial policies and method for creating policy definition.
This adds some initial example policies:

- One for region restrictions
- One for service restrictions

Note that the MS ARM team has said that region restrictions may be
controlled by ARM, so that policy might prove unnecessary. The
parameters list for the service restrictions is stubbed for now, pending
the full list.

I also added an internal method for adding policy definitions to a
management group. This method is agnostic about what tier of management
group the policy is being defined at. It requires that a dictionary
representing the properties section of a valid Azure JSON policy
definition be passed as an argument.
2019-12-20 10:34:12 -05:00
tomdds
2801e07454 Add Azure Management Group Dependency 2019-12-13 10:53:24 -05:00
tomdds
c5c667a436 Remove load-test dependencies from main project 2019-11-14 12:52:59 -05:00
tomdds
c03987e552 Add locust and pyquery dev deps for load testing 2019-11-13 17:08:26 -05:00
tomdds
3e7a720ffb Post-rebase fixes 2019-10-30 16:43:59 -04:00
tomdds
41633417d8 Add Azure Libraries 2019-10-30 16:43:59 -04:00
tomdds
15ff4a01f1 Add Azure Graph API 2019-10-30 16:43:59 -04:00
tomdds
5cd20c650a Draft of Azure create_environment 2019-10-30 16:43:59 -04:00
richard-dds
4da8c923ed Remove boto3 dependency 2019-10-28 14:01:03 -04:00
richard-dds
c66b1ef2f9 Add mypy and add typechecking step to script/test
Only check atst/domain/csp/cloud.py for now
2019-10-24 14:44:53 -04:00
richard-dds
cacb9135d1 Tests for AWSCloudProvider.create_environment
Created mock boto3 for testing
2019-10-02 16:01:12 -04:00
dandds
112f0e0ab2 Initial JS tests for the Vue TOForm component.
This adds BeautifulSoup to the Python dev dependencies so that we can
render an entire page and then extract the Vue component we need.
Ideally, we should refactor all the Vue components so that they live in
Jinja macros and we can render those macros directly.
2019-09-20 15:24:55 -04:00
dandds
d7478e322a Use Celery instead of RQ.
Celery provides a more robust set of queueing options for both tasks and
worker processes. Updates include:
- infrastructure necessary to run Celery, including celery entrypoint
- backgrounded functions are now imported directly from atst.jobs
- update tests as-needed
- update kubernetes worker pod command
2019-08-29 09:33:47 -04:00
dandds
2a0168b1e6 Scripts for finding accidental secrets in the repo.
This adds the following:
- A detect-secrets dependency and a related script
  (`script/detect_secrets`) to find and alert developers to secrets
  added to the code. By default, the script will search staged and new,
  unstaged files. It can optionally search only staged files.
- A whitelist, `.secrets.baseline`, that tracks instances of secrets or
  false positives already in the repo.
- Modifies `script/test` to detect secrets as part of the test suite.
- Updates to the README regarding the use of detect-secrets.
2019-08-13 05:59:56 -04:00
richard-dds
5a1c6b2b39 Remove azure-storage-file 2019-08-06 16:56:10 -04:00
richard-dds
8eba9a097d Add CSP file uploads 2019-08-05 14:58:10 -04:00
richard-dds
d32ce93271 Unpin werkzeug dep 2019-07-31 10:35:05 -04:00
dandds
6abbf4bac0 Upgrade Python to 3.7.3 and add PyYAML.
We should try and track mainline Python as much as possible.

PyYAML was a sub-dependency of a dev dependency but was being included
in the translations utility. Bundling only the production Python
dependencies was not working because of this.
2019-06-20 06:26:08 -04:00
George Drummond
f534b2e034
Remove simplejson 2019-06-14 13:22:37 -04:00
George Drummond
93a9ab78aa
Remove unused dependencies 2019-06-13 12:06:37 -04:00
George Drummond
f47ee14ce1
Update to sqlalchemy 1.3.4 2019-06-04 13:13:30 -04:00
George Drummond
1cf6b07aa0
Fix outdated dependencies 2019-06-04 10:41:10 -04:00
leigh-mil
f39085cc8a Lock version of werkzeug 2019-03-28 14:51:41 -04:00
George Drummond
5572452cc0
Test for invalid signature 2019-03-20 15:24:48 -04:00
George Drummond
f2ae591c87
Verify PDF signatures 2019-03-20 13:11:12 -04:00
dandds
0085d1193f temporarily lock sqlalchemy until flask-sqlalchemy fixes deprecations 2019-03-11 17:21:40 -04:00
Patrick Smith
ba97117a74 Add tests for portfolio funding route
This adds a helper to grab a template's context. Using a helper from the
Flask documentation: http://flask.pocoo.org/docs/1.0/signals/?highlight=template_rendered#subscribing-to-signals
2019-01-15 21:10:59 -05:00
dandds
14e7559083 install simplejson for json serialization 2019-01-02 09:36:59 -05:00
dandds
d3fd32d7a0 lock pytest for now 2018-12-14 16:06:13 -05:00
Patrick Smith
9370029058 Update pipfile.lock 2018-12-13 16:27:29 -05:00
dandds
a85c475642 update requests 2018-10-30 11:29:27 -04:00
dandds
ae909117f4 use honcho to manage multiple dev processes 2018-10-15 11:38:34 -04:00
dandds
f7d8783349 implement mailer with task queue 2018-10-15 11:37:06 -04:00
dandds
78af50fcf0 sketch of BrowserStack and Selenium testing setup 2018-10-15 09:09:23 -04:00
dandds
b667d3331c mistakenly had pytest in non-dev dependencies list 2018-10-09 10:55:21 -04:00
dandds
74ab2151f8 mandate python 3.6.6 and install pytest-cov 2018-10-09 10:55:21 -04:00
dandds
2e07c8ebda use defusedxml library for secure parsing 2018-09-26 10:23:37 -04:00
dandds
ef2e97713a initial uploader and some form work 2018-08-27 13:04:41 -04:00
richard-dds
9dd1a417e0 Re-introduce pytest-env 2018-08-21 20:25:10 -04:00