Open abdulito opened 6 years ago
I had a meeting with kevin/will about this yesterday and started working on it today.
Made good progress so far. Implemented mock create system, deploy, teardown.
@abdulito can you update your status?
Happy path for mock is mostly implemented. I still have to implement secrets. I also created a unit test for the mock that can be found below. Maybe folks can start looking at this. @BenElgar @robcarlan-mlab
Got working on this again. Still in progress and now trying to make the unit test cover all basic cases
I am pretty much done with this. I am gonna create a PR for it today and update the ticket with information on how to operate the mock API server
Created a pull request.
For folks who want to see how to setup the mock api server then please refer to the test suite:
Updated PR per kevins review
Update PR to include testing for jobs. Also synced my branch with master
Need a way for provisioning the mock API. Using a flag or something
This is good to go.
We created a new command for starting mock api server and built a docker image for that
command is cmd/mock/api-server
and docker image is mock-api-server
. I'll write up the command help for that
1- Implement a mock Lattice API that the LaaS folks can use. Kevin mentions there is a "Backend" interface you can implement to provide the mock.
2- Develop Lattice API unit tests based on the mock.