English | 简体中文
KDP Catalog Manager is a big data application management platform. It categorizes and manages applications based on their functionalities, reducing the complexity of application management and allowing big data administrators to focus more on data processing.
- view
Defines Restful APIs and performs basic validation on user input parameters and output results.
-
service
Business logic. -
format
Data conversion layer, used for transforming data between cached data and business data. -
model
Data model entities.
-
cache
Data storage layer, where static data is stored in the cache. -
requests
External data invocation, used to call external services to retrieve data.
├── CODEOWNERS
├── README.md
└── kdp_catalog_manager
├── api
├── common
├── config
├── main.py # 服务启动程序
├── requirements.txt
├── test_main.py
├── domain
├── modules
└── utils
- Requires Python3.10+
- Clone the code to your local machine.
git clone xxx && cd kdp-catalog-manager
- Set up a virtual environment:
#Install virtualenv
pip install virtualenv
virtualenv -p /usr/local/bin/python3 venv
# Activate the virtual environment:
source ./venv/bin/activate
# Deactivate the virtual environment:
deactivate
- Install dependencies:
pip install -r docker/python/requirements.txt
- Start the service:
cd ~/kdp-catalog-manager \
&& export PYTHONPATH=$PYTHONPATH:$(pwd)
python kdp_catalog_manager/main.py
- After starting the service, you can view the list of available endpoints by accessing http://127.0.0.1:8888/docs.