You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is this needed? Is your feature request related to a problem?
Allows testing of registry index server using a mock environment without the need for full deployment to sandbox environment.
Detailed description:
Currently, testing the registry index server requires one to build and deploy the index server to a sandbox environment to run integration testing. With mock testing, this would save a lot of time when one might be working endpoints and need to perform testing.
Describe the solution you'd like
Creation of tests for each endpoint of the index server
GET /index
GET /index/:type
GET /health
GET /devfiles/:name
GET /devfiles/:name/:version
GET /devfiles/:name/starter-projects/:starterProjectName
GET /devfiles/:name/:version/starter-projects/:starterProjectName
GET /v2index
GET /v2index/:type
GET /v2/*proxyPath
HEAD /v2/*proxyPath
Creates mock OCI registry server that index server talks to
Creates mock client connection to perform fake requests on the endpoints
Uses form of filesystem environment to simulate file IO done by endpoints
Update testing documentation to include mock testing
Instructions on changing mock testing when changes are made to Registry Index Server or OCI Registry Server
Describe alternatives you've considered
Continue with current testing setup as is.
Target Date: 08-23-2022
The text was updated successfully, but these errors were encountered:
Which area this feature is related to?
/area registry
Which functionality do you think we should add?
Why is this needed? Is your feature request related to a problem?
Allows testing of registry index server using a mock environment without the need for full deployment to sandbox environment.
Detailed description:
Currently, testing the registry index server requires one to build and deploy the index server to a sandbox environment to run integration testing. With mock testing, this would save a lot of time when one might be working endpoints and need to perform testing.
Describe the solution you'd like
GET /index
GET /index/:type
GET /health
GET /devfiles/:name
GET /devfiles/:name/:version
GET /devfiles/:name/starter-projects/:starterProjectName
GET /devfiles/:name/:version/starter-projects/:starterProjectName
GET /v2index
GET /v2index/:type
GET /v2/*proxyPath
HEAD /v2/*proxyPath
Uses form of filesystem environment to simulate file IO done by endpointsDescribe alternatives you've considered
Continue with current testing setup as is.
Target Date: 08-23-2022
The text was updated successfully, but these errors were encountered: