Add scripts to facilitate fruition of Bruno API collections
Reason
Bruno API has been chosen as a substitute of Postman because of limitations in multi-user collaboration in its "free" version.
While Bruno is very similar to Postman in many aspects, it still needs to be installed by every user who needs to call internal APIs: to make it easier to call HTTP requests, many scripts and tools have been added to convert Bruno requests to VSCode/httpyac requests, allowing users to be able to use them without installing Bruno itself.
Since many collections make use of secrets, a main environment file has been created to propagate such secrets to all collections; some configuration scripts have also been added to streamline such process.
Remarks
Even if Bruno is not scrictly needed to run requests, one has still to install VSCode and httpyac extension
Details
move Bruno collections to own folder (this allows for automatic generation of different formats under autodocs folder)
add automatic generation of httpyac requests (Bruno scripts are not automatically refactored!)
add scripts to automatically generate environments and values for Bruno collections
add scripts to automatically generate environments and values for httpyac requests
Co-authors
N/A
Check-lists
Common
At least 1 unit-test added.
Note: no tests have been added, as the utility scripts are Powershell-based.
Database
N/A
## Description
Add scripts to facilitate fruition of Bruno API collections
### Reason
Bruno API has been chosen as a substitute of Postman because of limitations in multi-user collaboration in its "free" version.
While Bruno is very similar to Postman in many aspects, it still needs to be installed by every user who needs to call internal APIs: to make it easier to call HTTP requests, many scripts and tools have been added to convert Bruno requests to VSCode/httpyac requests, allowing users to be able to use them without installing Bruno itself.
Since many collections make use of secrets, a main environment file has been created to propagate such secrets to all collections; some configuration scripts have also been added to streamline such process.
### Remarks
Even if Bruno is not scrictly needed to run requests, one has still to install VSCode and httpyac extension
### Details
- move Bruno collections to own folder (this allows for automatic generation of different formats under autodocs folder)
- add automatic generation of httpyac requests (Bruno scripts are not automatically refactored!)
- add scripts to automatically generate environments and values for Bruno collections
- add scripts to automatically generate environments and values for httpyac requests
## Co-authors
N/A
## Check-lists
### Common
- [ ] At least 1 unit-test added.
Note: no tests have been added, as the utility scripts are Powershell-based.
### Database
N/A
- add missing headers and body with relative content-type
- fix double quotes for empty variables (not needed by VSCode REST client)
- strip comments from JSON data
- change autogenerated folder to autodocs/httpyac
- renamed many environment variables
- add config section to env template to manage different apps
- cleanup bruno environments for easier automation of env files
- add pre-request and post-response scripts from bruno
- manage EFTL-specific scripts
- add scripts to setup json template
- add scripts to update environment files
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
Add scripts to facilitate fruition of Bruno API collections
Reason
Bruno API has been chosen as a substitute of Postman because of limitations in multi-user collaboration in its "free" version.
While Bruno is very similar to Postman in many aspects, it still needs to be installed by every user who needs to call internal APIs: to make it easier to call HTTP requests, many scripts and tools have been added to convert Bruno requests to VSCode/httpyac requests, allowing users to be able to use them without installing Bruno itself.
Since many collections make use of secrets, a main environment file has been created to propagate such secrets to all collections; some configuration scripts have also been added to streamline such process.
Remarks
Even if Bruno is not scrictly needed to run requests, one has still to install VSCode and httpyac extension
Details
Co-authors
N/A
Check-lists
Common
Note: no tests have been added, as the utility scripts are Powershell-based.
Database
N/A