GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ottogiron/jcr-oak-rpc: RPC API based on apache Thrift for Jackrabbit oak

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
jcr-oak-rpc-core
jcr-oak-rpc-core
 
 
jcr-oak-rpc-proxy-server
jcr-oak-rpc-proxy-server
 
 
nodejs
nodejs
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Jackrabbit Oak Thrift RPC API

What is this repository for?

Implementation of RPC API for JackRabbit Oak based on Apache thrift.

Prerrequisites

  • JDK 8
  • Maven
  • MongoDB (For Jackrabbit)

Installation

  • Clone the repository, git clone [email protected]:ottogiron/jcr-oak-rpc.git
  • CD to jcr-oak-rpc and run mvn clean install

Running RPC Service

The service on port 9090 by default. Go into the jcr-oak-rpc/jcr-oak-rpc-proxy-server folder an run mvn spring-boot:run that will start the thrift server.

Example of client for NodeJS

Please Check jcr-oak-rpc-nodejs


  TRoot = require('./TRootService'),
  jcrOakAPI = require('jcr-oak-api');

  var connection = jcrOakAPI.getConnection({
    host: 'localhost',
    port: 9090
  });

  var multiplexer = new  thrift.Multiplexer(),
  var rootService =  multiplexer.createClient("TTreeService",TRoot,conn);

  rootService.getTree('/', function(err, tree) {
   connection.end();
       if(err) { return handleError(res, err); }
       console.log(tree);
    });

Note: Example based in Node's apache thrift 1.x master branch module, 0.9.x branch doesn't support multiplexer.

###Implemented API Check Thrift services definition

  • root.thrift
  • tree.thrift

About

RPC API based on apache Thrift for Jackrabbit oak

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.