Commit 5646282b authored by Laurent Velez's avatar Laurent Velez
Browse files

Merge branch 'STF625_MEC015_MEC016' into 'master'

Stf625 mec015 mec016

See merge request mec/AdvantEDGE!10
parents a9f16aa2 56081340
Loading
Loading
Loading
Loading
+89 −0
Original line number Diff line number Diff line
@@ -299,6 +299,8 @@ repo:
          - meep-metrics-engine
          - meep-mg-manager
          - meep-rnis
          - meep-dai
          - meep-tm
          - meep-wais
          - meep-ams
          - meep-sandbox-ctrl
@@ -377,6 +379,8 @@ repo:
          meep-metrics-engine: charts/meep-metrics-engine
          meep-mg-manager: charts/meep-mg-manager
          meep-rnis: charts/meep-rnis
          meep-dai: charts/meep-dai
          meep-tm: charts/meep-tm
          meep-wais: charts/meep-wais
          meep-ams: charts/meep-ams
          meep-sandbox-ctrl: charts/meep-sandbox-ctrl
@@ -391,6 +395,8 @@ repo:
          - meep-metrics-engine
          - meep-mg-manager
          - meep-rnis
          - meep-dai
          - meep-tm
          - meep-wais
          - meep-ams
          - meep-sandbox-ctrl
@@ -740,6 +746,40 @@ repo:
        codecov: false
        # supports linting
        lint: true
      meep-tm:
        # location of source code
        src: go-apps/meep-tm
        # location of binary
        bin: bin/meep-tm
        # location of deployment chart
        chart: charts/meep-tm
        # user supplied value file located @ .meep/user/values (use below file name)
        chart-user-values: meep-tm.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 MEC Bandwidth Management REST API'
            file: go-apps/meep-tm/api/bwm/swagger.yaml
          - name: 'AdvantEDGE MEC Multi-access Traffic Steering REST API'
            file: go-apps/meep-tm/api/mts/swagger.yaml
        # location of user supplied API specifications
        user-api:
        # resources available to docker container image
        docker-data:
          # location of entry script
          'entrypoint.sh': go-apps/meep-tm/entrypoint.sh
      meep-wais:
        # location of source code
        src: go-apps/meep-wais
@@ -804,6 +844,40 @@ repo:
        docker-data:
          # location of entry script
          'entrypoint.sh': go-apps/meep-vis/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 onboarded device application instantiation
        onboardedapp: true
        # supports linting
        lint: true
        # location of API specifications
        api:
          - name: 'AdvantEDGE Device Application Interface Service REST API'
            file: go-apps/meep-dai/api/swagger.yaml
        # location of user supplied API specifications
        user-api:
        # resources available to docker container image
        docker-data:
          # location of entry script
          'entrypoint.sh': go-apps/meep-dai/entrypoint.sh

  #------------------------------
  #  Dependencies
@@ -985,6 +1059,11 @@ repo:
        src: go-packages/meep-applications
        # supports linting
        lint: true
      meep-bwm-client:
        # location of source code
        src: go-packages/meep-bwm-client
        # supports linting
        lint: false
      meep-couch:
        # location of source code
        src: go-packages/meep-couch
@@ -1065,6 +1144,11 @@ repo:
        src: go-packages/meep-model
        # supports linting
        lint: true
      meep-mts-client:
        # location of source code
        src: go-packages/meep-mts-client
        # supports linting
        lint: false
      meep-mq:
        # location of source code
        src: go-packages/meep-mq
@@ -1150,6 +1234,11 @@ repo:
        src: go-packages/meep-vis-client
        # supports linting
        lint: false
      meep-dai-client:
        # location of source code
        src: go-packages/meep-dai-client
        # supports linting
        lint: false

    # Javascript Packages
    js-packages:
+21 −0
Original line number Diff line number Diff line
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
+5 −0
Original line number Diff line number Diff line
apiVersion: v1
appVersion: "1.0.0"
description: MEEP Device Application Interface Service Helm chart for Kubernetes
name: meep-dai
version: 1.0.0
+32 −0
Original line number Diff line number Diff line
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "meep-dai.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "meep-dai.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "meep-dai.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+13 −0
Original line number Diff line number Diff line
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: "{{ .Release.Namespace }}:{{ template "meep-dai.fullname" . }}"
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: {{ template "meep-dai.fullname" . }}
  namespace: {{ .Release.Namespace }}
  
 No newline at end of file
Loading