package
0.0.4
Repository: https://github.com/bhojpur/api.git
Documentation: pkg.go.dev

# README

Bhojpur API - Distributed Computing Framework

The core library is a Bhojpur.NET Platform application programming interface for building high-performance, web-scale applications or services. It is being applied by many core components to expose service capabilities within the framework.

packagesdescription
commoncommon protobuf definitions that are imported by multiple packages
internalsgRPC and protobuf definitions, which is used for appication internal
runtimeapplication and callback services and its associated protobuf messages
operatorapplication operator gRPC service
placementapplicaion placement service
sentryapplication sentry for CA service

Client-side Protocol Buffer Generation

The client-side application programming interface is used to connect to core services provided by the Bhojpur.NET Platform ecosystem.

  1. Install protoc version: v3.14.0

  2. Install protoc-gen-go and protoc-gen-go-grpc

$ make init-proto
  1. Generate gRPC protocol buffer Clients
$ make gen-proto

Server-side Protocol Buffer Generation

The server-side application programming interfaces are used to implement to various core services of the Bhojpur.NET Platform. The protocol buffer definitions are open to allows alternatives. The Bhojpur Application runtime implements the server-side to support a cloud-native distributed computing platform.

Update E2E Test Apps

Whenever there are breaking changes in the .proto files, we need to update the E2E test applications to use the correct version of Bhojpur Application runtime and its dependencies. It could be done by navigating to the tests folder and running the commands.

# Use the last commit of Bhojpur APIs and Applications
$ ./update_testapps_dependencies.sh be08e5520173beb93e5d5f047dbde405e78db658

Note: On Windows, use the MingW tools to execute the bash script

Check in all the go.mod files for the test applications that have now been modified to point to the latest Bhojpur Application version.

# Packages

No description provided by the author

# Variables

RuntimeAPIVersion represents the version for the Bhojpur Application runtime API.

# Structs

Metadata representa information about sidecar.
MetadataActiveActorsCount contain actorType and count of actors each type has.