rest-api's People
rest-api's Issues
sub-task of #3: create a DAO to only get the DTO created in #4
sub-task of #3: Make use of JPA to get data from the database in the same network
Initialize a stock data search engine
add a StockResource, which search for stock data by means of the AlphaVantage REST API service
sub-task of #3: make a DTO corresponding to TIME_SERIES_DAILY REST API response JSON
In P of EAA,
- Chapter 10: Data Source Architectural Patterns > Table Data Gateway > How It Works, when discussing about how the Tabe Data Gateway returns information, the DTO was mentioned as a better alternative
- In the same chapter, the section Further Reading mentioned that the Data Access Object (DAO) is a Table Data Gateway
sub-task of Epic #15: Refactory on Country field of Company
Make the country field type in the database as 2-length string instead of the default int
Epic: Create an individual masterdata REST API
sub-task of #3: Create a DTO for presenting the daily close stock price to the final client
sub-task of #9: Learning: Make use of EntityManager to add new Company and persist to the database
sub-task of Epic #15: add a create method to the CompanyResource
security-search-engine: add the 1st endpoint for getting a single stock information
In the first step, use Alpha Vantage API to get the stock data
sub-task of #17: make the create of CRUD in the CompanySource have a security check with corresponding checked exception
TODO:
- Initialize a common API key, which is the security constraint on requesting the create from CompanySource
- if the API key is not given, there could be a checked exception and the transaction should fail
subtask of #3: update the Region to Country enum and try with the @Convert annotation to make insert to database table with country code instead of country name
Country code reference: https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv
security-search-engine: Improve the security endpoint
- Use JsonP to get JsonObject directly with the REST client
- study the Alphavantage REST API and choose the more suitable endpoint to get stock/equity data
Example: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=SMPA.FRK&apikey=xxx
Ticker Symbols: Fortum Oyj - FOT.FRK , Sampo Oyj - SMPA.FRK - make the apikey as a property and assign with mvn command (DONE)
- make use of CDI to get the security object through a service in the aspect of DDD
sub-task of #6: Make a Postgres container as the database
sub-task of #9: Make the database schema by means of JPA
sub-task of #3: Make another DAO to communicate with local relational database
Sub-tasks:
- Entity design: the original input from AlphaVantage is not in proper format => in addition to the Time Series entity, each daily item should correspond to an entity and it should associate with the Time Series entity
- need a Postgres container for test
- full CRUD support
Docker: initialize the Postgres database instance in the Docker container with multiple databases for different REST services
subtask of #3: improve the run_security_search_engine.sh with help information
When the API key is not given in the command, given a message to tell this
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.