Loading .gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ stages: include: - local: '/manifests/.gitlab-ci.yml' - local: '/src/monitoring/.gitlab-ci.yml' #- local: '/src/centralizedattackdetector/.gitlab-ci.yml' - local: '/src/compute/.gitlab-ci.yml' - local: '/src/context/.gitlab-ci.yml' - local: '/src/device/.gitlab-ci.yml' Loading deploy_in_kubernetes.sh +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ REGISTRY_IMAGE="" #REGISTRY_IMAGE="http://my-container-registry.local/" # Set the list of components you want to build images for, and deploy. COMPONENTS="context device automation policy service compute monitoring centralizedattackdetector dbscanserving opticalattackmitigator opticalcentralizedattackdetector" # TODO: include opticalcentralizedattackdetector COMPONENTS="context device automation policy service compute monitoring dbscanserving opticalattackmitigator opticalcentralizedattackdetector" # Set the tag you want to use for your images. IMAGE_TAG="tf-dev" Loading install_development_dependencies.sh +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ pip install --upgrade pip setuptools wheel pip-tools pylint pytest pytest-benchm echo "" > requirements.in #TODO: include here your component COMPONENTS="compute context device service monitoring centralizedattackdetector opticalcentralizedattackdetector opticalattackmitigator dbscanserving" COMPONENTS="compute context device service monitoring opticalcentralizedattackdetector opticalattackmitigator dbscanserving" # compiling dependencies from all components for component in $COMPONENTS Loading manifests/centralizedattackdetectorservice.yamldeleted 100644 → 0 +0 −70 Original line number Diff line number Diff line apiVersion: apps/v1 kind: Deployment metadata: name: centralizedattackdetectorervice spec: selector: matchLabels: app: centralizedattackdetectorervice template: metadata: labels: app: centralizedattackdetectorervice spec: terminationGracePeriodSeconds: 5 containers: - name: server image: registry.gitlab.com/teraflow-h2020/controller/centralizedcybersecurity:latest imagePullPolicy: Always ports: - containerPort: 10000 env: - name: DB_ENGINE value: "redis" - name: REDIS_DATABASE_ID value: "0" - name: LOG_LEVEL value: "DEBUG" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10000"] livenessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10000"] resources: requests: cpu: 250m memory: 512Mi limits: cpu: 700m memory: 1024Mi --- apiVersion: v1 kind: Service metadata: name: centralizedattackdetectorervice spec: type: ClusterIP selector: app: centralizedattackdetectorervice ports: - name: grpc port: 10000 targetPort: 10000 --- apiVersion: v1 kind: Service metadata: name: centralizedattackdetectorervice-public labels: app: centralizedattackdetectorervice spec: type: NodePort selector: app: centralizedattackdetectorervice ports: - name: grpc protocol: TCP port: 10000 targetPort: 10000 --- report_coverage_centralized_attack_detector.shdeleted 100755 → 0 +0 −3 Original line number Diff line number Diff line #!/bin/bash ./report_coverage_all.sh | grep --color -E -i "^centralizedattackdetector/.*$|$" Loading
.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ stages: include: - local: '/manifests/.gitlab-ci.yml' - local: '/src/monitoring/.gitlab-ci.yml' #- local: '/src/centralizedattackdetector/.gitlab-ci.yml' - local: '/src/compute/.gitlab-ci.yml' - local: '/src/context/.gitlab-ci.yml' - local: '/src/device/.gitlab-ci.yml' Loading
deploy_in_kubernetes.sh +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ REGISTRY_IMAGE="" #REGISTRY_IMAGE="http://my-container-registry.local/" # Set the list of components you want to build images for, and deploy. COMPONENTS="context device automation policy service compute monitoring centralizedattackdetector dbscanserving opticalattackmitigator opticalcentralizedattackdetector" # TODO: include opticalcentralizedattackdetector COMPONENTS="context device automation policy service compute monitoring dbscanserving opticalattackmitigator opticalcentralizedattackdetector" # Set the tag you want to use for your images. IMAGE_TAG="tf-dev" Loading
install_development_dependencies.sh +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ pip install --upgrade pip setuptools wheel pip-tools pylint pytest pytest-benchm echo "" > requirements.in #TODO: include here your component COMPONENTS="compute context device service monitoring centralizedattackdetector opticalcentralizedattackdetector opticalattackmitigator dbscanserving" COMPONENTS="compute context device service monitoring opticalcentralizedattackdetector opticalattackmitigator dbscanserving" # compiling dependencies from all components for component in $COMPONENTS Loading
manifests/centralizedattackdetectorservice.yamldeleted 100644 → 0 +0 −70 Original line number Diff line number Diff line apiVersion: apps/v1 kind: Deployment metadata: name: centralizedattackdetectorervice spec: selector: matchLabels: app: centralizedattackdetectorervice template: metadata: labels: app: centralizedattackdetectorervice spec: terminationGracePeriodSeconds: 5 containers: - name: server image: registry.gitlab.com/teraflow-h2020/controller/centralizedcybersecurity:latest imagePullPolicy: Always ports: - containerPort: 10000 env: - name: DB_ENGINE value: "redis" - name: REDIS_DATABASE_ID value: "0" - name: LOG_LEVEL value: "DEBUG" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10000"] livenessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10000"] resources: requests: cpu: 250m memory: 512Mi limits: cpu: 700m memory: 1024Mi --- apiVersion: v1 kind: Service metadata: name: centralizedattackdetectorervice spec: type: ClusterIP selector: app: centralizedattackdetectorervice ports: - name: grpc port: 10000 targetPort: 10000 --- apiVersion: v1 kind: Service metadata: name: centralizedattackdetectorervice-public labels: app: centralizedattackdetectorervice spec: type: NodePort selector: app: centralizedattackdetectorervice ports: - name: grpc protocol: TCP port: 10000 targetPort: 10000 ---
report_coverage_centralized_attack_detector.shdeleted 100755 → 0 +0 −3 Original line number Diff line number Diff line #!/bin/bash ./report_coverage_all.sh | grep --color -E -i "^centralizedattackdetector/.*$|$"