Skip to content

Commit

Permalink
Refactored some proxy code to reuse with wolfpack
Browse files Browse the repository at this point in the history
Refactored the system, volume, container, and stream swagger code
into proxy code.

1) Moved the errors.go from backends to a new folder to be accessed
by all folders outside of the backends folder.
2) Refactored Container proxy and moved from engine/backends to engine/proxy
3) Refactored Volume proxy and moved from engine/backends to engine/proxy
4) Refactored System proxy and moved from engine/backends to engine/proxy
5) Refactored Stream proxy and moved from engine/backends to engine/proxy
6) Adopted some common patterns in all the proxies
7) Moved common networking util calls to engine/networking
8) Fix up unit tests

More refactoring will be needed to make these proxy less dependent on
docker types and portlayer swagger types.

Helps resolves vmware#7210 and vmware#7232
  • Loading branch information
Loc Nguyen committed Feb 22, 2018
1 parent fa4d288 commit 8eac624
Show file tree
Hide file tree
Showing 46 changed files with 4,135 additions and 4,509 deletions.
405 changes: 0 additions & 405 deletions lib/apiservers/engine/API-COMPATIBILITY.md

This file was deleted.

275 changes: 0 additions & 275 deletions lib/apiservers/engine/CLI-COMPATIBILITY.md

This file was deleted.

60 changes: 0 additions & 60 deletions lib/apiservers/engine/COMPOSE-COMPATIBILITY.md

This file was deleted.

6 changes: 0 additions & 6 deletions lib/apiservers/engine/README.md

This file was deleted.

Loading

0 comments on commit 8eac624

Please sign in to comment.