Skip to content
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

Extension versioning #85

Merged
merged 6 commits into from
Apr 29, 2020
Merged

Extension versioning #85

merged 6 commits into from
Apr 29, 2020

Conversation

mathbagu
Copy link

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest
#28

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)
The extension are always read/write in the current version

What is the new behavior (if this is a feature change)?
This version prepare the support of the versioning in the extension. An extension can now have several XML serialization depending on the version.
We also refactor the IIDM tests to separate the test of the grid model and the test relative to the XIIDM serialization. We also introduce a new extension library with 3 extensions for unit testing.

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

@mathbagu mathbagu requested a review from sebalaig April 23, 2020 08:39
@mathbagu mathbagu changed the base branch from master to integration/v1.1.0 April 23, 2020 08:42
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Mathieu BAGUE added 4 commits April 23, 2020 12:46
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
void assertExtendable(const stdcxx::Reference<Extendable>& extendable) const override;

private:
stdcxx::CReference<Terminal> m_terminal;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like a std::reference_wrapper can be used instead.

Copy link
Contributor

@sebalaig sebalaig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Just a few minor changes.

Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
@sonarcloud
Copy link

sonarcloud bot commented Apr 29, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 6 Code Smells

61.1% 61.1% Coverage
0.0% 0.0% Duplication

@mathbagu mathbagu merged commit d23a9eb into integration/v1.1.0 Apr 29, 2020
@mathbagu mathbagu deleted the extension-versioning branch April 29, 2020 11:17
mathbagu pushed a commit that referenced this pull request May 4, 2020
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
mathbagu pushed a commit that referenced this pull request Jun 11, 2020
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
mathbagu pushed a commit that referenced this pull request Jun 11, 2020
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
mathbagu pushed a commit that referenced this pull request Jun 17, 2020
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants