-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock lattice API #157
Comments
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: lattice/pkg/api/server/mock/server_test.go Line 407 in 21b561d
|
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 |
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.
The text was updated successfully, but these errors were encountered: