Skip to content

Commit

Permalink
Introduce resource package for dependence management (cadence-workflo…
Browse files Browse the repository at this point in the history
…w#2803)

* New resource implementation & test for better resource management
* Deprecate mockery generated RPC client bean
  • Loading branch information
wxing1292 authored Nov 9, 2019
1 parent 14ff96b commit e58ce1a
Show file tree
Hide file tree
Showing 29 changed files with 1,490 additions and 210 deletions.
2 changes: 2 additions & 0 deletions client/clientBean.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:generate mockgen -copyright_file ../LICENSE -package $GOPACKAGE -source $GOFILE -destination clientBean_mock.go -self_package github.com/uber/cadence/client

package client

import (
Expand Down
280 changes: 178 additions & 102 deletions client/clientBean_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions common/cluster/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:generate mockgen -copyright_file ../../LICENSE -package $GOPACKAGE -source $GOFILE -destination metadata_mock.go

package cluster

import (
Expand Down
File renamed without changes.
Loading

0 comments on commit e58ce1a

Please sign in to comment.