Comments (1)
The steps to be tested can be derived from the documentation: https://docs.edgexfoundry.org/3.0/getting-started/Ch-GettingStartedSnapUsers/#adding-api-gateway-users
The user creation and JWT request are already performed in:
edgex-snap-testing/test/utils/readings.go
Lines 13 to 20 in b08bb4d
Which better be moved to a new file named e.g.
login.go
.
A new test under the edgexfoundry suite can be to perform the login and use the JWT to call an API. Some code to do so can be taken from those removed by #188
See also: #174
from edgex-snap-testing.
Related Issues (20)
- Keep the ASC tests alongside the default mode in ekuiper suite HOT 1
- Make refresh tests work with local builds
- Dependency Dashboard
- Make Teardown an optional step HOT 1
- Refactor suites to use predefined ports from utils package HOT 1
- Refactor the edgex-no-sec tests to allow custom testing
- Upgrade and enable secrets-config proxy tests HOT 1
- Remove config override tests after service startup when using config provider HOT 6
- Improve error reporting of the login script
- Rename `DisableConfigProviderXXX` function for clarity HOT 2
- Enable debug mode on all snaps by default for more effective debugging HOT 1
- Remove the nonexisted 'secrets-config-processor' service from the edgex-no-sec test
- Add test for checking startup status of oneshot services HOT 1
- Replace deprecated `set-output` command
- Upgrade download-artifact action to replace deprecated Node.js HOT 1
- Add secrets config test to replace the TLS certificate
- Handle the max retries error that was left uncaught in the config provider test HOT 1
- Allow running all test suites against locally built platform snap
- Refactor snap and channel variable names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgex-snap-testing.