summaryrefslogtreecommitdiff
path: root/internal/testhelper/testdata/testroot/responses/allowed_with_push_payload.json
blob: adedda454dfc790969cf72ec074713a754348977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
	"status": true,
	"gl_repository": "project-26",
	"gl_project_path": "group/private",
	"gl_id": "user-1",
	"gl_username": "root",
	"git_config_options": ["option"],
	"gitaly": {
		"repository": {
			"storage_name": "default",
			"relative_path": "@hashed/5f/9c/5f9c4ab08cac7457e9111a30e4664920607ea2c115a1433d7be98e97e64244ca.git",
			"git_object_directory": "path/to/git_object_directory",
			"git_alternate_object_directories": ["path/to/git_alternate_object_directory"],
			"gl_repository": "project-26",
			"gl_project_path": "group/private"
		},
		"address": "unix:gitaly.socket",
		"token": "token"
	},
  "payload" : {
    "action": "geo_proxy_to_primary",
		"data": {
			"api_endpoints": ["geo/proxy_git_ssh/info_refs_receive_pack", "geo/proxy_git_ssh/receive_pack"],
			"geo_proxy_direct_to_primary": true,
			"request_headers": { "Authorization": "Bearer token" },
			"gl_username":   "custom",
			"primary_repo":  "https://repo/path"
    }
  },
  "git_protocol": "protocol",
	"gl_console_messages": ["console", "message"]
}