This is the repo that consist data ingestion code for to stream in game data to Oracle Autonomous Database
- Git Clone:
- Download db wallet and place it in the folder
- Run:
$F1SIM_HOME/bin/install_di.sh
- Specify Python version to
3.9
- Create RabbitMQ login and password (We will need them later)
- Copy ***f1store.yaml.template *** -
cp f1store.yaml.template f1store.yaml
- Configure f1store.yaml with text editor like vim or nano
vim f1store.yaml
- Add following to your .yaml config file:
- gamehost - string
- devicename - string
- version - integer game packet configuration
- Add RabbitMQ details from step 3 rmqusername, rmqpassword
- dbusername - from your stack/db
- dbpassword - from your stack/db
- dbwalletpassword - from your stack/db
- dburl in Cloud Shell run
cat <Wallet dir>/tnsnames.ora
- To start services run:
./bin/start.sh
- Optional, add test data:
bash <copy>cd test/data && tar xzvf hol-data.tar.gz && cd ../.. && . f1env.sh && python3.9 test/main.py localhost test/data/miami</copy>
- An Oracle Cloud account
- All previous labs successfully completed
- (Optional) Edge device like Raspberry Pi
For latest packet definition please visit here
This project is open source. Please submit your contributions by forking this repository and submitting a pull request! Oracle appreciates any contributions that are made by the open source community.
Copyright (c) 2022 Oracle and/or its affiliates.
Licensed under the Universal Permissive License (UPL), Version 1.0.
See LICENSE for more details.
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.