javaee7-samples icon indicating copy to clipboard operation
javaee7-samples copied to clipboard

Angular JS consuming REST services

Open arun-gupta opened this issue 12 years ago • 5 comments

arun-gupta avatar Sep 12 '13 23:09 arun-gupta

What exactly do you need here @arun-gupta? I could contribute to this one if you provide detailed requirements.

blabno avatar Nov 29 '13 00:11 blabno

Thanks!

Create a REST backend that provides CRUDing capability, use any data model with master/detail functionality. The front-end should provide paging functionality. Any thing else that highlights AngularJS capabilities with REST backend.

arun-gupta avatar Nov 29 '13 00:11 arun-gupta

Great, that's on me then. I should issue PR within 24h.

blabno avatar Nov 29 '13 00:11 blabno

Using Graphene is probably a good solution here. As it can handle a few things a bit better then just regular WebDriver when it comes to Ajax etc.

We have a AngularJS extension for Graphene to auto wait for it to complete rendering in our book, might work as a nice example: https://github.com/arquillian/continuous-enterprise-development/tree/master/code/application/application/src/test/java/org/cdej/geekseek/test/functional/arquillian

aslakknutsen avatar Nov 29 '13 07:11 aslakknutsen

@aslakknutsen thank you for that great extension. The sample is almost ready. We're writing for Bartosz Majsak's APE improvements.

blabno avatar Dec 13 '13 21:12 blabno