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
[MARLIN-615] Add ability to specify sync from date in synchronization job #187
base: master
Are you sure you want to change the base?
[MARLIN-615] Add ability to specify sync from date in synchronization job #187
Conversation
Majority of changes are just changes in variable names. Only real code change is here: https://github.com/maestrano/maestrano-connector-rails/pull/187/files#diff-f0257db6f246dbf7a243a8b6fe2bdef7R68 plus the specs for this behavior change. |
|
||
it 'passes the correct sync_from dates' do | ||
organization.synchronized_entities.each do |entity, _| | ||
expect_any_instance_of(Maestrano::Connector::Rails::SynchronizationJob).to receive(:sync_entity) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really just need to test the sync_from
. Tested entity.to_s
and organization
because their readily available.
The other arguments don't relate to this option and would be a pain to test. Don't think its necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice surgical changes
Just the Travis CI failing tests |
3ec9ed8
to
f6ed35c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This will not make it into tonight's release, since we're choosing to move forward with https://github.com/maestrano/marlin-banking-adapter/pull/49 for now |
@ouranos Can we push to have this tested and deployed soon? It would require reverting: https://github.com/maestrano/marlin-banking-adapter/pull/49 and changing the parameters on the hourly sync. |
f6ed35c
to
ec42d06
Compare
@ouranos I rebased and removed my travis commit like you said, but now my travis build is failing. |
@ouranos @alexmaestrano Can you review latest changes. |
38c8035
to
4045c30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
For the Travis build is seems to be similar to the problem we have on mnoe, I'll have a look
No description provided.