Commit Graph

10 Commits

Author SHA1 Message Date
Ilayaperumal Gopinathan
bd002e4aaf Add code formatting guidelines
Add 'eclipse' folder containing Eclipse code
formatter configuration and instructions how to use
 it.

Update rule for join_wrapped_lines

 - Set to `false`

Resolves #930

Update README

Address review comments
2017-05-15 13:03:45 -04:00
Ilayaperumal Gopinathan
6d53625acd Doc for schema server REST endpoint /schema/format
Resolves #828
2017-02-23 12:07:51 +05:30
Vinicius Carvalho
1558bdf540 List schemas by subject
Fixing code style
2017-02-23 11:02:25 +05:30
Marius Bogoevici
98431a6d25 Remove TestRestTemplate bean definition.
Signed-off-by: Marius Bogoevici <mbogoevici@pivotal.io>
2017-01-04 10:40:31 -05:00
Marius Bogoevici
3d81411f93 Schema deletion additional changes
- fix typo
- Return METHOD_NOT_ALLOWED if schema deletion is disabled
- Tests dirty context to avoid cross-chatter

Signed-off-by: Marius Bogoevici <mbogoevici@pivotal.io>
2016-12-21 17:03:11 -05:00
Ilayaperumal Gopinathan
5d1cef2715 Add support for schema deletion
- Add REST endpoints for schema deletion
   - by subject, format, version
   - by subject
   - by id

 - Add tests

Resolves #716

Update doc
2016-12-21 17:03:02 -05:00
making
6d8cb58bde Fix wrong property for the root path of the schema server 2016-11-23 04:19:42 +09:00
Vinicius Carvalho
18c894689c Fixes for MySQL and Postgresql
Renamed Table from Schema to SCHEMA_REPOSITORY to avoid potential reserved word clashes with some databases

Postgresql GH-696 requires transactional semantics even for reading operations when using Lob columns

Removed dependency to h2 database. A database driver is now explicitly required when running the server

Resolves #696 and #697
2016-11-18 10:50:02 -05:00
Marius Bogoevici
6c9976b77f Fix EntityPackageScanner to property merge the packagesToScan
Fixes #686

Removing unused imports

Simplify the registration process

- rely on EntityScanPackages.register to properly merge registered packages
- add additional tests validating the process
2016-10-31 13:55:58 +05:30
Vinicius Carvalho
4422b21438 Add Avro serialization and schema management support
- Add schema server implementation
- Add schema client abstraction
- Add schema client implementation for own schema registry server
- Add schema client supporting Confluent schema registry
- Add Avro-based message converter supporting a static schema resource
- Add Avro-based message converter with schema evolution support, via
  schema registry client.
- On serialization, the converter register writer schemas with the schema
  registry server and augment the content type of outbound message with
  schema information.
  On deserialization, the reading converter will fetch the schema from the server
  if not available locally.

Use class information if schema is not specified

In the case of SpecificRecord and Reflective readers/writers, the class information can be used instead

Make subtype prefix configurable and shorten the subject

- Subtype prefix is now configurable and subject is the lowercase schema name
- Enhance/correct javadoc

Refine AbstractAvroMessageConverter

- distinguish between writer and reader schema when reader is created

Add schema registry and schema registry client docs
2016-07-31 21:26:36 -04:00