summaryrefslogtreecommitdiffstats
path: root/msb2pilot
AgeCommit message (Collapse)AuthorFilesLines
2018-08-07add a test rest apiLvbo1635-6/+64
Issue-ID: MSB-271 Change-Id: Ic3476a98d66ad285f400e7bbdc6e8021be50e980 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06delete all rulesLvbo1631-0/+28
delete all routerules if the service array from consul is empty Issue-ID: MSB-261 Change-Id: I6c8b31e42d5c7d0d4403fb2851f9f7bd00707925 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06udpate pilot by consul dataLvbo1631-1/+16
Issue-ID: MSB-262 Change-Id: Ife9e7ab2f4678286684d4c6552870c98b0ac40c5 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06add ut from create routeruleLvbo1631-0/+108
Issue-ID: MSB-266 Change-Id: Ifbf4782282c56ee53abbcfe53f1dc8811bcd6fae Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06convert msb service to pilot default ruleLvbo1632-0/+109
Issue-ID: MSB-260 Change-Id: I0ae233102f293d2c50c2e4c4a509dd880d0aab15 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06get published services from msbLvbo1632-2/+62
Issue-ID: MSB-263 Change-Id: I3e155fec6e1e68190ad95da064d4d46b921a70b1 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06compare data changeLvbo1631-0/+60
Issue-ID: MSB-259 Change-Id: I390e242b219937bb6fcf59e698506cb96f41e527 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06Support CRUD for k8sLvbo1631-0/+86
Issue-ID: MSB-257 Change-Id: I480b6c2808823652ca810a999fccf254a0b3e317 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-06support set k8s by env variableLvbo1633-2/+83
Issue-ID: MSB-256 Change-Id: Ie4b8cbd8bd1041e4a3fdcc977a0383d2ee4adb01 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-03access k8sLvbo1633-0/+106
Issue-ID: MSB-254 Change-Id: Ic93bfe9a7a6616cffa8175ed3590c0d882ff678b Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02monitor consul data changeLvbo1632-1/+94
Issue-ID: MSB-248 Change-Id: I495adcc4556c017ad42655ffcead957af9a9c106 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02add ut for consul and msb data convertLvbo1631-0/+115
Issue-ID: MSB-251 Change-Id: I7ee51f893ffb7bf17dd14d5a0cabce27ecdd45a3 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02data convertor of consul and msbLvbo1631-0/+117
Issue-ID: MSB-250 Change-Id: I8c0446af0e1954b68d5af1331bd25426ec4e6ea1 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02define msb data structLvbo1631-0/+65
Issue-ID: MSB-249 Change-Id: I4e5cc8ff14f13c315960f3203162b633c4169cdd Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02support config consul by envLvbo1633-1/+45
add env variable 'ConsulAddress' to config consul Issue-ID: MSB-247 Change-Id: I37770d098751fa448199d692166081584106bf3a Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02get data from consulLvbo1631-0/+18
Issue-ID: MSB-243 Change-Id: I00cc63ef47d107c98e8fc9a46f668eae876e7381 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02add ut for consul config infoLvbo1635-6/+77
Issue-ID: MSB-246 Change-Id: I21242b6f83785e4d89bb813456ac23c2ead44968 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-02support setting consul from config fileLvbo1631-1/+43
Issue-ID: MSB-244 Change-Id: I255a737bafd26245f3c484fcbead84b8f8e8b2d6 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-01integrate consulLvbo1631-0/+31
Issue-ID: MSB-242 Change-Id: I7f998220960170f6ac42ecb44b8a22d234ea32af Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-01add ut for log configLvbo1633-7/+100
Issue-ID: MSB-241 Change-Id: I0ee55e16cb5b8bb898c0497356454d2a4ae9e211 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-01support setting log by config fileLvbo1631-1/+77
Issue-ID: MSB-238 Change-Id: I8c1f5af356b430a1a24632b986545f01a67071b8 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-08-01add ut for app settingLvbo1632-1/+105
uts for getConfigPath Issue-ID: MSB-240 Change-Id: I440a29be3fc0d922b5c2a98bafb7787897867c7a Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31method for project's config pathLvbo1631-0/+75
method of get configuration path Issue-ID: MSB-239 Change-Id: I256603c9eed40dafe6ecb7d17b57ab1f586d0f11 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31init log utilLvbo1632-0/+116
init beego log util, define config parameters and init log by default setting. Issue-ID: MSB-237 Change-Id: I203ecf1fc618162be5b244e37c8adcc9976f3cd6 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31add ut for yaml convertorLvbo1631-0/+89
Issue-ID: MSB-236 Change-Id: Ib6899928d7c41b05cdfaae617dd3ab1c41352df2 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31add yaml convertorLvbo1632-1/+50
support yaml string convert Issue-ID: MSB-235 Change-Id: Iddce914d09b6bbe550d417506f1b24f652a8ce70 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31add dependency version control for msb2pilotLvbo1632-0/+68
use go dep tool to manage project dependency. Issue-ID: MSB-234 Change-Id: Id2d4119c8de58a1cceb56b00d44ad138daf7955f Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31add ut for file utilLvbo1631-0/+67
add ut for file util Issue-ID: MSB-233 Change-Id: I5f7271d392943fdec244894b4340ec63cf798e3d Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31add file utilLvbo1631-0/+30
add file util support file reader and writer, adjust gitignore file Issue-ID: MSB-232 Change-Id: Id8744116fa3d243eb7a2f4cd19fd758c59631789 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-07-31init msb2pilot projectLvbo1637-0/+241
init project by beego Issue-ID: MSB-230 Change-Id: Iaf3afb1f8d28e54d61c0bd401737d2604149ff0b Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>