Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(98)

Issue 12906044: state;charm: Refactor state/Endpoint (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by dimitern
Modified:
10 years, 9 months ago
Reviewers:
jameinel, mp+180141, rog
Visibility:
Public.

Description

state;charm: Refactor state/Endpoint Two methods of state.Endpoint are not related to state, more to charm metadata. Endpoint embeds a charm.Relation, so I moved IsImplicit() and ImplementedBy() from Endpoint to charm.Relation, along with their tests. This is necessary, so that we can avoid implementing API calls for them in the uniter API facade, becasue the uniter needs them. https://code.launchpad.net/~dimitern/juju-core/102-state-endpoint-refactoring/+merge/180141 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state;charm: Refactor state/Endpoint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -122 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M charm/meta.go View 1 chunk +41 lines, -0 lines 0 comments Download
M charm/meta_test.go View 1 chunk +78 lines, -0 lines 0 comments Download
M state/endpoint.go View 1 1 chunk +0 lines, -41 lines 0 comments Download
M state/endpoint_test.go View 1 chunk +0 lines, -81 lines 0 comments Download

Messages

Total messages: 4
dimitern
Please take a look.
10 years, 9 months ago (2013-08-14 13:57:27 UTC) #1
dimitern
Please take a look.
10 years, 9 months ago (2013-08-14 14:04:43 UTC) #2
jameinel
This just moves the functions to charm.Relation which has all the information we were operating ...
10 years, 9 months ago (2013-08-14 14:07:05 UTC) #3
rog
10 years, 9 months ago (2013-08-14 14:19:53 UTC) #4
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b