-
- Downloads
Change how credentials are stored and managed (#44)
* Add the RegistryCredentials end point in the service * add index to moodle in intellij metadata * Add skeleton for the webservice to download the credentials * first draft of the file credentials in te * remove path since we require this workflow to pass in PRs * Send request from moodle to the autograde service to fetch the credentials * Implement the download_credentials function * Add credentials file options * change description of the admin setting * implement data_preprocessing + change the tye of the api_key input to be password * implement the upload_credentials in function for the autograde service in moodle * fetch the config from the file area in data_preprocessing * Add function to fetch the credentials in the moodle service * fix the download credentials DTO to be compatible with jackson * Add todo note
Showing
- .github/workflows/autograde-service-tests.yml 1 addition, 4 deletions.github/workflows/autograde-service-tests.yml
- .idea/dataSources.xml 12 additions, 0 deletions.idea/dataSources.xml
- .idea/moodle-autograde.iml 77 additions, 1 deletion.idea/moodle-autograde.iml
- .idea/php.xml 6 additions, 0 deletions.idea/php.xml
- .idea/phpunit.xml 80 additions, 0 deletions.idea/phpunit.xml
- moodle-assignsubmission-autograde/classes/autograde_webservice.php 45 additions, 2 deletions...signsubmission-autograde/classes/autograde_webservice.php
- moodle-assignsubmission-autograde/classes/external/autograde_download_credentials.php 90 additions, 0 deletions...grade/classes/external/autograde_download_credentials.php
- moodle-assignsubmission-autograde/db/services.php 8 additions, 1 deletionmoodle-assignsubmission-autograde/db/services.php
- moodle-assignsubmission-autograde/locallib.php 72 additions, 35 deletionsmoodle-assignsubmission-autograde/locallib.php
- moodle-assignsubmission-autograde/settings.php 1 addition, 1 deletionmoodle-assignsubmission-autograde/settings.php
- moodle-grading-service/src/main/java/ch/epfl/cs107/grading/moodle/api/v1/controller/RegistryCredentialsController.java 52 additions, 0 deletions...odle/api/v1/controller/RegistryCredentialsController.java
- moodle-grading-service/src/main/java/ch/epfl/cs107/grading/moodle/api/v1/dto/DownloadCredentialsDTO.java 23 additions, 0 deletions...107/grading/moodle/api/v1/dto/DownloadCredentialsDTO.java
- moodle-grading-service/src/main/java/ch/epfl/cs107/grading/moodle/api/v1/dto/UploadCredentialsDTO.java 19 additions, 0 deletions...cs107/grading/moodle/api/v1/dto/UploadCredentialsDTO.java
- moodle-grading-service/src/main/java/ch/epfl/cs107/grading/moodle/api/v1/service/MoodleWebService.java 31 additions, 0 deletions...cs107/grading/moodle/api/v1/service/MoodleWebService.java
.idea/dataSources.xml
0 → 100644
.idea/php.xml
0 → 100644
.idea/phpunit.xml
0 → 100644
Please register or sign in to comment