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

Request for sandbox:create Time To (Stop?) option. #162

Closed
ralgh opened this issue Jun 15, 2020 · 4 comments
Closed

Request for sandbox:create Time To (Stop?) option. #162

ralgh opened this issue Jun 15, 2020 · 4 comments
Assignees

Comments

@ralgh
Copy link

ralgh commented Jun 15, 2020

Currently when creating a new on demand sandbox there is no option to assign an amount of time for a sandbox to be flagged as inactive and therefor be stopped. Sandbox owners need to manually stop a sandbox to throttle it down to burn the .3 credits per minute. Now understanding this is not necessarily in the financial interest of SFCC to provide this functionality I do believe it is something that would be beneficial to the developer community.

-ts, --tts <hours> Number of hours since last activity the sandbox will stopped

Example:
$ sfcc-ci sandbox:create -r my-realm --tts 6

I'm not sure how technically feasible it is for the API to determine that last activity time. I'm assuming this would monitor the non-system user logs.

@tobiaslohr
Copy link
Contributor

Thanks @ralgh for raising the request. The request makes definitely sense. The CLI tool itself provides only a small layer of business logic on top of the existing API (e.g. the sandbox API). We can expose a new command or enhancements of existing commands, if the APIs expose this functionality. A new functionality, like the one you've proposed would therefore first be made available in the sandbox API before we can expose it as a CLI in the tool. I suggest you raise this feature request for the sandbox API in our Chatter group "B2C Ondemand Sandboxes Technical Support".

@tobiaslohr
Copy link
Contributor

@w6bedi FYI

@ralgh
Copy link
Author

ralgh commented Jun 22, 2020

OK Thanks @tobiaslohr, I'll psot my request on the Sandbox API Chatter Group.

@sftschaerff
Copy link
Collaborator

As the issue seems to be solved, I will close it.

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

4 participants