This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Update driver config #734
Merged
darroyocazorla
merged 4 commits into
Stratio:master
from
pfcoperez:update_driver_config
Oct 11, 2016
Merged
Update driver config #734
darroyocazorla
merged 4 commits into
Stratio:master
from
pfcoperez:update_driver_config
Oct 11, 2016
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes Unknown when pulling b222bcc on pfcoperez:update_driver_config into * on Stratio:master*. |
pfcoperez
force-pushed
the
update_driver_config
branch
from
October 11, 2016 12:03
b222bcc
to
5c7c6c1
Compare
pfcoperez
force-pushed
the
update_driver_config
branch
from
October 11, 2016 12:16
5c7c6c1
to
90c309f
Compare
darroyocazorla
approved these changes
Oct 11, 2016
jjlopezm
approved these changes
Oct 11, 2016
Changes Unknown when pulling 90c309f on pfcoperez:update_driver_config into * on Stratio:master*. |
pfcoperez
force-pushed
the
update_driver_config
branch
from
October 11, 2016 15:58
88fe18d
to
2f8a757
Compare
pmadrigal
added a commit
that referenced
this pull request
Oct 13, 2016
* separate driver API from its implementation * optimize imports * minor changes * client http skeleton * fix wrong if statement to decide if the driver is http * Http endpoint (#662) * First successful attemps to serve queries through HTTP * json4s row & row with schema serializer-deserializer * json4s CommandSerializer * json4s SQLResult serializer. * Changed json4s StructType serializer in otder to return nested json objects instead their string representations. * Asynchronous JSON results served by the HTTP query endpoint. * minor changes * use crossdata common serializer * add TODOs * move akka http json4s to common * restore struct type deserializer * comment unfinished driver methods to make the project compile * refactor dependencies to make core depends on common * Fixed json4-jackson dependency version conflict * Code & comments cleaning * Removed requester from the identifier of tasks as session id & query id fully determine a job. * minor changes * Typo fix * Sessions keep alive end point * Added session management commands to Command serializer * First working with session http server * Bug fix, When a session is not found and this way an error result is returned, it should be wrapped by a SQLReplay object * Now, it is possible to answer to commands requireing no response. `CloseSessionCommand` is the first of its kind. * Improve SQLResponse error management. * Removed SQLResult wrong constraint at de-serializarion * End to End http communication using HTTP driver. * Changed default driver implementation (Cluster client) to HTTP implementation * Row arrays are now de-serialized as Scala's wrapped arrays. * Unfinished HTTP request for cluster state query * Added sorted set serializer so it is now possible to serialize ClusterMemberState * Added dual session generation interface: ClusterClient/HTTP * Simplification of the way driver underlying technology is setted * Dual driver tests (throught ClusterClient & HTTP). * Base and licenses * First server version * Client configuration * Client with configuration * Certificates * Licenses * Invalid TLS certificate detected * Certification tests * Better traces on exceptions * Added to Crossdata shell options * TLS Test changes according to latest adavances in the feature/akkaHttp branch * Certificate to localhost * Certificate to localhost * Encapsulation for KeyStore * Corrections by @pfcoperez. Thank yougit add .! * Http polishing (#714) * Only recoverable errors should be managed by the SQL result. * Removed duplicated serializer. * Extracted fields label to a constants object * Added FiniteDurationSerialized and use it to cover all SQLCommand serializtion cases. * Improved code readability * Fixed bug which kept session beacons open after session closing failures. * Repackaged and simplified TLSInvalidAuthException * Bug Fix, In query cancellation at server * Improved code re-utilization and comments * Added Java compatible Driver factories' getters * [CROSSDATA] [SHELL] Argument added for using http driver * License header added * Minor change * Compilation error fixed * Update TLSAuthInvalidCertificateIT.scala * Update TLSAuthValidCertificateIT.scala * [CROSSDATA-693] Fix session provider configuration: core-config is not being read (#715) * allow to set security manager by env_var * [security-manager] fix allTableResources name * fix session provider config bug: core config is not being read * HTTP Cancellation (#725) * Cancel query command serializer * Added debugging UDF aimed to delay queries executions by an arbitrary time interval. * Bug Fix: Right cancellation management at server side. * Improved query cancellation interface & implementation for HTTP Driver. * Added RequestId to the path in order to for separated low level streams as request servers. * Ignored cancellation tests * CHANGELOG updated. * make request execution timeout configurable (#723) * keep Authentication private (#721) * [CROSSDATA-672] Allow (and ignore) columns in create view * [CROSSDATA-672][testsAT]Remove ignore aspect from acceptance test (#727) * [CROSSDATA-692] Fix cache commands required permissions (#718) * [CROSSDATA-692][Test] Check basic operations permissions (#728) * HTTP Config refactor and clusterization under the same group. (#731) Now, host and port will be the same no matter whether HTTPS is enable or not. * [JENKINS] Remove Spark from IT Services (#729) * [CROSSDATA-554] ServiceDiscovery to other class (#730) * Update driver config (#734) * Added HTTP host-port setter, udpated Driver labels object * Added driver factory methods receiving HTTP host & port. * Set `CROSSDATA_SERVER_CONFIG_HTTP_SERVER_PORT` when external (to PaaS) requests are served through HTTP/S * first iteration of isSupported implemented * test query go through native buildscan
pmadrigal
added a commit
that referenced
this pull request
Oct 27, 2016
* separate driver API from its implementation * optimize imports * minor changes * client http skeleton * fix wrong if statement to decide if the driver is http * Http endpoint (#662) * First successful attemps to serve queries through HTTP * json4s row & row with schema serializer-deserializer * json4s CommandSerializer * json4s SQLResult serializer. * Changed json4s StructType serializer in otder to return nested json objects instead their string representations. * Asynchronous JSON results served by the HTTP query endpoint. * minor changes * use crossdata common serializer * add TODOs * move akka http json4s to common * restore struct type deserializer * comment unfinished driver methods to make the project compile * refactor dependencies to make core depends on common * Fixed json4-jackson dependency version conflict * Code & comments cleaning * Removed requester from the identifier of tasks as session id & query id fully determine a job. * minor changes * Typo fix * Sessions keep alive end point * Added session management commands to Command serializer * First working with session http server * Bug fix, When a session is not found and this way an error result is returned, it should be wrapped by a SQLReplay object * Now, it is possible to answer to commands requireing no response. `CloseSessionCommand` is the first of its kind. * Improve SQLResponse error management. * Removed SQLResult wrong constraint at de-serializarion * End to End http communication using HTTP driver. * Changed default driver implementation (Cluster client) to HTTP implementation * Row arrays are now de-serialized as Scala's wrapped arrays. * Unfinished HTTP request for cluster state query * Added sorted set serializer so it is now possible to serialize ClusterMemberState * Added dual session generation interface: ClusterClient/HTTP * Simplification of the way driver underlying technology is setted * Dual driver tests (throught ClusterClient & HTTP). * Base and licenses * First server version * Client configuration * Client with configuration * Certificates * Licenses * Invalid TLS certificate detected * Certification tests * Better traces on exceptions * Added to Crossdata shell options * TLS Test changes according to latest adavances in the feature/akkaHttp branch * Certificate to localhost * Certificate to localhost * Encapsulation for KeyStore * Corrections by @pfcoperez. Thank yougit add .! * Http polishing (#714) * Only recoverable errors should be managed by the SQL result. * Removed duplicated serializer. * Extracted fields label to a constants object * Added FiniteDurationSerialized and use it to cover all SQLCommand serializtion cases. * Improved code readability * Fixed bug which kept session beacons open after session closing failures. * Repackaged and simplified TLSInvalidAuthException * Bug Fix, In query cancellation at server * Improved code re-utilization and comments * Added Java compatible Driver factories' getters * [CROSSDATA] [SHELL] Argument added for using http driver * License header added * Minor change * Compilation error fixed * Update TLSAuthInvalidCertificateIT.scala * Update TLSAuthValidCertificateIT.scala * [CROSSDATA-693] Fix session provider configuration: core-config is not being read (#715) * allow to set security manager by env_var * [security-manager] fix allTableResources name * fix session provider config bug: core config is not being read * HTTP Cancellation (#725) * Cancel query command serializer * Added debugging UDF aimed to delay queries executions by an arbitrary time interval. * Bug Fix: Right cancellation management at server side. * Improved query cancellation interface & implementation for HTTP Driver. * Added RequestId to the path in order to for separated low level streams as request servers. * Ignored cancellation tests * CHANGELOG updated. * make request execution timeout configurable (#723) * keep Authentication private (#721) * [CROSSDATA-672] Allow (and ignore) columns in create view * [CROSSDATA-672][testsAT]Remove ignore aspect from acceptance test (#727) * [CROSSDATA-692] Fix cache commands required permissions (#718) * [CROSSDATA-692][Test] Check basic operations permissions (#728) * HTTP Config refactor and clusterization under the same group. (#731) Now, host and port will be the same no matter whether HTTPS is enable or not. * [JENKINS] Remove Spark from IT Services (#729) * [CROSSDATA-554] ServiceDiscovery to other class (#730) * Update driver config (#734) * Added HTTP host-port setter, udpated Driver labels object * Added driver factory methods receiving HTTP host & port. * Set `CROSSDATA_SERVER_CONFIG_HTTP_SERVER_PORT` when external (to PaaS) requests are served through HTTP/S * Fix docker entry point to enable akka http (#738) * fix docker entryPoint to enable akka http * fix missing HAPROXY_0_PORT * [JAVA DRIVER][API] Add akka http constructors (#741) * sync application configuration with new reference options * [java driver] add http constructors * fix reference conflicts (#742) * Fix shell arguments (#743) * Add security.manager.enabled configuration (#744) * server should not run if the security manager is enabled and fails while initializing * [RELEASE] Prepare for next development iteration * Fix problem with count distinct * Test with qualified filter * Reformat license * Added to driverConf the methods for SSL (#749) * Reformat license to Apache Spark license * native buildScan added * some native test added * method created to convert SQL type to sparkSQL type * postgresql query processor created * commented code deleted * AND & OR filters modified * test IT for native query with filters * [CROSSDATA-717] Support cross join statements (#748) * [CROSSDATA-807] Create table if not exists (#752) * Tests and if not exists * Using other name * Fixed test * Added timeout for shell (#751) * Removed entries that are not used (#746) * [CROSSDATA-729] Tests for lack of support for subqueries in filter (#750) (#753) * TODO and unnecessary log deleted * crossdata version updated in postgresql pom
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PRs improve HTTP Driver Java compatibility by including new factory methods & config helpers for setting HTTP host & port.