/guoi-micro-apis

guoi-cloud-apis

Apache License 2.0Apache-2.0

Introduction

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

API Design Guide

How to use guo-micro-apis in your JAVA application

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Find the dependencies

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

Step 3. Add Dependencies As Needed To Your build.gradle

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'
}

Building ahead of time for guoi-micro-apis

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.

Pagination