-
Execute deploy.sh script in your k8s master. It will create your ssl cert.
-
Get service url with:
kubectl get services app --url
- Call REST API with your favourite tester
-
Return all Phones in the DB: GET /phones
-
Return a Phone with specified database ID: GET /phone/id
-
Insert a new Phone in the DB: POST /phones Request body: { 'name': 'Phone name', 'price': 'xxx€' }
-
Update a register already exists: PUT /phone/id Request body: { 'name': 'Phone new name', 'price': 'xxxxx€' }
-
Delete a Phone with specified database ID: DELETE /phone/id