mxcube / HardwareObjects

**DEPRECATED**: MXCuBE Hardware Objects (now part of HardwareRepository)
1 stars 11 forks source link

[MASTER] Added mockup for ISPyBRestClient #158

Closed marcus-oscarsson closed 7 years ago

marcus-oscarsson commented 7 years ago

Dear all,

Here is the first version of the mockup client for the rest webservices. Its based on the mockup for the SOAP version. Ive done some lighter tests here and it works, ive not yet added logic that return task results.

Feel free to add the data that you need, just make sure that it conforms to what the server actually will return.

Cheers, Marcus

IvarsKarpics commented 7 years ago

Hi @marcus-oscarsson

I am just curios: Is there a particular need for a this mockup? Could we use a single ISPyB2ClientMockup?

mguijarr commented 7 years ago

ISPyBClient2Mockup is for soap services, this one is for the REST interface. At the moment they are separate, it's a good idea to merge them (or to only use the REST API ?). In mxcube3 it seems we need both.