spaceship_stub 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/spaceship_stub/spaceship/spec/portal/app_group_spec.rb +57 -0
- data/lib/spaceship_stub/spaceship/spec/portal/app_spec.rb +136 -0
- data/lib/spaceship_stub/spaceship/spec/portal/certificate_spec.rb +116 -0
- data/lib/spaceship_stub/spaceship/spec/portal/device_spec.rb +142 -0
- data/lib/spaceship_stub/spaceship/spec/portal/enterprise_spec.rb +28 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addAppId.action.apostroph.json +51 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addAppId.action.explicit.json +51 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addAppId.action.nopush.json +50 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addAppId.action.wildcard.json +49 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addApplicationGroup.action.json +22 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addDeviceResponse.action.json +30 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addDeviceResponse.action.plist +33 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/addWebsitePushId.action.json +22 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/aps_development.cer +0 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/certificateCreate.certRequest.json +44 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/certificateSigningRequest.certSigningRequest +16 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/create_profile_name_taken.txt +1 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/create_profile_success.json +64 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/deleteAppId.action.json +16 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/deleteApplicationGroup.action.json +16 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/deleteDevice.action.json +13 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/deleteProvisioningProfile.action.json +16 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/deleteWebsitePushId.action.json +16 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/dev_center_provisioning_profiles_response.json +829 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/download_certificate_failure.html +13 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/downloaded_provisioning_profile.mobileprovision +51 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/enableDevice.action.json +22 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/getAppIdDetail.action.json +55 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/getProvisioningProfileAdHoc.action.json +108 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/getProvisioningProfileAppStore.action.json +91 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/getProvisioningProfileDevelopment.action.json +108 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/getProvisioningProfiletvOSAppStore.action.json +93 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listApplicationGroups.action.json +30 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listApps.action.json +97 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listAppsMac.action.json +97 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listCertRequests.action.json +80 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevices.action.json +53 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesDisabled.action.json +71 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesPage1-2.action.json +65 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesPage2-2.action.json +23 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesTV.action.json +26 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesWatch.action.json +26 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesiPhone.action.json +44 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listDevicesiPod.action.json +26 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listProvisioningProfiles.action.json +126 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listProvisioningProfiles.action.plist +597 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listTeams.action.json +61 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listTeams_multiple.action.json +105 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/listWebsitePushIds.action.json +31 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/list_certificates_filtered.json +38 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/peopleList.json +34 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/profileContentDownload.action +0 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/repair_profile_success.json +65 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/repair_profile_tvos_success.json +66 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/revokeCertificate.action.json +56 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/submitCertificateRequest.action.json +59 -0
- data/lib/spaceship_stub/spaceship/spec/portal/fixtures/updateAppIdName.action.json +44 -0
- data/lib/spaceship_stub/spaceship/spec/portal/person_spec.rb +27 -0
- data/lib/spaceship_stub/spaceship/spec/portal/persons_spec.rb +19 -0
- data/lib/spaceship_stub/spaceship/spec/portal/portal_client_spec.rb +279 -0
- data/lib/spaceship_stub/spaceship/spec/portal/portal_permission_spec.rb +26 -0
- data/lib/spaceship_stub/spaceship/spec/portal/portal_stubbing.rb +293 -0
- data/lib/spaceship_stub/spaceship/spec/portal/tvos_profile_spec.rb +24 -0
- data/lib/spaceship_stub/spaceship/spec/portal/website_push_spec.rb +57 -0
- metadata +65 -1
@@ -0,0 +1,28 @@
|
|
1
|
+
describe Spaceship::ProvisioningProfile do
|
2
|
+
describe "Enterprise Profiles" do
|
3
|
+
before do
|
4
|
+
Spaceship.login
|
5
|
+
PortalStubbing.adp_enterprise_stubbing
|
6
|
+
end
|
7
|
+
let(:client) { Spaceship::ProvisioningProfile.client }
|
8
|
+
|
9
|
+
describe "List the code signing certificate as In House profiles" do
|
10
|
+
it "uses the correct class" do
|
11
|
+
certs = Spaceship::Certificate::InHouse.all
|
12
|
+
expect(certs.count).to eq(1)
|
13
|
+
|
14
|
+
cert = certs.first
|
15
|
+
expect(cert).to be_kind_of(Spaceship::Certificate::InHouse)
|
16
|
+
expect(cert.name).to eq("SunApps GmbH")
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe "Create a new In House Profile" do
|
21
|
+
it "uses the correct type for the create request" do
|
22
|
+
cert = Spaceship::Certificate::InHouse.all.first
|
23
|
+
result = Spaceship::ProvisioningProfile::InHouse.create!(name: 'Delete Me', bundle_id: 'net.sunapps.1', certificate: cert)
|
24
|
+
expect(result.raw_data['provisioningProfileId']).to eq('W2MY88F6GE')
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2015-04-29T00:26:33Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": null,
|
7
|
+
"requestUrl": "https://developer.apple.com:443//services-account/QH65B2/account/ios/identifiers/addAppId.action",
|
8
|
+
"responseId": "ed5e74cf-8f52-46bf-9cf6-9e9e9fcd9fad",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": false,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"appId": {
|
16
|
+
"appIdId": "2HNR359G63",
|
17
|
+
"name": "pp Test 1ed9e25c93ac7142ff9df53e7f80e84c",
|
18
|
+
"appIdPlatform": "ios",
|
19
|
+
"prefix": "S56PJTAYEL",
|
20
|
+
"identifier": "tools.fastlane.spaceship.some-explicit-app",
|
21
|
+
"isWildCard": false,
|
22
|
+
"isDuplicate": false,
|
23
|
+
"features": {
|
24
|
+
"push": true,
|
25
|
+
"inAppPurchase": true,
|
26
|
+
"gameCenter": true,
|
27
|
+
"passbook": false,
|
28
|
+
"dataProtection": "",
|
29
|
+
"homeKit": false,
|
30
|
+
"cloudKitVersion": 1,
|
31
|
+
"iCloud": false,
|
32
|
+
"LPLF93JG7M": false,
|
33
|
+
"IAD53UNK2F": false,
|
34
|
+
"V66P55NK2I": false,
|
35
|
+
"SKC3T5S89Y": false,
|
36
|
+
"APG3427HIY": false,
|
37
|
+
"HK421J6T7P": false,
|
38
|
+
"WC421J6T7P": false
|
39
|
+
},
|
40
|
+
"enabledFeatures": [
|
41
|
+
"gameCenter",
|
42
|
+
"inAppPurchase",
|
43
|
+
"push"
|
44
|
+
],
|
45
|
+
"isDevPushEnabled": false,
|
46
|
+
"isProdPushEnabled": false,
|
47
|
+
"associatedApplicationGroupsCount": null,
|
48
|
+
"associatedCloudContainersCount": null,
|
49
|
+
"associatedIdentifiersCount": null
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2015-04-29T00:26:33Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": null,
|
7
|
+
"requestUrl": "https://developer.apple.com:443//services-account/QH65B2/account/ios/identifiers/addAppId.action",
|
8
|
+
"responseId": "ed5e74cf-8f52-46bf-9cf6-9e9e9fcd9fad",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": false,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"appId": {
|
16
|
+
"appIdId": "2HNR359G63",
|
17
|
+
"name": "Production App",
|
18
|
+
"appIdPlatform": "ios",
|
19
|
+
"prefix": "S56PJTAYEL",
|
20
|
+
"identifier": "tools.fastlane.spaceship.some-explicit-app",
|
21
|
+
"isWildCard": false,
|
22
|
+
"isDuplicate": false,
|
23
|
+
"features": {
|
24
|
+
"push": true,
|
25
|
+
"inAppPurchase": true,
|
26
|
+
"gameCenter": true,
|
27
|
+
"passbook": false,
|
28
|
+
"dataProtection": "",
|
29
|
+
"homeKit": false,
|
30
|
+
"cloudKitVersion": 1,
|
31
|
+
"iCloud": false,
|
32
|
+
"LPLF93JG7M": false,
|
33
|
+
"IAD53UNK2F": false,
|
34
|
+
"V66P55NK2I": false,
|
35
|
+
"SKC3T5S89Y": false,
|
36
|
+
"APG3427HIY": false,
|
37
|
+
"HK421J6T7P": false,
|
38
|
+
"WC421J6T7P": false
|
39
|
+
},
|
40
|
+
"enabledFeatures": [
|
41
|
+
"gameCenter",
|
42
|
+
"inAppPurchase",
|
43
|
+
"push"
|
44
|
+
],
|
45
|
+
"isDevPushEnabled": false,
|
46
|
+
"isProdPushEnabled": false,
|
47
|
+
"associatedApplicationGroupsCount": null,
|
48
|
+
"associatedCloudContainersCount": null,
|
49
|
+
"associatedIdentifiersCount": null
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2015-04-29T00:26:33Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": null,
|
7
|
+
"requestUrl": "https://developer.apple.com:443//services-account/QH65B2/account/ios/identifiers/addAppId.action",
|
8
|
+
"responseId": "ed5e74cf-8f52-46bf-9cf6-9e9e9fcd9fad",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": false,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"appId": {
|
16
|
+
"appIdId": "2HNR359G63",
|
17
|
+
"name": "pp Test 1ed9e25c93ac7142ff9df53e7f80e84c",
|
18
|
+
"appIdPlatform": "ios",
|
19
|
+
"prefix": "S56PJTAYEL",
|
20
|
+
"identifier": "tools.fastlane.spaceship.some-explicit-app",
|
21
|
+
"isWildCard": false,
|
22
|
+
"isDuplicate": false,
|
23
|
+
"features": {
|
24
|
+
"push": true,
|
25
|
+
"inAppPurchase": true,
|
26
|
+
"gameCenter": true,
|
27
|
+
"passbook": false,
|
28
|
+
"dataProtection": "",
|
29
|
+
"homeKit": false,
|
30
|
+
"cloudKitVersion": 1,
|
31
|
+
"iCloud": false,
|
32
|
+
"LPLF93JG7M": false,
|
33
|
+
"IAD53UNK2F": false,
|
34
|
+
"V66P55NK2I": false,
|
35
|
+
"SKC3T5S89Y": false,
|
36
|
+
"APG3427HIY": false,
|
37
|
+
"HK421J6T7P": false,
|
38
|
+
"WC421J6T7P": false
|
39
|
+
},
|
40
|
+
"enabledFeatures": [
|
41
|
+
"gameCenter",
|
42
|
+
"inAppPurchase"
|
43
|
+
],
|
44
|
+
"isDevPushEnabled": false,
|
45
|
+
"isProdPushEnabled": false,
|
46
|
+
"associatedApplicationGroupsCount": null,
|
47
|
+
"associatedCloudContainersCount": null,
|
48
|
+
"associatedIdentifiersCount": null
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2015-04-29T00:28:48Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": null,
|
7
|
+
"requestUrl": "https://developer.apple.com:443//services-account/QH65B2/account/ios/identifiers/addAppId.action",
|
8
|
+
"responseId": "278f3ddc-4ae1-40b0-8b79-a7555a31e879",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": false,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"appId": {
|
16
|
+
"appIdId": "7Z947A8XYJ",
|
17
|
+
"name": "Development App",
|
18
|
+
"appIdPlatform": "ios",
|
19
|
+
"prefix": "S56PJTAYEL",
|
20
|
+
"identifier": "tools.fastlane.spaceship.*",
|
21
|
+
"isWildCard": true,
|
22
|
+
"isDuplicate": false,
|
23
|
+
"features": {
|
24
|
+
"push": false,
|
25
|
+
"inAppPurchase": false,
|
26
|
+
"gameCenter": false,
|
27
|
+
"passbook": false,
|
28
|
+
"dataProtection": "",
|
29
|
+
"homeKit": false,
|
30
|
+
"cloudKitVersion": 1,
|
31
|
+
"iCloud": false,
|
32
|
+
"LPLF93JG7M": false,
|
33
|
+
"IAD53UNK2F": false,
|
34
|
+
"V66P55NK2I": false,
|
35
|
+
"SKC3T5S89Y": false,
|
36
|
+
"APG3427HIY": false,
|
37
|
+
"HK421J6T7P": false,
|
38
|
+
"WC421J6T7P": false
|
39
|
+
},
|
40
|
+
"enabledFeatures": [
|
41
|
+
|
42
|
+
],
|
43
|
+
"isDevPushEnabled": false,
|
44
|
+
"isProdPushEnabled": false,
|
45
|
+
"associatedApplicationGroupsCount": null,
|
46
|
+
"associatedCloudContainersCount": null,
|
47
|
+
"associatedIdentifiersCount": null
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2015-08-06T11:08:07Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": null,
|
7
|
+
"requestUrl": "https://developer.apple.com:443//services-account/QH65B2/account/ios/identifiers/addApplicationGroup.action",
|
8
|
+
"responseId": "b9d17c2b-6acd-40b1-964b-882c01e05605",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": false,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"applicationGroup": {
|
16
|
+
"name": "Production App Group",
|
17
|
+
"prefix": "9J57U9392R",
|
18
|
+
"identifier": "group.tools.fastlane",
|
19
|
+
"status": "current",
|
20
|
+
"applicationGroup": "NR5BH6N89Z"
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2017-02-14T21:37:50Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": "8286b5c1-ed85-4bf5-y65b-0cd7910f1d67",
|
7
|
+
"requestUrl": "https://developer.apple.com:443/services-account/QH65B2/account/ios/device/addDevices.action?content-type=text/x-url-arguments&accept=application/json&requestId=8286b5c1-ed85-4bf5-y65b-0cd7910f1d67&userLocale=en_US&teamId=47C5778P4P",
|
8
|
+
"responseId": "9bc3b97b-7ce1-46d9-9de6-23b4630b9525",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": true,
|
12
|
+
"devices": [
|
13
|
+
{
|
14
|
+
"deviceId": "BTSF5CE34F",
|
15
|
+
"name": "Demo Device",
|
16
|
+
"deviceNumber": "7f6c8dc83d77134b5a3a1c53f1202b395b04482b",
|
17
|
+
"devicePlatform": "ios",
|
18
|
+
"status": "c",
|
19
|
+
"deviceClass": "iphone",
|
20
|
+
"model": "iPhone 6"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"failedDevices": [
|
24
|
+
|
25
|
+
],
|
26
|
+
"validationMessages": [
|
27
|
+
|
28
|
+
],
|
29
|
+
"nextDeviceResetDate": null
|
30
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>device</key>
|
6
|
+
<dict>
|
7
|
+
<key>deviceId</key>
|
8
|
+
<string>M2WM9F639U</string>
|
9
|
+
<key>name</key>
|
10
|
+
<string>Demo Device</string>
|
11
|
+
<key>deviceNumber</key>
|
12
|
+
<string>7f6c8dc83d77134b5a3a1c53f1202b395b04482b</string>
|
13
|
+
<key>devicePlatform</key>
|
14
|
+
<string>ios</string>
|
15
|
+
<key>status</key>
|
16
|
+
<string>c</string>
|
17
|
+
</dict>
|
18
|
+
<key>creationTimestamp</key>
|
19
|
+
<string>2015-05-24T18:20:31Z</string>
|
20
|
+
<key>resultCode</key>
|
21
|
+
<integer>0</integer>
|
22
|
+
<key>userLocale</key>
|
23
|
+
<string>en_US</string>
|
24
|
+
<key>protocolVersion</key>
|
25
|
+
<string>QH65B2</string>
|
26
|
+
<key>requestId</key>
|
27
|
+
<string>116282DE-76A9-4CE3-A18C-9D0290123C42</string>
|
28
|
+
<key>requestUrl</key>
|
29
|
+
<string>https://developerservices2.apple.com:443//services/QH65B2/ios/addDevice.action?clientId=XABBG36SBA</string>
|
30
|
+
<key>responseId</key>
|
31
|
+
<string>09d5e0c4-ecd8-46d4-8c55-e2229a52073c</string>
|
32
|
+
</dict>
|
33
|
+
</plist>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2016-11-09T22:32:25Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": null,
|
7
|
+
"requestUrl": "https://developer.apple.com:443/services-account/QH65B2/account/ios/identifiers/addWebsitePushId.action",
|
8
|
+
"responseId": "702402cd-0769-47bc-b541-d5af0ecbf3ae",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": false,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"websitePushId": {
|
16
|
+
"name": "Fastlane Website Push",
|
17
|
+
"prefix": "3KQEE2SU36",
|
18
|
+
"identifier": "web.com.fastlane.example",
|
19
|
+
"status": "current",
|
20
|
+
"websitePushId": "AXUVGTHPF6"
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"certRequestId": "ESF52FQGU6",
|
3
|
+
"statusCode": 4,
|
4
|
+
"statusString": "Issued",
|
5
|
+
"csrPlatform": "ios",
|
6
|
+
"dateRequestedString": "Apr 29, 2015",
|
7
|
+
"dateRequested": "2015-04-29T16:07:11Z",
|
8
|
+
"expirationDate": "2016-04-28T15:57:11Z",
|
9
|
+
"expirationDateString": "Apr 28, 2016",
|
10
|
+
"certificateId": "HG3FQ9M282",
|
11
|
+
"typeString": "APNs Production iOS",
|
12
|
+
"certificateType": {
|
13
|
+
"certificateTypeDisplayId": "UPV3DW712I",
|
14
|
+
"name": "APNs Production iOS",
|
15
|
+
"platform": "ios",
|
16
|
+
"permissionType": "production",
|
17
|
+
"distributionType": "production",
|
18
|
+
"distributionMethod": "push",
|
19
|
+
"ownerType": "bundle",
|
20
|
+
"daysOverlap": 364,
|
21
|
+
"maxActive": 2
|
22
|
+
},
|
23
|
+
"certificate": {
|
24
|
+
"name": null,
|
25
|
+
"certificateId": "HG3FQ9M282",
|
26
|
+
"serialNumber": "7C4B29A2943BACA0",
|
27
|
+
"status": "Issued",
|
28
|
+
"statusCode": 0,
|
29
|
+
"expirationDate": "2016-04-28",
|
30
|
+
"certificatePlatform": "ios",
|
31
|
+
"certificateType": {
|
32
|
+
"certificateTypeDisplayId": "UPV3DW712I",
|
33
|
+
"name": "APNs Production iOS",
|
34
|
+
"platform": "ios",
|
35
|
+
"permissionType": "production",
|
36
|
+
"distributionType": "production",
|
37
|
+
"distributionMethod": "push",
|
38
|
+
"ownerType": "bundle",
|
39
|
+
"daysOverlap": 364,
|
40
|
+
"maxActive": 2
|
41
|
+
},
|
42
|
+
"hasAskKey": false
|
43
|
+
}
|
44
|
+
}
|
data/lib/spaceship_stub/spaceship/spec/portal/fixtures/certificateSigningRequest.certSigningRequest
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
-----BEGIN CERTIFICATE REQUEST-----
|
2
|
+
MIIClDCCAXwCAQAwTzEnMCUGCSqGSIb3DQEJARYYc3RlZmFuLm5hdGNoZXZAZ21h
|
3
|
+
aWwuY29tMRcwFQYDVQQDDA5TdGVmYW4gTmF0Y2hldjELMAkGA1UEBhMCVVMwggEi
|
4
|
+
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCn7ehaeM1yXqGEbd+FlsqwZTbI
|
5
|
+
7SyG38tb5BLvjTIHppsCTVLvInJbW/GhyLxrI+mKeyk4zI4JKIKOkrmKRtF/bv6w
|
6
|
+
LutQnJSTw09Qo/X/uqNtgxabCBMlTKpNTE49PGYri/mRnc+y6PzwA/t0xKNk1cBI
|
7
|
+
YpQ4nxZzTNXAwiAy+fUzfby2tQsKrb19twM+7PdVeDv20MPAoyfusx5IKRIIftSJ
|
8
|
+
+re8nCYM2vJGPbsF/nutDrdUOrJoNAn7ouXgn06dPe9P1EXvv7A59zaFRDwnIlVa
|
9
|
+
eJnN80FB4BLPAGoDADPtt50iEWDNOCrGrz6TfNgsf+F9nwUn56FcQh0w+RHvAgMB
|
10
|
+
AAGgADANBgkqhkiG9w0BAQUFAAOCAQEAHtvAId/YNGisy3ENM7klf7OeCgsYecqW
|
11
|
+
XyqGgFEpLsf/S1mhmKNod62iDr2Cd2WcbHL/5exN7jXZ9yCg5qZqmY5M0P7Nv/wr
|
12
|
+
jU3KQ/A5qE8FeLs5wlnFk4g3rOYvLc3ZM7gWIGnc1KMcER6LFN+W4va3bPeokKvR
|
13
|
+
WO7G8+fkwpVP8nTE8/rQMJB2pTK50uFNVp94ASfD+JQLfsBfWHFeGX+T1FCjjF9c
|
14
|
+
Xa27xMEh6nxxTqHvkbi9HE9OH4rugCIh46TXjNGAwYax1bnc/y8nWR+7Y8jDscm8
|
15
|
+
ZRu+PuSTeHX5Z8bjddr4DwSbwFssgcL8/6xhSDudp9TXv8jrQui02Q==
|
16
|
+
-----END CERTIFICATE REQUEST-----
|
@@ -0,0 +1 @@
|
|
1
|
+
Multiple profiles found with the name 'Test Name 3'. Please remove the duplicate profiles and try again.\nThere are no current certificates on this team matching the provided certificate IDs.
|
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"creationTimestamp": "2015-04-07T09:53:37Z",
|
3
|
+
"resultCode": 0,
|
4
|
+
"userLocale": "en_US",
|
5
|
+
"protocolVersion": "QH65B2",
|
6
|
+
"requestId": "521b81f0-b2c4-47d6-a49d-6350e9658aaa",
|
7
|
+
"requestUrl": "https://developer.apple.com:443//services-account/QH65B2/account/ios/profile/createProvisioningProfile.action?content-type=text/x-url-arguments&accept=application/json&requestId=521b81f0-b2c4-47d6-a49d-6350e965857b&userLocale=en_US&teamId=5A997XSHK2",
|
8
|
+
"responseId": "dff94701-f0bb-471f-b764-0459b5d87aaa",
|
9
|
+
"isAdmin": true,
|
10
|
+
"isMember": false,
|
11
|
+
"isAgent": true,
|
12
|
+
"pageNumber": null,
|
13
|
+
"pageSize": null,
|
14
|
+
"totalRecords": null,
|
15
|
+
"provisioningProfile": {
|
16
|
+
"provisioningProfileId": "W2MY88F6GE",
|
17
|
+
"name": "asdfasdfasdf",
|
18
|
+
"status": "Active",
|
19
|
+
"type": "iOS Development",
|
20
|
+
"distributionMethod": "limited",
|
21
|
+
"proProPlatform": "ios",
|
22
|
+
"version": "2",
|
23
|
+
"dateExpire": "2016-04-06",
|
24
|
+
"managingApp": null,
|
25
|
+
"appId": {
|
26
|
+
"appIdId": "RGAWZGXSY4",
|
27
|
+
"name": "ABP",
|
28
|
+
"appIdPlatform": "ios",
|
29
|
+
"prefix": "5A997XSHK2",
|
30
|
+
"identifier": "net.sunapps.34",
|
31
|
+
"isWildCard": false,
|
32
|
+
"isDuplicate": false,
|
33
|
+
"features": {
|
34
|
+
"push": true,
|
35
|
+
"inAppPurchase": true,
|
36
|
+
"gameCenter": true,
|
37
|
+
"passbook": false,
|
38
|
+
"dataProtection": "",
|
39
|
+
"homeKit": false,
|
40
|
+
"cloudKitVersion": 1,
|
41
|
+
"iCloud": false,
|
42
|
+
"LPLF93JG7M": false,
|
43
|
+
"IAD53UNK2F": false,
|
44
|
+
"V66P55NK2I": false,
|
45
|
+
"SKC3T5S89Y": false,
|
46
|
+
"APG3427HIY": false,
|
47
|
+
"HK421J6T7P": false,
|
48
|
+
"WC421J6T7P": false
|
49
|
+
},
|
50
|
+
"enabledFeatures": ["gameCenter", "inAppPurchase", "push"],
|
51
|
+
"isDevPushEnabled": false,
|
52
|
+
"isProdPushEnabled": false,
|
53
|
+
"associatedApplicationGroupsCount": null,
|
54
|
+
"associatedCloudContainersCount": null,
|
55
|
+
"associatedIdentifiersCount": null
|
56
|
+
},
|
57
|
+
"appIdId": "RGAWZGXSY4",
|
58
|
+
"deviceIds": ["RK3285QATH", "E687498679", "5YTNZ5A9RV", "VCD3RH54BK", "VA3Z744A8R", "T5VFWSCC2Z", "GD25LDGN99", "XJXGVS46MW", "LEL449RZER", "WXQ7V239BE", "9T5RA84V77", "S4227Y42V5", "L4378H292Z"],
|
59
|
+
"certificateIds": ["C8DL7464RQ"],
|
60
|
+
"encodedProfile": "MIIf...==",
|
61
|
+
"filename": "asdfasdfasdf.mobileprovision",
|
62
|
+
"UUID": "ad2281da-76c0-4698-80ac-c16c430e1a9a"
|
63
|
+
}
|
64
|
+
}
|