Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Refactoring v2 #110

Merged
merged 31 commits into from
May 28, 2016
Merged

Refactoring v2 #110

merged 31 commits into from
May 28, 2016

Conversation

Exeu
Copy link
Owner

@Exeu Exeu commented Mar 22, 2016

No description provided.

@Exeu
Copy link
Owner Author

Exeu commented Mar 22, 2016

Build success

*
* @var string
*/
private $requestScheme = "http://webservices.amazon.%s/onca/xml?%s";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to use HTTPS instead of HTTP?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about if you can decide what to use?

e.g. this is set by default to http and you can set it via setter explicit to https.

setScheme('https');

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would probably a good idea. But what about making this secure first by using HTTPS. If the user wants to use HTTP the setter can be used. But I wonder if this makes having the openssl-extension mandatory?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least if the client uses filegetcontents. I will make http as default since this is anyway a server to server communication. if a user want's to use https he can switch it in the request explicit.

@Exeu
Copy link
Owner Author

Exeu commented Mar 22, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Mar 26, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 3, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 3, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 3, 2016

Build success

@Exeu Exeu mentioned this pull request Apr 4, 2016
@Exeu
Copy link
Owner Author

Exeu commented Apr 4, 2016

Switch the API version to 2013-08-01.

@Exeu
Copy link
Owner Author

Exeu commented Apr 4, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 4, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 4, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 4, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 5, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 6, 2016

Build success

@@ -24,13 +24,16 @@
use ApaiIO\Operations\CartCreate;

$conf = new GenericConfiguration();
$client = new \GuzzleHttp\Client();
$request = new \ApaiIO\Request\Rest\Request($client);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would declare the name of the request class into more specific one. The request is some kind a Adaptor for your library and therefore I would choose something like GuzzleRequest or similar.

@Exeu
Copy link
Owner Author

Exeu commented Apr 13, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 13, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented Apr 13, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented May 28, 2016

Build success

@Exeu
Copy link
Owner Author

Exeu commented May 28, 2016

Build success

@Exeu Exeu merged commit 87d70e8 into master May 28, 2016
@Exeu Exeu deleted the refactoring-v2 branch May 28, 2016 20:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants