lightblue-core: com.redhat.lightblue|lightblue-core-config

Lightblue Core components

License

License

Categories

Categories

config Application Layer Libs Configuration
GroupId

GroupId

com.redhat.lightblue
ArtifactId

ArtifactId

lightblue-core-config
Last Version

Last Version

2.17.0
Release Date

Release Date

Type

Type

jar
Description

Description

lightblue-core: com.redhat.lightblue|lightblue-core-config
Lightblue Core components

Download lightblue-core-config

How to add to project

<!-- https://jarcasting.com/artifacts/com.redhat.lightblue/lightblue-core-config/ -->
<dependency>
    <groupId>com.redhat.lightblue</groupId>
    <artifactId>lightblue-core-config</artifactId>
    <version>2.17.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.redhat.lightblue/lightblue-core-config/
implementation 'com.redhat.lightblue:lightblue-core-config:2.17.0'
// https://jarcasting.com/artifacts/com.redhat.lightblue/lightblue-core-config/
implementation ("com.redhat.lightblue:lightblue-core-config:2.17.0")
'com.redhat.lightblue:lightblue-core-config:jar:2.17.0'
<dependency org="com.redhat.lightblue" name="lightblue-core-config" rev="2.17.0">
  <artifact name="lightblue-core-config" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.redhat.lightblue', module='lightblue-core-config', version='2.17.0')
)
libraryDependencies += "com.redhat.lightblue" % "lightblue-core-config" % "2.17.0"
[com.redhat.lightblue/lightblue-core-config "2.17.0"]

Dependencies

compile (10)

Group / Artifact Type Version
com.redhat.lightblue : lightblue-core-metadata jar 2.17.0
com.redhat.lightblue : lightblue-core-util jar 2.17.0
com.redhat.lightblue : lightblue-core-api jar 2.17.0
com.redhat.lightblue : lightblue-core-query-api jar 2.17.0
com.redhat.lightblue : lightblue-core-crud jar 2.17.0
com.redhat.lightblue : lightblue-core-extensions jar 2.17.0
com.fasterxml.jackson.core : jackson-databind jar 2.9.8
com.github.fge : json-schema-validator jar 2.2.6
org.slf4j : slf4j-api jar 1.7.7
io.reactivex : rxjava jar 1.0.7

test (2)

Group / Artifact Type Version
org.slf4j : slf4j-simple jar 1.7.7
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Stories in Ready

Books!

lightblue

Cloud focused data services with dynamic querying, versioned schemas, and robust security.

lightblue architecture

Why lightblue?

Developing enterprise services for access to data (CRUD) can be deceptively simple. Just write something that gives access to the data you need. Done! The challenge is how do to deal with growth over time and not replicate the data access layer for every component.

Why is it so hard to add a new field?

  • Adding a field may break backwards compatibility for clients of a service.
  • Updating all service clients is not easy to schedule.
  • Adding new APIs on the service solves the above problems but leads to sprawling APIs and inconsistency.

Can we move our data to MongoDB?

  • Migrating from one type of tech to another is not trivial, such as RDBMS to NoSQL.
  • Moving some proprietary database technologies outside of a traditional datastore can be very costly.
  • Changes in underlying datastore will lead to optimized ways accessing the data. This changes APIs!

Why is Information Security so concerned with moving to a cloud provider?

  • When you control your data and application tier hardware it is easy to be lax with security.
  • Moving data and applications off of hardware you control requires robust security.
  • Enabling the move to public API access to even sensitive data requires a lot of rigor.

Do more with less!

  • IT budgets are shrinking while business demands continue to rise. Any place cost can be reduced relative to gains is great!

How does lightblue benefit developers?

One of the time sinks for developers is adding new features for clients of their software. To address this for data access, lightblue provides a robust and very capable API, supports a growing number of datastores, and enables changes to data models without impacting existing clients through the use of versioned metadata.

Robust API

The REST API of lightblue is designed to do everything a client could want. There are some key points that the API addresses:

  • Query: a very rich query language
  • Projection: return only the data a client wants
  • Bulk Operations: ability execute CRUD operations against many records or entire collections

Datastore Agnostic

Clients do not care where data is stored as long as it is available and secure. With lightblue we have controller implementations for:

  • MongoDB (1.9.0 and higher)
  • RDBMS (ANSI SQL92)

Not seeing a contoller you need? We welcome new implementations and contributions in general! From opening a request for enhancement to writing code, your ideas and help are greatly appricated.

Versioned Metadata

All data in lightblue is controlled by its metadata. Think of this as all the DDL for a table in a relational database.
A specific version of this metadata provides a view of the stored data. You can have many versions of metadata active at a time, providing different clients with different views of this data. Key points to remember:

  • all data structures are captured as metadata
  • each data stucture can have multiple versions active at a time
  • each client deals with data of a specific version
  • clients using different versions are seeing the same data, just viewed through a different window

<insert example, something simple that anybody can relate to>

How does lightblue benefit operations?

One of the challenges with maintaining enterprise applications is ensuring they are always on. When any change to a data structure requires application deployments it requires operations resources and can require outages to execute. With lightblue any changes to a data structure is simply a change to metadata.

  • metadata updates are not software changes
  • metadata updates are guarenteed backwards compatible

Example workflow to update a single field without lightblue: Slow

Example workflow to update a single field with lightblue: Fast

Some other benefits beyond simply reducing operations overhead are:

  • lightblue is designed to be deployed anywhere
  • lightblue employes a flexible component architecture that enables components to be deployed and scaled independently
  • lightblue is built to be both latency and fault tollerant
  • lightblue works with your preference of authentication and authorization

What about support and development tools?

If lightblue enables data access across many datasources and technologies we also need to provide tools to support that stack! Enter the management applications:

  • Metadata Management Application
  • Data Management Application

Lightblue Applications

Each of the applications provides access to the corresponding service layer. The point of them is provide a nicer interface to the service layer without having to deal with the service directly. Each application can be secured independent of the service tier, as noted in the diagram.

See lightblue in action!

  • Deploy lightblue on OpenShift: openshift-lightblue-all
  • Deploy lightblue with basic-auth:
  • Deploy lightblue with SAML 2.0:

License

The license of lightblue is GPLv3. See LICENSE in root of project for the full text.

Dependencies

Dependency Why License
Jackson Java library for processing JSON documents. Use in complicated cases where processing is required on the JSON document. Apache License, Version 2.0
JSONassert Used in unit tests to compare JSON documents before and after processing. Useful for verifying parsing and type conversions (JSON -> Java -> JSON for example) Apache License, Version 2.0
json-schema-validator Validation of JSON documents against a JSON schema. Similar to XML Schema validation. LGPLv3 or later
Flapdoodle Embedded MongoDB In memory MongoDB used in unit tests to test against a real database. Apache License, Version 2.0
mongo-java-driver MongoDB driver for Java. Used for all interactions with MongoDB from Java. Apache License, Version 2.0
pyresttest Python utility for testing and benchmarking RESTful services. Apache License, Version 2.0
com.redhat.lightblue

Lightblue Platform

Versions

Version
2.17.0
2.16.0
2.15.0
2.14.0
2.13.0
2.12.0
2.11.0
2.10.0
2.9.0
2.8.0
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
1.8.1
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0