mirror of
https://github.com/SigNoz/signoz.git
synced 2026-03-25 13:40:34 +00:00
* feat: adding cloud integration type for refactor * refactor: store interfaces to use local types and error * feat: adding sql store implementation * refactor: removing interface check * feat: adding updated types for cloud integration * refactor: using struct for map * refactor: update cloud integration types and module interface * fix: correct GetService signature and remove shadowed Data field * feat: implement cloud integration store * refactor: adding comments and removed wrong code * refactor: streamlining types * refactor: add comments for backward compatibility in PostableAgentCheckInRequest * refactor: update Dashboard struct comments and remove unused fields * refactor: split upsert store method * feat: adding integration test * refactor: clean up types * refactor: renaming service type to service id * refactor: using serviceID type * feat: adding method for service id creation * refactor: updating store methods * refactor: clean up * refactor: clean up * refactor: review comments * refactor: clean up * feat: adding handlers * fix: lint and ci issues * fix: lint issues * fix: update error code for service not found * feat: adding handler skeleton * chore: removing todo comment * feat: adding frontend openapi schema * refactor: making review changes * feat: regenerating openapi specs
59 lines
1.4 KiB
Go
59 lines
1.4 KiB
Go
package implcloudintegration
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/SigNoz/signoz/pkg/modules/cloudintegration"
|
|
)
|
|
|
|
type handler struct{}
|
|
|
|
func NewHandler() cloudintegration.Handler {
|
|
return &handler{}
|
|
}
|
|
|
|
func (handler *handler) CreateAccount(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) ListAccounts(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) GetAccount(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) UpdateAccount(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) DisconnectAccount(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) ListServicesMetadata(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) GetService(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) UpdateService(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|
|
|
|
func (handler *handler) AgentCheckIn(writer http.ResponseWriter, request *http.Request) {
|
|
// TODO implement me
|
|
panic("implement me")
|
|
}
|