-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor bcgov/api and merge to bcgov/wps #432
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Skeleton for API project
Add missing compliance audit file
Added stations and percentiles (reading from json files)
* Add basic script for calculating 90th percentile on sample data * Revised script & output based on Brady's initial feedback * Add start & end time ranges as parameters * Add Jupyter notebook for script interaction * Modified script to calculate percentiles offline; add results as json file * Clean out unneeded files * Edits made based on Sy's feedback for PR
- All weather station names. - Extracting csv from access database. - Update Pipfile.lock. - Fixed unit tests. - Added sample environment file.
- formatting station json nicely - exclude stations starting with ZZ (inactive) and ending with QD (quick deploy) - ordered result by station name)
* Adding initial pipeline code for deployment to openshift. Updated jenkinsfile and openshift templates. Included ORIGINS env. variable. * Using wps-api for config and deploy scripts. * Updated the match label. * Removed build notifications and using env variable for origins saved in config map. * Updated the definition of data under config map. * Using master branch as reference.
- Re-generated data with year list - Change calculate_percentile_offline.py to comply with pep8 - Added comment on data_years type
…e - WPS #95 (#17) * Generated precalculated percentiles data for 20 year and full range of data available for weather stations * Updated folder names * Updated script to generate precalculated percentile data for multiple year ranges * test commit * Removed default year range * Added new tests to check for blank stations and invalid year range * updated folder name logic and updated run command to run tests before run
* Add updated weather_stations.json after newest script execution * Resolve missed merge with master; add updated data jsons
* Cleanup before moving to shared pipeline scripts NOTE: this is not going through the pipeline, because it (temporarily) eliminated the pipeline!
* Copied wps-web Jenkinsfile * Renamed BC and DC for general consumption * BC modified to use standard vars * BC relabeling, cleanup and adjustment * BC and DC revision * Cut down DC and fixed some identation * Updated image path * Removed old Rocket.Chat token * DC allocations, typos and env.origins * Removed stale vars in BC and Jenkinsfile
* Remove uncooperative subtree * Squashed 'openshift/scripts/' content from commit b18e587 git-subtree-dir: openshift/scripts git-subtree-split: b18e587 * Squashed 'openshift/scripts/' changes from b18e587..9a2c8cd 9a2c8cd oc_cleanup.sh typo (#163) git-subtree-dir: openshift/scripts git-subtree-split: 9a2c8cd
and set allowed origins to wps-web-*.pathfinder.gov.bc.ca
* Changed json structure to comply with python conventions. * Changed python code to comply to linting rules. * Added linting rules. * Removed data for stations not used. * Added standardized ways to run test and lint. * Added additional Dockerfile to deal with linting in "dev" build environment. * Added linting commands to Makefile. * Modified some python code to allow linting to pass when developer packages aren't installed. * Updated documentation/README * test.sh and lint.sh working now
* Bump bleach from 3.1.1 to 3.1.2 Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/mozilla/bleach/releases) - [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES) - [Commits](mozilla/bleach@v3.1.1...v3.1.2) Signed-off-by: dependabot[bot] <support@github.com> * Ran pipenv update Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* documented assumptions
script for copying a database from an openshift pod to local
- Renamed models as requested in prior code review (they make a bit more sense now) - Removed all references to "forecast" from the models, in order to reduce confusion between what forecasters forecast, and what weather models predict. - Updated poetry references to latest.
Kyubinhan
force-pushed
the
task/merge-wps-api-2/272
branch
from
August 15, 2020 00:30
a148a9f
to
f55f9c0
Compare
Kyubinhan
changed the title
Task/merge wps api 2/272
Refactor bcgov/api and merge to bcgov/wps
Aug 18, 2020
Kyubinhan
force-pushed
the
task/merge-wps-api-2/272
branch
from
August 18, 2020 19:08
665e88a
to
0a81a7b
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
andrea-williams
approved these changes
Aug 18, 2020
Sybrand
approved these changes
Aug 18, 2020
vanislekahuna
pushed a commit
to vanislekahuna/wps
that referenced
this pull request
Sep 19, 2024
* Move all the API files under `api/` * Update `sonar-project.properties` to narrow down the coverage focus * Update Openshift scripts (paths and env variables) * Remove bash scripts and common folder at root * Update `fireweather_bot.py` to raise more exceptions * Add more commands in Makefile for docker environment * Copy all the files at the last step in `dev.Dockerfile`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
api/
sonar-project.properties
to narrow down the coverage focusfireweather_bot.py
to raise more exceptionsdev.Dockerfile