Commit 21f5d2ec authored by Yann Garcia's avatar Yann Garcia
Browse files

Add meep-dai microservice

parent dc1bfdd3
Loading
Loading
Loading
Loading
+42 −0
Original line number Original line Diff line number Diff line
@@ -279,6 +279,7 @@ repo:
          - meep-metrics-engine
          - meep-metrics-engine
          # - meep-mg-manager
          # - meep-mg-manager
          # - meep-rnis
          # - meep-rnis
          # - meep-dai
          # - meep-wais
          # - meep-wais
          # - meep-ams
          # - meep-ams
          - meep-sandbox-ctrl
          - meep-sandbox-ctrl
@@ -357,6 +358,7 @@ repo:
          meep-metrics-engine: charts/meep-metrics-engine
          meep-metrics-engine: charts/meep-metrics-engine
          meep-mg-manager: charts/meep-mg-manager
          meep-mg-manager: charts/meep-mg-manager
          meep-rnis: charts/meep-rnis
          meep-rnis: charts/meep-rnis
          meep-dai: charts/meep-dai
          meep-wais: charts/meep-wais
          meep-wais: charts/meep-wais
          meep-ams: charts/meep-ams
          meep-ams: charts/meep-ams
          meep-sandbox-ctrl: charts/meep-sandbox-ctrl
          meep-sandbox-ctrl: charts/meep-sandbox-ctrl
@@ -371,6 +373,7 @@ repo:
          - meep-metrics-engine
          - meep-metrics-engine
          # - meep-mg-manager
          # - meep-mg-manager
          # - meep-rnis
          # - meep-rnis
          # - meep-dai
          # - meep-wais
          # - meep-wais
          # - meep-ams
          # - meep-ams
          - meep-sandbox-ctrl
          - meep-sandbox-ctrl
@@ -764,6 +767,40 @@ repo:
        docker-data:
        docker-data:
          # location of entry script
          # location of entry script
          'entrypoint.sh': go-apps/meep-wais/entrypoint.sh
          'entrypoint.sh': go-apps/meep-wais/entrypoint.sh
      meep-dai:
        # location of source code
        src: go-apps/meep-dai
        # location of binary
        bin: bin/meep-dai
        # location of deployment chart
        chart: charts/meep-dai
        # user supplied value file located @ .meep/user/values (use below file name)
        chart-user-values: meep-dai.yaml
        # extra build flags
        build-flags:
          - -mod=vendor
        # enable meepctl build
        build: true
        # enable meepctl dockerize
        dockerize: true
        # enable meepctl deploy/delete
        deploy: true
        # supports code coverage measurement when built in codecov mode
        codecov: true
        # supports linting
        lint: true
        # location of API specifications
        api:
          - name: 'AdvantEDGE Device application interface REST API'
            file: go-apps/meep-dai/api/swagger.yaml
        # location of user supplied API specifications
        user-api:
          - name: 'Device application interface REST API'
            file: config/api/dai-api.yaml
        # resources available to docker container image
        docker-data:
          # location of entry script
          'entrypoint.sh': go-apps/meep-dai/entrypoint.sh
      meep-vis:
      meep-vis:
        # location of source code
        # location of source code
        src: go-apps/meep-vis
        src: go-apps/meep-vis
@@ -1126,6 +1163,11 @@ repo:
        src: go-packages/meep-users
        src: go-packages/meep-users
        # supports linting
        # supports linting
        lint: true
        lint: true
      meep-dai-client:
        # location of source code
        src: go-packages/meep-dai-client
        # supports linting
        lint: false
      meep-wais-client:
      meep-wais-client:
        # location of source code
        # location of source code
        src: go-packages/meep-wais-client
        src: go-packages/meep-wais-client
+1658 −0

File added.

Preview size limit exceeded, changes collapsed.

+26 −0
Original line number Original line Diff line number Diff line
@@ -900,6 +900,32 @@ services:
        method: 'GET'
        method: 'GET'
        mode: 'block'
        mode: 'block'
  #------------------------------
  #------------------------------
  #  DAI (Sbox)
  #------------------------------
  - name: 'meep-dai'
    path: '/dev_app/v1'
    sbox: true
    default:
      mode: 'allow'
    fileservers:
      - name: 'Api'
        path: '/api'
        mode: 'verify'
        roles:
          admin: 'allow'
          user: 'block'
      - name: 'UserApi'
        path: '/user-api'
        mode: 'verify'
        roles:
          admin: 'allow'
          user: 'allow'
    endpoints:
      - name: 'Index'
        path: '/'
        method: 'GET'
        mode: 'block'
  #------------------------------
  #  V2XI Service (Sbox)
  #  V2XI Service (Sbox)
  #------------------------------
  #------------------------------
  - name: 'meep-vis'
  - name: 'meep-vis'
+4 −1
Original line number Original line Diff line number Diff line
@@ -78,7 +78,7 @@ class DetailedDataDialog extends Component {


  mapService(loggerName) {
  mapService(loggerName) {
    //loggerName is a combination of loggerName and mep name
    //loggerName is a combination of loggerName and mep name
    let prefixes = ['meep-loc-serv', 'meep-rnis', 'meep-wais', 'meep-app-enablement', 'meep-ams', 'meep-vis'];
    let prefixes = ['meep-loc-serv', 'meep-rnis', 'meep-wais', 'meep-app-enablement', 'meep-ams', 'meep-dai', 'meep-vis'];
    let prefixStd = '';
    let prefixStd = '';
    var prefix = '';
    var prefix = '';
    for (var i = 0; i < prefixes.length; i++) {
    for (var i = 0; i < prefixes.length; i++) {
@@ -104,6 +104,9 @@ class DetailedDataDialog extends Component {
    case 'meep-ams':
    case 'meep-ams':
      prefixStd = '021';
      prefixStd = '021';
      break;
      break;
    case 'meep-dai':
      prefixStd = '016';
      break;
    case 'meep-vis':
    case 'meep-vis':
      prefixStd = '030';
      prefixStd = '030';
      break;
      break;
+1 −1
Original line number Original line Diff line number Diff line
@@ -120,7 +120,7 @@ const apiTableMaxSize = 100;
var metricsQuery = {
var metricsQuery = {
/*  tags: [{
/*  tags: [{
    name: 'logger_name',
    name: 'logger_name',
    value: 'meep-loc-serv,meep-rnis,meep-wais,meep-app-enablement'
    value: 'meep-loc-serv,meep-rnis,meep-dai,meep-wais,meep-app-enablement'
  }],
  }],
*/
*/
  fields: ['id', 'endpoint', 'url', 'method', 'resp_code', 'resp_body', 'body', 'proc_time', 'logger_name', 'direction'],
  fields: ['id', 'endpoint', 'url', 'method', 'resp_code', 'resp_body', 'body', 'proc_time', 'logger_name', 'direction'],
Loading