mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* [public-api] add dummy service for testing * [public-api] proxy dummy to server * [public-api] hello service server impl * [server] fix API contribution bindings * [dashboard] emulate unary call * only if actually called * [dummy] auth * fix tests * [server] add interceptor to public api * add server side observability * fix port name * change to unimplemented for unknown methods * [public-api] client metrics * fix metrics imports * align server metrics * actually fix metrics * add feature flags * fix server side streams * [dashboard] hook error reporting * rebase and fix imports * feature flagged metrics from dashboard * revert GRPC_TYPE * address feedback
39 lines
1.5 KiB
Go
39 lines
1.5 KiB
Go
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License.AGPL.txt in the project root for license information.
|
|
|
|
package server
|
|
|
|
import (
|
|
"github.com/gitpod-io/gitpod/installer/pkg/common"
|
|
)
|
|
|
|
const (
|
|
Component = common.ServerComponent
|
|
ContainerPort = 3000
|
|
ContainerPortName = "http"
|
|
authProviderFilePath = "/gitpod/auth-providers"
|
|
licenseFilePath = "/gitpod/license"
|
|
stripeSecretMountPath = "/stripe-secret"
|
|
linkedInSecretMountPath = "/linkedin-secret"
|
|
githubAppCertSecret = "github-app-cert-secret"
|
|
IAMSessionPort = common.ServerIAMSessionPort
|
|
IAMSessionPortName = "session"
|
|
InstallationAdminPort = common.ServerInstallationAdminPort
|
|
InstallationAdminName = "install-admin"
|
|
DebugPortName = "debug"
|
|
DebugNodePortName = "debugnode"
|
|
ServicePort = 3000
|
|
personalAccessTokenSigningKeyMountPath = "/secrets/personal-access-token-signing-key"
|
|
|
|
AdminCredentialsSecretName = "admin-credentials"
|
|
AdminCredentialsSecretMountPath = "/credentials/admin"
|
|
AdminCredentialsSecretKey = "admin.json"
|
|
|
|
GRPCAPIName = "grpc"
|
|
GRPCAPIPort = common.ServerGRPCAPIPort
|
|
|
|
PublicAPIName = "public-api"
|
|
PublicAPIPort = common.ServerPublicAPIPort
|
|
)
|