In this assignment your PR must only modify the README.md
file.
Please, go to the Wiki in order to get the instructions for this assignment.
The objective is to extend the query interface to support the command max:n
, where n is a number.
max
sets a limit in the number of retrieved tweets.
That is cool max:10
must return at most 10 tweets.
There are several ways to do it.
You can use the parameter q
or create additional parameters.
There is a restriction.
You must explicitly tell the API Twitter to enforce such a limit.
Read the documentation of the Twitter Search component of Apache Camel to discover how.
You need to apply for a free Twitter developer account.
Do not add application.properties
with the Twitter tokens to your git!
Note: the Twitter Search endpoint is configured using URI syntax twitter-search:{string}[?param=value[¶m=value]*]
Done:
- Use Camel for keeping a copy of responses in a database Raul Javierre has learned how an external database can be integrated in a Camel route quite easily. In additon, his work shows how to use docker-compose for building and running two nodes: the application and the dabase.
- Use Camel for providing a REST endpoint for queries Alberto Calvo has learned that it is very easy to create http endpoints in Camel but remember: it is a pipeline and you must explicitly tell Camel what to do. 🎁
In progress:
- Create an operator "-" to filter out tweets that contain a keyword
- Use Camel for providing a WebSocked endpoint for queries; a websocket client is required.
Proposed:
- Enrich the response with moustache; remove moustache from the client.
- Throttle the route to avoid be banned by Twitter
The link provides one of the possible approaches. You can use a different one.
The possibilities of Camel are endless; you can propose your idea for a 🎁.
Manifest your intention first by a PR updating this README.md
with your goal.
If you desist of your goal, release it by a PR so other fellow can try it.
NIA | User name | Repo | Improvement | Score |
---|---|---|---|---|
758267 | Pedro Allué | piter1902/lab5-soa | ||
760704 | Álvaro García | Alvarogd6/lab5-soa | ||
757755 | Andrés Otero García | andrewknoll/lab5-soa | Create an operator "-" to filter out tweets that contain a keyword | |
758906 | rauljavierre | rauljavierre/lab5-soa | Use Camel for keeping a copy of responses in a database | |
757153 | Fran-sw | lab5-soa | ||
758803 | Daniel González | Uncastellum/lab5-soa | ||
760739 | Alberto Calvo | AlbertoCalvoRubio/lab5-soa | Use Camel for providing a REST endpoint for queries | 🎁 |
761319 | Markles01 | lab5-soa | ||
739202 | luisgg98 | luisgg98/lab5-soa | ||
757715 | Hayk Kocharyan | hayk99/lab5-soa | ||
755742 | jtambo99 | jtambo99/lab5-soa | ||
766685 | Enrique Ruiz | TheRealFreeman/lab5-soa | Use Camel for providing a WebSocked endpoint for queries | |
756123 | Rogelio Antonio Lacruz Mirallas | RogorStuff/lab5-soa |