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

Bugfix/manager ids disappearing service restart #1202

Merged
merged 5 commits into from
Jun 22, 2016

Conversation

jykae
Copy link
Contributor

@jykae jykae commented Jun 22, 2016

Closes #1164

Proposed changes

  • handle addition of API backend separately for Umbrella & Apinf, Apinf has additional fields we need, like managerIds.
  • move database permissions under server (because allow/deny are server only)
  • use defaultValue instead of autoValue for managerIds
  • add imports

@jykae jykae added this to the Sprint 25 milestone Jun 22, 2016
@jykae
Copy link
Contributor Author

jykae commented Jun 22, 2016

Last commit is for keeping the functionality the same way as it is with synced API backends that come from Umbrella without owner.

@jykae
Copy link
Contributor Author

jykae commented Jun 22, 2016

@apinf/developers please review

@frenchbread
Copy link
Contributor

Good job @jykae!

@frenchbread frenchbread merged commit dee3341 into develop Jun 22, 2016
@frenchbread frenchbread deleted the bugfix/managerIds-disappearing-service-restart branch June 22, 2016 13:48
@@ -96,11 +98,6 @@ Template.addApiBackendWizard.helpers({
// Add the least connections balance algorithm setting
apiBackend.balance_algorithm = "least_conn";

// Delete unneeded properties: database insert/update related
delete apiBackend.insertDoc;
Copy link
Contributor

@brylie brylie Jun 27, 2016

Choose a reason for hiding this comment

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

@frenchbread and @jykae please make sure these apiBackend properties do not get stored in our collection:

  • insertDoc
  • updateDoc

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.

None yet

3 participants