Commit d3e424d8 authored by Yann Garcia's avatar Yann Garcia
Browse files

Finalize meep-federation service skeleton

parent 493f1b7d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -308,7 +308,7 @@ repo:
          # - meep-tc-engine
          # - meep-app-enablement
          # - meep-vis
          - meep-federation
          # - meep-federation
        # location of API specifications
        api:
          - name: 'AdvantEDGE Monitoring Engine REST API'
@@ -439,7 +439,7 @@ repo:
          # - meep-tc-engine
          # - meep-app-enablement
          # - meep-vis
          - meep-federation
          # - meep-federation
      meep-webhook:
        # location of source code
        src: go-apps/meep-webhook
@@ -966,6 +966,8 @@ repo:
            file: go-apps/meep-federation/api/swagger.yaml
        # location of user supplied API specifications
        user-api:
          - name: 'Federation Service REST API'
            file: config/api/fed-api.yaml
        # resources available to docker container image
        docker-data:
          # location of entry script
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ const apiTableMaxSize = 100;
var metricsQuery = {
/*  tags: [{
    name: 'logger_name',
    value: 'meep-loc-serv,meep-federation,meep-rnis,meep-dai,meep-wais,meep-app-enablement'
    value: 'meep-loc-serv,meep-federation,meep-rnis,meep-dai,meep-vis,meep-federation,meep-wais,meep-app-enablement'
  }],
*/
  fields: ['id', 'endpoint', 'url', 'method', 'resp_code', 'resp_body', 'body', 'proc_time', 'logger_name', 'direction'],
+17 −34
Original line number Diff line number Diff line
@@ -660,7 +660,6 @@ export function parseEdgeApps(scenario) {
                });
              // MEC040
              } else if (proc.image.includes('meep-federation')) {
              // App support
                edgeApps.push({
                  id: proc.id,
                  name: proc.name,
@@ -668,27 +667,11 @@ export function parseEdgeApps(scenario) {
                  img: proc.image,
                  mepName: pl.name,
                  env: proc.environment,
                url: 'api/?urls.primaryName='+pl.name+'%20-%20MEC%20Federation%20Service%20API',
                path: pl.name+'/mec_app_support/v2',
                pseudoName: 'MEC Application Support (011) on ' + pl.name,
                dropDownName: 'MEC Application Support (011)',
                enabled: true,  // always running
                enableInProgressCount: -1,
                disableInProgressCount: -1
              });
              // Service Management
              edgeApps.push({
                id: proc.id,
                name: proc.name+'-service-mgmt',
                instance: '',
                img: proc.image,
                mepName: pl.name,
                env: proc.environment,
                url: 'api/?urls.primaryName='+pl.name+'%20-%20MEC%20Service%20Management%20API',
                  url: 'api/?urls.primaryName='+pl.name+'%20-%20Federation%20Service%20REST%20API',
                  path: pl.name+'/fed_enablement/v1',
                pseudoName: 'MEC Federation (040) on ' + pl.name,
                dropDownName: 'MEC Federation (011)',
                enabled: true,  // always running
                  pseudoName: 'MEC Federation APIs (040) on ' + pl.name,
                  dropDownName: 'MEC Federation APIs (040)',
                  enabled: false,
                  enableInProgressCount: -1,
                  disableInProgressCount: -1
                });