Public Repository

Last pushed: 2 years ago
Short Description
Model Service
Full Description

This is a basic containerized model service that allows creation, retrieval and resolution of DAPI models.

Requests:

GET/PUT/DELETE specific model
http://[url]/api/model/{id}

Index of all models
GET http://[url]/api/model

Create model
POST http://[url]/api/model

Form data fields:
"console_model_name"
"machine_console_drawing_id"
"machine_console_type_id"
"frame_model_name"
"frame_drawing_id"
"machine_console_model_type_id"
"brand_id"
"machine_type"
"pdb_id"
"csafe_id"

docker run -t -p 80:80 --name model-service -e "DB_HOST=[RDS Mysql Host]" -e "DB_USERNAME=model_service" -e "DB_PASSWORD=[database password]" -e "APP_KEY=[lumen app key]" -d model_service:latest

Docker Pull Command
Owner
julesbro