Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Cherrypick with branch 1.7 for tests #753

Merged
merged 3 commits into from
Oct 26, 2016

Conversation

pianista215
Copy link
Member

Description

Tests added for alias

Testing

  • Unit, integration tests

Documentation

  • Changelog update
  • Documentation link

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 49.238% when pulling a302eeb on pianista215:cherrypick_test into e648958 on Stratio:master.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5ccb036 on pianista215:cherrypick_test into * on Stratio:master*.

@darroyocazorla darroyocazorla merged commit 07dcbff into Stratio:master Oct 26, 2016
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
mafernandez-stratio added a commit that referenced this pull request Nov 2, 2016
* Removed entries that are not used (#746)

* [CROSSDATA-729] Tests for lack of support for subqueries in filter (#750) (#753)

* Updated commons and curator (#759)

* Updated commons and curator

* Changelog

* Updated the jenkins.yml with Zookeeper 3.5.1

* Updated jenkins with Zookeeper

* [CROSSDATA-686][testsAT]Added tests for count distinct and crossjoin (#761)

* [CROSSDATA-686][testsAT]Added tests for count distinct and crossjoin

* ES_HOST updated to ES_NODES (#755)

ES_HOST is deprecated

* [CROSSDATA-666] HTTP stream response (#758)

* Added streamed successful results and their reserializers

* Streamed SQLResult: Non-tested

* Completed server SQL response adaptation to streamed response.

* HTTP Client - DRAFT - streamed response retreival

* Completed succesful streamed result.

* Fixed serialization test

* Improved error management

* Fix: No-SQL commands response should be delivered in a HTTP.OK response

* [CROSSDATA-808] Fix Map<Timestamp, String> serialization (#760)

* fix 'MapType' serialization: serialize any kind of key supported by spark appart from string

* Merge Fix
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.

4 participants