# Default values for configuration of a dev demo # see values.yaml for explanation on each params context: &context scope: startx cluster: default environment: dev component: couchbase app: demo-couchbase-yellow version: "0.0.2" application: context: <<: *context sxapi: service: enabled: true version: "0.3.63" profile: "dev:start" debug: true replicas: 1 data: | sxapi.yml: |- name: {{ include "startx.appName" . }} description: This is the description of {{ include "startx.appName" . }} version: {{ include "startx.appVersion" . }} debug: "{{- .Values.sxapi.debug }}" resources: serviceinfo-sample: _class: serviceinfo couchbase-yellow: _class: serviceinfo cluster: http://jupiter:8091 bucket: yelllow-back user: yelllow-app password: yelllow-app123 log: filters: level: '0,1,2,3,4' type: debug,info,error,warn server: port: '8077' endpoints: - path: "/yellow" method: ROUTER resource: redis-sample endpoints: - path: "/" desc: Display welcome message (HTML) body: |- Application {{ include "startx.appName" . }}

Your API {{ include "startx.appName" . }} is live !

Demo de deploiement

- path: "/health" resource: serviceinfo-sample endpoint: health - path: "/info" resource: serviceinfo-sample endpoint: info - path: "/ping" desc: Ping the application. Return a sample message in json code: '200' body: pong - path: "/yellow" method: ROUTER resource: couchbase-yellow endpoints: - path: "/yellow" method: POST endpoint: create - path: "/yellow/:id" method: POST endpoint: create - path: "/yellow/:id" method: GET endpoint: get - path: "/yellow/:id" method: PUT endpoint: update - path: "/yellow/:id" method: DELETE endpoint: delete