org.brutusin:rpc-repo

Functional testing module for Brutusin-RPC

License

License

GroupId

GroupId

org.brutusin
ArtifactId

ArtifactId

rpc-repo
Last Version

Last Version

1.9.2
Release Date

Release Date

Type

Type

jar
Description

Description

org.brutusin:rpc-repo
Functional testing module for Brutusin-RPC

Download rpc-repo

How to add to project

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

Dependencies

provided (1)

Group / Artifact Type Version
org.brutusin : rpc-api jar 1.9.2

Project Modules

There are no modules declared in this project.

Brutusin-RPC Hex.pm Build Status Maven Central Latest Version

Brutusin-RPC shiny logo

JEE web framework for creating self-descriptive JSON-RPC microservices and single-page applications with minimal effort.

Features

  • JSON-RPC 2.0 over HTTP
  • JSON-RPC 2.0 over websockets
  • Messaging (publish/subscribe) over websockets
  • Java & Javascript client API
  • Builtin descriptive services and functional testing module
  • Arbitrary complex input and output description based on JSON Schema
  • Spring-security integration
  • Embedded server runtimes

Full Documentation

See the Wiki for full documentation, examples, operational details and other information.

Quick start. Code and test!

Run this java application:

import org.brutusin.rpc.Server;
import org.brutusin.rpc.websocket.WebsocketAction;

public class HelloAction extends WebsocketAction<String, String> {

    @Override
    public String execute(String input) throws Exception {
        return "Hello " + input + "!";
    }

    public static void main(String[] args) throws Exception {
        Server.test(new HelloAction());
    }
}

and automatically your browser will be open with a functional testing client for the newly created service:

Service testing client

Live demos

Support, bugs and requests

https://github.com/brutusin/Brutusin-RPC/issues

Authors

Contributions are always welcome and greatly appreciated! Just fork, and send me a pull request.

License

Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

org.brutusin

brutusin.org

Best friendly software libraries. In loving memory of Brutus

Versions

Version
1.9.2
1.9.1
1.9.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.6
1.6.5
1.6.4
1.6.3
1.6.1
1.6.0
1.5.2
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.0
1.0.1
1.0.0