init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
0
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/FileBody.txt
vendored
可执行文件
0
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/FileBody.txt
vendored
可执行文件
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"includes": ["foo.json"]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"includes": ["foo.json", "bar.json"]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"includes": ["recursive.json"],
|
||||
"operations": {
|
||||
"abstract": {
|
||||
"httpMethod": "POST"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"includes": ["foo.json"]
|
||||
}
|
||||
3
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/mock_response
vendored
可执行文件
3
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/mock_response
vendored
可执行文件
@@ -0,0 +1,3 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Length: 0
|
||||
|
||||
18
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/services/json1.json
vendored
可执行文件
18
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/services/json1.json
vendored
可执行文件
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"includes": [ "json2.json" ],
|
||||
"services": {
|
||||
"abstract": {
|
||||
"access_key": "xyz",
|
||||
"secret": "abc"
|
||||
},
|
||||
"mock": {
|
||||
"class": "Guzzle\\Tests\\Service\\Mock\\MockClient",
|
||||
"extends": "abstract",
|
||||
"params": {
|
||||
"username": "foo",
|
||||
"password": "baz",
|
||||
"subdomain": "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/services/json2.json
vendored
可执行文件
11
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/services/json2.json
vendored
可执行文件
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"services": {
|
||||
"foo": {
|
||||
"class": "Guzzle\\Tests\\Service\\Mock\\MockClient",
|
||||
"extends": "abstract",
|
||||
"params": {
|
||||
"baz": "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"abstract": {
|
||||
"access_key": "xyz",
|
||||
"secret": "abc"
|
||||
},
|
||||
"mock": {
|
||||
"class": "Guzzle\\Tests\\Service\\Mock\\MockClient",
|
||||
"extends": "abstract",
|
||||
"params": {
|
||||
"username": "foo",
|
||||
"password": "baz",
|
||||
"subdomain": "bar"
|
||||
}
|
||||
},
|
||||
|
||||
"test.abstract.aws": {
|
||||
"params": {
|
||||
"access_key": "12345",
|
||||
"secret_key": "abcd"
|
||||
}
|
||||
},
|
||||
|
||||
"test.s3": {
|
||||
"class": "Guzzle\\Service\\Aws\\S3Client",
|
||||
"extends": "test.abstract.aws",
|
||||
"params": {
|
||||
"devpay_product_token": "",
|
||||
"devpay_user_token": ""
|
||||
}
|
||||
},
|
||||
|
||||
"test.simple_db": {
|
||||
"class": "Guzzle\\Service\\Aws\\SimpleDb\\SimpleDbClient",
|
||||
"extends": "test.abstract.aws"
|
||||
},
|
||||
|
||||
"test.sqs": {
|
||||
"class": "Guzzle\\Service\\Aws\\Sqs\\SqsClient",
|
||||
"extends": "test.abstract.aws"
|
||||
},
|
||||
|
||||
"test.centinel": {
|
||||
"class": "Guzzle\\Service\\CardinalCommerce\\Centinel.CentinelClient",
|
||||
"params": {
|
||||
"password": "test",
|
||||
"processor_id": "123",
|
||||
"merchant_id": "456"
|
||||
}
|
||||
},
|
||||
|
||||
"test.mws": {
|
||||
"class": "Guzzle\\Service\\Mws\\MwsClient",
|
||||
"extends": "test.abstract.aws",
|
||||
"params": {
|
||||
"merchant_id": "ABCDE",
|
||||
"marketplace_id": "FGHIJ",
|
||||
"application_name": "GuzzleTest",
|
||||
"application_version": "0.1",
|
||||
"base_url": "https://mws.amazonservices.com"
|
||||
}
|
||||
},
|
||||
|
||||
"mock": {
|
||||
"class": "Guzzle\\Tests\\Service\\Mock\\MockClient",
|
||||
"params": {
|
||||
"username": "test_user",
|
||||
"password": "****",
|
||||
"subdomain": "test"
|
||||
}
|
||||
}
|
||||
}
|
||||
40
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/test_service.json
vendored
可执行文件
40
vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/TestData/test_service.json
vendored
可执行文件
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"includes": [ "test_service2.json" ],
|
||||
"operations": {
|
||||
"test": {
|
||||
"uri": "/path"
|
||||
},
|
||||
"concrete": {
|
||||
"extends": "abstract"
|
||||
},
|
||||
"foo_bar": {
|
||||
"uri": "/testing",
|
||||
"parameters": {
|
||||
"other": {
|
||||
"location": "json",
|
||||
"location_key": "Other"
|
||||
},
|
||||
"test": {
|
||||
"type": "object",
|
||||
"location": "json",
|
||||
"properties": {
|
||||
"baz": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"bar": {
|
||||
"type": "string",
|
||||
"filters": [
|
||||
{
|
||||
"method": "strtolower",
|
||||
"args": ["test", "@value"]
|
||||
},
|
||||
"strtoupper"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"operations": {
|
||||
"abstract": {
|
||||
"uri": "/abstract"
|
||||
}
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户