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

Create additional HTTP endpoints, improve templating #4

Closed
3 of 4 tasks
hi-liang opened this issue Jan 29, 2021 · 2 comments
Closed
3 of 4 tasks

Create additional HTTP endpoints, improve templating #4

hi-liang opened this issue Jan 29, 2021 · 2 comments
Assignees

Comments

@hi-liang
Copy link
Member

hi-liang commented Jan 29, 2021

Endpoints include:

  • Delete a scene
  • Create a template scene instance Quick clone a scene

Template refactor:

  • Remove @templateScene naming convention, allow any scene to be used as a template
  • Deal with TTL exception for @templateScene, whereby expireAt is not set in the mongo document (what actually enforces expiry behavior in mongodb). Perhaps via flags where persist: true, ttl: n are set, but some new flag (retainTTL: true ?) does same bypass of expireAt so every time someone loads the scene from persist (or instantiates a sceneTemplate), the object is kept with a "fresh" TTL
@hi-liang hi-liang self-assigned this Jan 29, 2021
@hi-liang
Copy link
Member Author

hi-liang commented Feb 4, 2021

Splitting this one one off

Deal with TTL exception for templateScene, whereby expireAt is not set in the mongo document (what actually enforces expiry behavior in mongodb). Perhaps via flags where persist: true, ttl: n are set, but some new flag (retainTTL: true ?) does same bypass of expireAt so every time someone loads the scene from persist (or instantiates a sceneTemplate), the object is kept with a "fresh" TTL

@hi-liang
Copy link
Member Author

hi-liang commented Feb 4, 2021

Otherwise resolved as of 9643946

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

No branches or pull requests

1 participant