# 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.
packages | description |
---|---|
common | common protobuf definitions that are imported by multiple packages |
internals | gRPC and protobuf definitions, which is used for appication internal |
runtime | application and callback services and its associated protobuf messages |
operator | application operator gRPC service |
placement | applicaion placement service |
sentry | application 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.
-
Install
protoc
version: v3.14.0 -
Install
protoc-gen-go
andprotoc-gen-go-grpc
$ make init-proto
- 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.