Define guoi cloud microservice grpc api :
- authcow
- cms
- gis
- hello : hello sample api
- party
- shoppie
- common : is a share library for all above api projects
- Refer to Google API Design Guide
- Refer to Google real life example servicemanager.proto
- And local copy of Google real life example servicemanager.proto
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
https://jitpack.io/com/github/conanchen/guoi-micro-apis/master-SNAPSHOT/build.log
Build artifacts:
com.github.conanchen.guoi-micro-apis:cms-article-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:party-personemployee-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:party-org8n-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:authcow-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:shopie-shop-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:shopie-catalog-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:gis-asset-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:party-personhealth-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:cms-articlecomment-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:gis-geo-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:party-personsocial-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:shopie-order-grpc-java:master-1a87686494-1
com.github.conanchen.guoi-micro-apis:party-personevent-grpc-java:master-1a87686494-1
dependencies {
compile 'com.github.conanchen.guoi-micro-apis:authcow-grpc-java:master-SNAPSHOT'
compile 'com.github.conanchen.guoi-micro-apis:gis-asset-grpc-java:master-SNAPSHOT'
}
You can also build snapshots on each commit if you add GitHub Webhooks.
To add, head to repository Settings -> Webhooks & Services -> Add webhook.
Webhook URL: https://jitpack.io/api/webhooks
Content type: application/json
The webhook will trigger a build for branches that you have previously used with JitPack. So make sure you have requested master-SNAPSHOT from JitPack before adding a webhook.