Version 4 (modified by meddle, 16 years ago) (diff) |
---|
Analysis
Overview
The main idea of this task is to create mock server for testing usage. The basic facade for the server core methods have to be defined and implemented.
Task requirements
- The server facade basic interfaces should be created. More information and visualization about Facade - S2S_DEPLOY_TECHNOLOGIES_R0
- Mock should be created. It is not a real jetty server just an instance which provide core functionality using the facade.
- Unit tests using the mock server has to be present.
Task result
- Mock server and basic server facade implementation.
Implementation idea
- Implement the Facade so that it returns dummy users instead of real persisted User objects.
- The server must runs offline, basicly the client has implementation of facade that doesn't communicate to real server.
Related
S2S_DEPLOY_TECHNOLOGIES_R0
S2S_WEB_SERVICES_R0
S2S_CORE_DEPLOYMENT_R0
How to demo
- Run the test and show the new classes.
Design
- New Sophie 2 module named org.sophie2.server.connector for the client's connector will be added.
- The new connector module will use the server module.
- The new connector module will have SophieModule class called ServerConnectorModule.
- The ServerConnectorModule will
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)