Commit e31152ca authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

removed elastic stack from meepctl & backend

parent 1c3f0119
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -123,18 +123,6 @@ repo:
  dep:
    docker-registry:
      chart: charts/docker-registry
    elastic:
      es:
        chart: charts/elasticsearch
        pv: charts/elasticsearch/meep-pv-es.yaml
      es-curator:
        chart: charts/elasticsearch-curator
      kibana:
        chart: charts/kibana
      filebeat:
        chart: charts/filebeat
      metricbeat:
        chart: charts/metricbeat
    couchdb:
      chart: charts/couchdb
    influxdb:
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ require (
	github.com/gorilla/handlers v1.4.0
	github.com/gorilla/mux v1.7.1
	github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect
	github.com/olivere/elastic v6.2.21+incompatible
	github.com/olivere/elastic v6.2.21+incompatible // indirect
	github.com/pkg/errors v0.8.1 // indirect
)

+0 −19
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import (

	"github.com/gorilla/mux"

	v1 "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-metrics-engine/server/v1"
	v2 "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-metrics-engine/server/v2"
)

@@ -60,10 +59,6 @@ func NewRouter() *mux.Router {
	return router
}

func Index(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintf(w, "Hello World! on v1")
}

func IndexV2(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintf(w, "Hello World! on v2")
}
@@ -77,20 +72,6 @@ func Init() (err error) {
}

var routes = Routes{
	Route{
		"Index",
		"GET",
		"/v1/",
		Index,
	},

	Route{
		"MetricsGet",
		strings.ToUpper("Get"),
		"/v1/metrics",
		v1.MetricsGet,
	},

	Route{
		"IndexV2",
		"GET",
+0 −25
Original line number Diff line number Diff line
# Go API Server for server

Metrics Service provides metrics about the active scenario <p>**Micro-service**<br>[meep-metrics-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-metrics-engine) <p>**Type & Usage**<br>Platform Service used by control/monitoring software and possibly by edge applications that require metrics <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address:30000/api_ <p>**Default Port**<br>`30005`

## Overview
This server was generated by the [swagger-codegen]
(https://github.com/swagger-api/swagger-codegen) project.  
By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.  
-

To see how to make this your own, look here:

[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 1.0.0
- Build date: 2020-01-06T22:49:56.071-05:00


### Running the server
To run the server, follow these simple steps:

```
go run main.go
```
+0 −33
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019  InterDigital Communications, Inc
 *
 * Licensed under the Apache License, Version 2.0 (the \"License\");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an \"AS IS\" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * AdvantEDGE Metrics Service REST API
 *
 * Metrics Service provides metrics about the active scenario <p>**Micro-service**<br>[meep-metrics-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-metrics-engine) <p>**Type & Usage**<br>Platform Service used by control/monitoring software and possibly by edge applications that require metrics <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address:30000/api_ <p>**Default Port**<br>`30005`
 *
 * API version: 1.0.0
 * Contact: AdvantEDGE@InterDigital.com
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package server

import (
	"net/http"
)

func MetricsGet(w http.ResponseWriter, r *http.Request) {
	metricsGet(w, r)
}
Loading