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

metadata: move models to Arsenal #820

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Conversation

jeremyds
Copy link
Contributor

The models are the module BucketInfo, ObjectMD, WebsiteConfiguration and
ReplicationConfiguration.
These models are needed for the S3SOFS feature into the cdmiclient
repository. The S3 one does not export modules and shared ones are in
Arsenal so move these model modules to it.

Pull request template

Description

Motivation and context

Why is this change required? What problem does it solve?

Related issues

Please use the following link syntaxes #600 to reference issues in the
current repository

Checklist

Add tests to cover the changes

New tests added or existing tests modified to cover all changes

Code conforms with the style guide

Sign your work

In order to contribute to the project, you must sign your work
https://github.com/scality/Guidelines/blob/master/CONTRIBUTING.md#sign-your-work

Thank you again for contributing! We will try to test and integrate the change
as soon as we can.

@@ -2,7 +2,7 @@ const assert = require('assert');
const {
WebsiteConfiguration,
RoutingRule,
} = require('../../../lib/metadata/WebsiteConfiguration');
} require('arsenal').models.websiteconfiguration;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is an = missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@jeremyds jeremyds force-pushed the dev/models-in-arsenal branch 2 times, most recently from 684894d to ef3eaea Compare July 21, 2017 22:13
@jeremyds
Copy link
Contributor Author

@ironman-machine go

@ironman-machine
Copy link
Contributor

Hello @jeremyds

Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "dev/models-in-arsenal"}

Please follow http://ci.ironmann.io/gh/scality/Integration/14094 for CI status.

@jeremyds
Copy link
Contributor Author

@ironman-machine go

@ironman-machine
Copy link
Contributor

Hello @jeremyds

Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "dev/models-in-arsenal"}

Please follow http://ci.ironmann.io/gh/scality/Integration/14097 for CI status.

@jeremyds
Copy link
Contributor Author

jeremyds commented Jul 24, 2017

So, the tests failure are caused by two things:

  • because the models code / tests in S3 has been modified since the PR adding them to Arsenal has been merged (by me....),
  • a test is broken since the delimiterTools is exported in Arsenal (guilty again).

These two problems are handled in two PRs, in Arsenal and in S3. I will rebase this branch and relaunch the tests once they will be merged.

The models are the module BucketInfo, ObjectMD, WebsiteConfiguration and
ReplicationConfiguration.
These models are needed for the S3SOFS feature into the cdmiclient
repository. The S3 one does not export modules and shared ones are in
Arsenal so move these model modules to it.
@rahulreddy
Copy link
Collaborator

@ironman-machine

@ironman-machine
Copy link
Contributor

Hello @rahulreddy

Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "dev/models-in-arsenal"}

Please follow http://ci.ironmann.io/gh/scality/Integration/14117 for CI status.

@rahulreddy rahulreddy merged commit 93d2091 into master Jul 25, 2017
@rahulreddy rahulreddy deleted the dev/models-in-arsenal branch July 25, 2017 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants