Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Commit 0223863

Browse files
Release 2.0.00
Master develop merge
2 parents d79374a + 4fc8ff2 commit 0223863

File tree

77 files changed

+1211
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1211
-165
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ By contributing to the Android Mobile SDK, you agree that your contributions wil
4848

4949

5050
[guidelines]: /GUIDELINES.md
51-
[community]: https://communities.ca.com/community/ca-api-management-community/content?filterID=contentstatus%5Bpublished%5D~category%5Bca-mobile-api-gateway%5D
51+
[community]: https://community.broadcom.com/enterprisesoftware/communities/communityhomeblogs?CommunityKey=0f580f5f-30a4-41de-a75c-e5f433325a18
5252
[license-link]: /LICENSE
5353
[cla]: https://www.clahub.com/agreements/CAAPIM/Android-MAS-SDK
54-
[casupport]: https://support.ca.com/irj/portal/implsvcnewcase
54+
[casupport]: https://casupport.broadcom.com

ChangeLog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Version 2.0.00
2+
3+
### Bug fixes
4+
- MAS library fails the authorization flow for Android P. [DE420805]
5+
6+
### New features
7+
- Support for multipart/form-data post requests. Enables users to upload files and multipart forms. [US605853]
8+
19
# Version 1.9.10
210

311
### Bug fixes

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 CA. All rights reserved.
3+
Copyright (c) 2019 Broadcom. All Rights Reserved.
4+
The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The Android Mobile SDK consists of these frameworks:
1717
- **MASStorage** - Storage services for private local and cloud storage.
1818
- **MASUI** - Resources to implement a user login dialog, Social Login, One-Time Password, and Proximity Login (QR code and BLE).
1919

20-
For more information about our mobile products see the [developer website][mas.ca.com].
20+
For more information about our mobile products see the [developer website](http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-0.html).
2121

2222
## Features
2323

@@ -40,14 +40,14 @@ For more information about our mobile products see the [developer website][mas.c
4040
Edit your build.gradle file and add below dependency:
4141
```gradle
4242
dependencies {
43-
implementation 'com.ca:mas-foundation:1.8.00'
43+
implementation 'com.ca:mas-foundation:2.0.00'
4444
45-
implementation 'com.ca:mas-connecta:1.8.00' // (Optional) Only required when using mas connecta
46-
implementation 'com.ca:mas-storage:1.8.00' // (Optional) Only required when using mas storage
47-
implementation 'com.ca:mas-identity-management:1.8.00' // (Optional) Only required when using mas identity management
48-
implementation 'com.ca:masui:1.8.00' // (Optional) Only required when using MASUI Template. The MAS UI library provides sample user interfaces for Login, OTP, Social Login, and Enterprise Browser.
45+
implementation 'com.ca:mas-connecta:2.0.00' // (Optional) Only required when using mas connecta
46+
implementation 'com.ca:mas-storage:2.0.00' // (Optional) Only required when using mas storage
47+
implementation 'com.ca:mas-identity-management:2.0.00' // (Optional) Only required when using mas identity management
48+
implementation 'com.ca:masui:2.0.00' // (Optional) Only required when using MASUI Template. The MAS UI library provides sample user interfaces for Login, OTP, Social Login, and Enterprise Browser.
4949
50-
implementation 'org.bouncycastle:bcpkix-jdk15on:1.55' // (Optional) Only required when you want to support Android 4.1.x
50+
implementation 'org.bouncycastle:bcpkix-jdk15on:1.59' // (Optional) Only required when you want to support Android 4.1.x
5151
}
5252
```
5353
## SDK Releases
@@ -75,20 +75,16 @@ Contributions are welcome and much appreciated. To learn more, see the [Contribu
7575
For more documentation including API references, go to our [main website][docs].
7676

7777
## License
78-
Copyright (c) 2017 CA. All rights reserved.
78+
Copyright (c) 2019 Broadcom. All Rights Reserved.
79+
The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
7980

8081
This software may be modified and distributed under the terms
8182
of the MIT license. See the [LICENSE][license-link] file for details.
8283

83-
[mag]: https://docops.ca.com/mag
84-
[mas.ca.com]: http://mas.ca.com/
85-
[docs]: http://mas.ca.com/docs/
86-
[blog]: http://mas.ca.com/blog/
87-
[get-started]: http://mas.ca.com/get-started
84+
[docs]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-0.html
8885
[StackOverflow]: http://stackoverflow.com/questions/tagged/massdk
8986
[issues]: https://github.com/CAAPIM/Android-MAS-SDK/issues
9087
[releases]: ../../releases
9188
[contributing]: /CONTRIBUTING.md
9289
[license-link]: /LICENSE
93-
[video]: https://www.ca.com/us/developers/mas/videos.html
94-
[documentation]: https://www.ca.com/us/developers/mas/docs.html
90+
[documentation]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-0.html

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ buildscript {
1414
google()
1515
}
1616
dependencies {
17-
classpath 'com.android.tools.build:gradle:3.1.4'
17+
classpath 'com.android.tools.build:gradle:3.5.0'
1818
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
1919
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.2'
2020
classpath 'com.google.gms:google-services:3.1.1'
@@ -29,16 +29,16 @@ allprojects {
2929
}
3030

3131
ext {
32-
supportLibsVersion = '28.0.0-rc01'
32+
supportLibsVersion = '28.0.0'
3333
appAuthVersion = '0.7.0'
34-
buildToolsVersion = '28.0.0'
35-
compileSdkVersion = 28
34+
buildToolsVersion = '29.0.2'
35+
compileSdkVersion = 29
3636
gcm = '12.0.1'
3737
minSdkVersion = 16
3838
nimbusJoseVersion = '6.0.2'
39-
targetSdkVersion = 28
40-
versionCode = 22
41-
versionName = '1.9.10'
39+
targetSdkVersion = 29
40+
versionCode = 23
41+
versionName = '2.0.00'
4242
zxingVersion = '3.3.0'
4343
testRunner = '1.0.1'
4444
testRules = '1.0.1'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Mar 22 16:31:09 PDT 2018
1+
#Tue Aug 27 09:33:28 IST 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip

mas-connecta/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ android {
2020
versionCode rootProject.ext.versionCode
2121
versionName rootProject.ext.versionName
2222
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
23+
multiDexEnabled true
2324
}
2425

2526
lintOptions {
@@ -86,10 +87,10 @@ task jacocoTestReport(type: JacocoReport, dependsOn: "connectedDebugAndroidTest"
8687
}
8788
reports {
8889
xml.enabled = true
89-
xml.destination = "${buildDir}/jacocoTestReport.xml"
90+
xml.destination = file("${buildDir}/jacocoTestReport.xml")
9091
csv.enabled = false
9192
html.enabled = true
92-
html.destination = "${buildDir}/reports/jacoco"
93+
html.destination = file("${buildDir}/reports/jacoco")
9394
}
9495
}
9596

@@ -184,6 +185,6 @@ artifacts {
184185
archives sourcesJar
185186
}
186187

187-
task findConventions << {
188+
task findConventions doLast {
188189
println project.getConvention()
189190
}

mas-foundation/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ task jacocoTestReport(type: JacocoReport, dependsOn: "connectedDebugAndroidTest"
121121
}
122122
reports {
123123
xml.enabled = true
124-
xml.destination = "${buildDir}/jacocoTestReport.xml"
124+
xml.destination = file("${buildDir}/jacocoTestReport.xml")
125125
csv.enabled = false
126126
html.enabled = true
127-
html.destination = "${buildDir}/reports/jacoco"
127+
html.destination = file("${buildDir}/reports/jacoco")
128128
}
129129
}
130130

@@ -206,6 +206,6 @@ artifacts {
206206
archives sourcesJar
207207
}
208208

209-
task findConventions << {
209+
task findConventions doLast {
210210
println project.getConvention()
211211
}

mas-foundation/src/androidTest/java/com/ca/mas/foundation/MASAuthorizationCodeFlowTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import com.ca.mas.MASStartTestBase;
1616
import com.ca.mas.core.oauth.CodeVerifierCache;
1717
import com.ca.mas.foundation.auth.MASAuthenticationProviders;
18-
import com.squareup.okhttp.mockwebserver.RecordedRequest;
19-
2018
import org.json.JSONObject;
2119
import org.junit.Test;
2220

@@ -25,12 +23,12 @@
2523
import java.net.URISyntaxException;
2624
import java.util.concurrent.ExecutionException;
2725

26+
import okhttp3.mockwebserver.RecordedRequest;
27+
2828
import static junit.framework.Assert.assertEquals;
2929
import static junit.framework.Assert.assertFalse;
3030
import static junit.framework.Assert.assertNotNull;
31-
import static junit.framework.Assert.assertNull;
3231
import static junit.framework.Assert.assertTrue;
33-
import static junit.framework.Assert.fail;
3432

3533
public class MASAuthorizationCodeFlowTest extends MASStartTestBase {
3634

mas-foundation/src/androidTest/java/com/ca/mas/foundation/MASClientCredentialTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import com.ca.mas.core.policy.exceptions.InvalidClientCredentialException;
2020
import com.ca.mas.core.registration.RegistrationServerException;
2121
import com.ca.mas.foundation.auth.MASAuthenticationProviders;
22-
import com.squareup.okhttp.mockwebserver.MockResponse;
23-
import com.squareup.okhttp.mockwebserver.RecordedRequest;
2422

2523
import junit.framework.Assert;
2624

@@ -34,6 +32,9 @@
3432
import java.util.concurrent.ExecutionException;
3533
import java.util.concurrent.TimeoutException;
3634

35+
import okhttp3.mockwebserver.MockResponse;
36+
import okhttp3.mockwebserver.RecordedRequest;
37+
3738
import static junit.framework.Assert.assertEquals;
3839
import static junit.framework.Assert.assertNotNull;
3940
import static junit.framework.Assert.assertNull;

0 commit comments

Comments
 (0)