etsqaas
v4.0.1
Published
qaas for FI and FX
Readme
What's this module for!?
This module serves as a middle layer between qaasetsvc and actual step implementation (e.g., in fxgo-dealing-ui-automate). If you are making changes related to the format of request/response, you'll probably need to make some changes in this module as well depending on the logic of operation function.
Using NPM link
- Launch cmd in project root
- Run
npm link && npm run clean-build - Open second repo (the one with features and steps) and run
npm link etsqaas
To add new operations
SKIP this section if only updating EXISTING operations!
After you finished python part of new operation creation, merged your python code in ETSQAAS repo and went thought the approval process with QAAS orchestrator team, you'll need to generate updated ETSQAAS client.
- To generate an updated client:
- Open qaaasvc in RAPS and search for the version which contains your new operation alias
- Update schema in qaassvc.xsd
- Run
npm run build-client
To publish the new version
If any changes been made to src/ folder (including client version upgrade from above)
After testing and merging the PR, you need to publish ETSQAAS lib to the Artifactory manually.
NPM token update (if you haven't updated it for a long time or never did it)
- Open THIS LINK
- Check "Retrieve/Generate JWT?" checkbox and log into Artifactory
- Copy token and paste into
C:\Users\{your_username}\.npmrcon a new line (or replace existing) as://artprod.dev.bloomberg.com/artifactory/api/npm/:_authToken={copied_token} - Reboot laptop (not necessary but sometimes doesn't work without it)
To publish this module to the Artifactory:
- Run
git fetch && git rebase - Update
versionin package.json - Create and merge pull request with the updated version
- Run
npm run clean-build && npm login- Enter your credentials to https://artprod.dev.bloomberg.com/artifactory/tokens/login once prompted in cmd
- Run
npm publish
