h3. Description * This is a task for verification of *documentation* and *functionality of Data Sync service* * If you find any flaw or inconsistency in documentation, update this JIRA with its description: AEROGEAR-7894 - general verification of documentation was already done, so we'll try to fix all the mistakes found in the scope of one JIRA * If you find any bug, file a new JIRA and add it to the backlog with label {color:#59afe1}team-service-2{color}
h3. Steps
* Ensure that each of the Queries, Mutations, Subscriptions & Custom Types(if any) are displayed in the left hand section * Ensure that each item can be expanded and the number of arguments are correct and their types also * Ensure there is a “No Resolver” link on each item for Queries, Mutations and one per field on the Custom Type * Define resolver: http://docs.aerogear.org/aerogear/latest/data-sync.html#defining-resolvers ** Click on the “No Resolver” link ** Choose the previously created Data source ** Add a request mapping & response mapping examples at https://github.com/aerogear/data-sync-server/blob/master/sequelize/seeders/memeolist-example-postgres.js#L61 ** Save the resolver & it should now show in the query/mutation it was created for ** Edit some field in the resolver and ensure this is saved * Delete the resolver and ensure it is removed
*Test the hooks:* * Add a valid pre hook into the field eg: https://httpbin.org/post & ensure the green verified icon appears when the “Verify URL” button is pressed * Enter an invalid URL and ensure that it shows as unverified with red icon |
|