63 Commits

Author SHA1 Message Date
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
41633417d8 Add Azure Libraries 2019-10-30 16:43:59 -04:00
dandds
06dc193c28 WIP: can add new app/SP 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
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
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
41f98cf726 Pin rq-scheduler dependency to resolve dependency conflict
The latest version of `flask-rq2` depends on:

* rq-scheduler>=0.8.3
* rq>=0.12,<0.13

Previously, `rq-scheduler` (0.8.3) requires:

* rq>=0.8

A recent release of `rq-scheduler`, 0.9 requires:

* rq>=0.13

`rq-scheduler`'s requirement conflicts directly with `flask-rq2`'s
version requirement of `rq`.

Manully pinning `rq-scheduler` to `>=0.8.3,<0.9` causes `0.8.3` to be
installed, so both dependencies can be satisfied.
2018-12-13 16:07:27 -05: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
Patrick Smith
e7ae991e93 Add pytest-env to fix pipenv run pytest command
Previously tests would fail when `pipenv run pytest` was run because the
`FLASK_ENV` was not set. Rather than having to remember to run
`FLAKS_ENV=test pipenv run pytest`, we can use `pytest-env` to set the
env variable. The `D:` prefix tells `pytest-env` to not override an
existing value for the variable.
2018-08-21 16:03:10 -04:00
dandds
b9f4a4be71 remove all references to tornado 2018-08-06 15:39:30 -04:00
dandds
f0a7bfcd0e add CRL functionality from authnid 2018-08-06 10:44:00 -04:00
Patrick Smith
6d884f9e5b Add flask-wtf dependency back 2018-08-02 17:24:12 -04:00
dandds
45b47c41bf update tests for Flask 2018-08-02 16:03:54 -04:00
richard-dds
5987748898 Requests index rendering 2018-08-02 13:58:41 -04:00
richard-dds
5d7dde3561 Financial verification form rendering 2018-08-02 13:20:02 -04:00
richard-dds
4ee662665e Requests index rendering 2018-08-02 13:20:02 -04:00