slamby / slamby-insight

Cross-platform (electron based) integrated data management tool, dedicated for data-scientists and managers. Quick real-time data access, data-analysis and data-processing.
https://www.slamby.com/insight
Apache License 2.0
1 stars 0 forks source link

Service Clone #19

Closed petermezei closed 7 years ago

petermezei commented 7 years ago

Clone service with given settings. Workflow to fit in:

  1. Select a given service.
  2. Click the actions list. Here we should put a clone options. Clone should create a new service, copying the name, and description, with no alias and with a new id. Clone should clone the preparation settings. The new service can be modified (name, description, alias), and the preparation setting should be filled, just like cloning a dataset.

Another suggested way:

  1. Create a new service,
  2. Instead of prepare, use a prepare by clone, where we can select a source service, and the preparation window pops up copying the source settings.

@attilalaszlo @sbeci any idea? Please validate it before start.

attilalaszlo commented 7 years ago

The first approach can be problematic because you can't modify the prepare settings on the "new service" modal. Actually you can not see the prepare or activate settings on that. Maybe second way can be easier.

petermezei commented 7 years ago

Server: demo server Services: 3 demo services predefined.

Tested situations:

PRC & Search Activation settings clone issue:

I opened the service for activation, I select the clone option, select the source service, but the Ok button switches to disabled state and it's not changing.

image

When I click the clone button, an Internal Error message pops: Cannot read property 'Filter of undefined'

image

@attilalaszlo it might be a bug.

attilalaszlo commented 7 years ago

done

petermezei commented 7 years ago

PRC Activation clone is buggy. I used the demo service, and a cloned demo-prc service.

Stack:

image