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

cmd line client only uses service's config #22

Open
tbuser opened this issue Aug 9, 2012 · 3 comments
Open

cmd line client only uses service's config #22

tbuser opened this issue Aug 9, 2012 · 3 comments

Comments

@tbuser
Copy link

tbuser commented Aug 9, 2012

If you run conveyor_cmdline_client.py -c foo.conf but started conveyor_service.py with -c bar.conf, it uses the settings in bar.conf. This seems to make it impossible to slice things with different settings?

@msamsonoff
Copy link
Contributor

It is currently impossible to slice with different settings. The client only uses the config file to find the socket.

This will be fixed soon. We have an unmerged branch with a Job object that holds job-related settings. It lets you override any main config setting on a per-job basis. The client will only use the config to find the socket and provide defaults for any setting you don't explicitly override.

@msamsonoff
Copy link
Contributor

You can now pass slicer settings over the JSON-RPC print/printtofile/slice endpoints. This is not yet available in the command-line client.

@msamsonoff
Copy link
Contributor

A cautionary note about the JSON-RPC API: it is currently subject to change. You may notice that the method signatures and parameters are inconsistently named, or that the slicer_settings has a really small subset of interesting settings. We are going to fix up the API during the next sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants