Skip to content

Commit 22ea38b

Browse files
fixed typos and formatting in changelog
1 parent 4952c19 commit 22ea38b

1 file changed

Lines changed: 36 additions & 37 deletions

File tree

README.md

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,10 @@ You do not need to download and build the source to use the SDK but if you want
7171
example customHttpClass= <packagename.customHttpClass>
7272
- The custom HTTP Class must have a three argument constructor which accepts MerchantConfig, DocumentBuilder and LoggerWrapper as argument. Then it should call the constructor of the parent class.
7373
- Build this project using Maven.
74-
a. mvn clean // Cleans the Project
75-
76-
b. mvn install
77-
// Builds the project and creates a jar file of client SDK
78-
// Includes running all unit tests and integration tests
79-
80-
c. mvn test
81-
// Runs unit tests
82-
83-
d. mvn failsafe:integration-test
84-
// Runs unit and integration tests. Note that integration tests require proper setup of test_cybs.properties
74+
- `mvn clean` // Cleans the Project
75+
- `mvn install` // Builds the project and creates a jar file of client SDK; Includes running all unit tests and integration tests
76+
- `mvn test` // Runs unit tests
77+
- `mvn failsafe:integration-test` // Runs unit and integration tests. Note that integration tests require proper setup of `test_cybs.properties`
8578

8679
## Testing the SDK
8780
We have two ways to test -- one is by downloading the zip and using scripts to test; other is using maven tool.
@@ -116,27 +109,33 @@ We have two ways to test -- one is by downloading the zip and using scripts to t
116109

117110
## JKS creation
118111

119-
-To convert the p12 file to JKS follow the steps mentioned below.
112+
- To convert the p12 file to JKS follow the steps mentioned below.
120113
- These commands will take out all the certs from the p12 file. 
121114
1. openssl pkcs12 -in <Merchant_ID>.p12 -nocerts -out <Merchant_ID>.key
122115
2. openssl pkcs12 -in <Merchant_ID>.p12 -clcerts -nokeys -out <Merchant_ID>.crt
123116
3. openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSourceCertAuth.crt
124117
4. openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSource_SJC_US.crt
125118

126-
-Create a new p12. Here Identity.p12 is the new p12 file
127-
-openssl pkcs12 -export -certfile CyberSourceCertAuth.crt -in <Merchant_ID>.crt -inkey <Merchant_ID>.key -out identity.p12 -name "<Merchant_ID>"
128-
129-
-Create JKS from p12 using keytool
130-
-keytool -importkeystore -destkeystore <Your_keystore_name> -deststorepass <your_password> -srckeystore identity.p12 -srcstoretype PKCS12 -srcstorepass <Merchant_ID>
131-
132-
-Now import the CyberSource_SJC_US.crt to your keystore
133-
-keytool -importcert -trustcacerts -file CyberSource_SJC_US.crt -alias CyberSource_SJC_US -keystore <Your_keystore_name>.jks
134-
135-
-List the entries of your keystore
136-
-keytool -list -v -keystore <Your_keystore_name>
119+
- Create a new p12. Here Identity.p12 is the new p12 file
120+
```
121+
openssl pkcs12 -export -certfile CyberSourceCertAuth.crt -in <Merchant_ID>.crt -inkey <Merchant_ID>.key -out identity.p12 -name "<Merchant_ID>"
122+
```
137123

138-
-It should have two entries. The first entry should contain a chain of two certificates - CyberSourceCertAuth and <Merchant_ID> with alias name <Merchant_ID>
139-
-Second entry should be for CyberSource_SJC_US certificate with alias name as CyberSource_SJC_US
124+
- Create JKS from p12 using keytool
125+
```
126+
keytool -importkeystore -destkeystore <Your_keystore_name> -deststorepass <your_password> -srckeystore identity.p12 -srcstoretype PKCS12 -srcstorepass <Merchant_ID>`
127+
```
128+
- Now import the CyberSource_SJC_US.crt to your keystore
129+
```
130+
keytool -importcert -trustcacerts -file CyberSource_SJC_US.crt -alias CyberSource_SJC_US -keystore <Your_keystore_name>.jks`
131+
```
132+
- List the entries of your keystore
133+
```
134+
keytool -list -v -keystore <Your_keystore_name>`
135+
```
136+
- It should have two entries.
137+
- The first entry should contain a chain of two certificates - `CyberSourceCertAuth` and <Merchant_ID> with alias name <Merchant_ID>
138+
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as CyberSource_SJC_US
140139

141140
## Message Level Encryption
142141
CyberSource supports Message Level Encryption (MLE) for Simple Order API. Message level encryption conforms to the SOAP Security 1.0 specification published by the OASIS standards group.
@@ -156,7 +155,7 @@ CyberSource supports Message Level Encryption (MLE) for Simple Order API. Messag
156155
## Retry Pattern
157156

158157
Retry Pattern allows to retry sending a failed request and it will only work with `useHttpClient=true`. `allowRetry` flag enables the retry mechanism.
159-
- Set the value of `allowRetry` parameter to "TRUE/FALSE". Then the system will retry the failed request as many times as configured by the merchant in the config parameter 'numberOfRetries'.
158+
- Set the value of `allowRetry` parameter to "TRUE/FALSE". Then the system will retry the failed request as many times as configured by the merchant in the config parameter 'numberOfRetries'.
160159
- numberOfRetries parameter value should be set between 0 to 5. By default the value for numberOfRetries will be 5. User can set a delay in between the retry attempts.
161160
- Config parameter for this property is 'retryInterval' in `cybs.property` file. The default value for 'retryInterval' parameter is 5 which means a delay of 5 seconds.
162161

@@ -187,39 +186,39 @@ _______________________________
187186
1) Merchant cert to be read from JAVA key store. Flag is added to enable reading cert from Java keystore.
188187
2) Added Custom HttpClient feature. Merchants can use there own http client instead of defaults which comes with SDK.
189188
3) Http Client connection reuse issue.
190-
4) Changed clientLibrary version to 6.2.5, in 6.2.4 release it was missed. So, in 6.2.4 release, clientLibrary version was pointing to 6.2.3.
191-
189+
4) Changed clientLibrary version to 6.2.5; in 6.2.4 release it was missed. So, in 6.2.4 release, clientLibrary version was pointing to 6.2.3.
190+
_______________________________
192191
Version Cybersource-sdk-java 6.2.4(Dec 15, 2016)
193192
_______________________________
194193
1) RetryPattern config for http client.
195194
2) Code review comments.
196195
3) Added timers to log the method execution time.
197196
4) Sample added to support other services.
198-
197+
_______________________________
199198
Version Cybersource-sdk-java 6.2.3(Oct 17, 2016)
200199
_______________________________
201-
1) Fixed performance issue, In case of multiple merchantIDs, p12 was getting loaded for every request.
200+
1) Fixed performance issue; in case of multiple merchantIDs, p12 was getting loaded for every request.
202201
2) p12 will be loaded once per merchantId.
203-
202+
_______________________________
204203
Version Cybersource-sdk-java 6.2.2(Sep 15, 2016)
205204
_______________________________
206205
1)Upgraded 3rd party dependencies jars including wss4j.
207-
206+
_______________________________
208207
Version Cybersource-sdk-java 6.2.1(Aug 4, 2016)
209208
_______________________________
210209
1) AkamaiSureroute config parameter introduced
211210
2) i18n fix for NVP sample.
212-
3) In Sample/cybs.properties file, targetAPIVersion changed to latest 1.129.
213-
211+
3) In `Sample/cybs.properties` file, `targetAPIVersion` changed to latest 1.129.
212+
_______________________________
214213
Version Cybersource-sdk-java 6.2.0(Jul 28, 2016)
215214
_______________________________
216215
1) MLE[Message Level Encryption] is enabled.
217216
2) published zip file with samples and packaged compiled cybersoruce-sdk-java jar file.
218-
3) Bouncycastle jar issue, changed scope from provided to default"scope"
219-
217+
3) `Bouncycastle` jar issue; changed scope from provided to default"scope"
218+
_______________________________
220219
Version Cybersource-sdk-java 6.1.0(Feb 24,2016)
221220
_______________________________
222-
1) SHA256 changes which is required to signed the request with SHA256.
221+
1) SHA256 changes which are required to signed the request with SHA256.
223222

224223
## Documentation
225224
- For more information about CyberSource services, see <http://www.cybersource.com/developers/documentation>.

0 commit comments

Comments
 (0)