aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-02Fix registration failure due to improper handling braceshonoluluSatoshi Fujii6-44/+18
mergeIP function did not handle braces '{' properly and JSON structure was broken by the improper string replacement. This change removes mergeIP func and IP address is passed directly to Register and DeRegister functions. Issue-ID: MSB-534 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Change-Id: Icc8a1f00fba5248218d45e4d9476042c5c331004
2020-04-30Release RC1guilinHuabing Zhao1-0/+9
Issue-ID: MSB-462 Pods still run as roo Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: Id6142038867840a32eb1f71f331051d1c4c200d3
2020-04-17Merge "add INFO.yaml"1.2.6Jessica Wagantall1-0/+55
2020-04-16add INFO.yamlHuabing Zhao1-0/+55
Issue-ID: MSB-463 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I095786c8b0e9a055c110af74b7036d6d6096c1a6
2020-04-07Using docker-maven-plugin to generate docker imagezhaohuabing1-3/+113
Using docker-maven-plugin to generate docker image so we can follow self releasing process to create docker release image. Issue-ID: MSB-469 Signed-off-by: zhaohuabing <zhao.huabing@zte.com.cn> Change-Id: I20762f8a2eb93a8f906e839d6e4e3eed9f39e970
2020-03-24update version to 1.2.6Huabing Zhao2-10/+10
Issue-ID: MSB-463 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I27f0b46e8c4c5a7ca83550fff7376c80b41d5078
2020-03-07update alpine base image to the latestHuabing Zhao1-1/+1
Issue-ID: MSB-465 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I91f8fffab79b71c14c87f6cfa857fd6a775e7b0b
2019-04-11Run kube2ms registrator as non-root userHuabing Zhao1-0/+5
Change-Id: I2165e080af7c6027548288432c8437503903ee12 Issue-ID: MSB-322 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
2018-11-08fix typosStanislav Chlebec1-1/+1
Change-Id: I3f56a527a823e97d3bf79c02de9128f98ea9864b Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: AAF-582
2018-06-29Remove juju/ratelimit to avoid LGPL issueHuabing Zhao16-640/+1022
Change-Id: I1bf246a713d07fc9891f23ea85fb40c7864f05ef Issue-ID: OOM-1271 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
2018-03-19make kube2msb use pod secretv1.1.02.0.0-ONAP2.0.0-ONAPFrank A. Zdarsky2-2/+6
Issue-ID: OOM-811 Change-Id: I039b6bcc9a301751ba976b77c0f2cc3b904b8e9c Signed-off-by: Frank A. Zdarsky <fzdarsky@redhat.com>
2018-03-08add ut for init kubeClientLvbo1631-0/+15
cover 63.1% Issue-ID: MSB-168 Change-Id: Ibea46f67584156ea12fd3514baabd957c0161068 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-08add ut for bookkeeperLvbo1633-17/+112
Issue-ID: MSB-167 Change-Id: Ic1e1d2e1ec0347e02369dd76ea1d2bf9a8d40d8e Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for SendPodWorkLvbo1631-0/+21
Issue-ID: MSB-166 Change-Id: I53dce8cf99cbd017672c8778201bb36316c09135 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for SendServiceWorkLvbo1631-0/+23
Issue-ID: MSB-165 Change-Id: I61d11fdf1b4cc9da023b4a0aea23ae098231e289 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for msb deregisterLvbo1631-0/+58
Issue-ID: MSB-172 Change-Id: I42b7617be1b1cf87c6b33ee07321a889f68b7424 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for msb registerLvbo1631-0/+49
Issue-ID: MSB-171 Change-Id: I694b5bbbe6e920d989a1d56ca4466ada61336ca7 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for Annotation2UnitLvbo1631-0/+71
Issue-ID: MSB-170 Change-Id: Ic19d05ee7ba3aa211e16741da4788e5b16b8fd96 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for getKubeMasterUrlLvbo1631-1/+6
add unit test for URL parser which can get k8s URL from start variable Issue-ID: MSB-169 Change-Id: Ifb9e43b5a3a1a16c24ce22b122d23223616e0e7a Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-07add ut for getMsbUrlLvbo1631-0/+63
add ut for the method which get url from start variable Issue-ID: MSB-163 Change-Id: I50e6e01225b532b74b6b7766e8c9da7b9a6e5c9d Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-06add ut for removePod of msbLvbo1631-0/+4
Issue-ID: MSB-176 Change-Id: Iacf002a7ebda635989320a81be83700ec30bcf37 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-06add ut for removeService of msbLvbo1631-0/+68
Issue-ID: MSB-175 Change-Id: I47e35398c8e395f8db36b93301bf6f3cf958aa6c Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-06add ut for addPod of msbLvbo1631-2/+14
Issue-ID: MSB-174 Change-Id: Ib76ac3d7619b5152ac92af35678555a859d5018e Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-06add ut for addService of msbLvbo1631-0/+53
Issue-ID: MSB-173 Change-Id: Ia0b557ec4cb367e8ae111b3c2488e7fa10eeadda Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-06add ut for MergeIPLvbo1631-0/+37
Issue-ID: MSB-177 Change-Id: I057566b6fb83d8d4c06c3e64be603d24cc9fe92f Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-05add ut for updatePod of kubeLvbo1631-2/+40
Issue-ID: MSB-162 Change-Id: Id5f4e818567cb937ea2a9dc5bbe6e6dd081b5025 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-05add ut for remove pod of kubeLvbo1631-0/+29
Issue-ID: MSB-161 Change-Id: I3ac8ceab987a5315ec46d61d1b286d2cbd558e14 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-05add ut for addPod of kubeLvbo1631-0/+58
Issue-ID: MSB-160 Change-Id: Iac5e9310933cbcff9edc8f829840c6219e5658b1 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-05add ut for updateService of kubeworkLvbo1631-0/+31
Issue-ID: MSB-159 Change-Id: I8682d1eb06724451fb707fa980a424156232f82a Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-05add ut for removeService of kubeworkLvbo1631-0/+44
Issue-ID: MSB-158 Change-Id: I7d19999433a77558dbd5bce97771eb8d43be60c7 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-05add ut for addService method of kubeworkLvbo1631-0/+87
Issue-ID: MSB-157 Change-Id: I61502f15df28f90b3dc6f115fe94b8a93fd3a92b Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-03-01Register cluster IP instead of external IPHuabingZhao1-9/+2
Issue-ID: MSB-153 Change-Id: Id8cd23ac0ab30a7467eebc7f59ad9dd28d22f317 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2018-02-28Merge "Add sonar-maven-plugin version"rui hu1-0/+5
2018-02-27Solve pod level service unregistration issueHuabingZhao2-1/+2
Issue-ID: MSB-150 Change-Id: Ib5d761a9f3936edf9121c4497d9f0d7d9f09706f Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2018-02-05Add sonar-maven-plugin versionJessica Wagantall1-0/+5
Use Sonar plugin version 3.2 Change-Id: Ifed3411eb8a117fde019afd790a935ca65154a2c Issue-ID: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-12-22Support https service registrationamsterdamHuabingZhao2-0/+2
Issue-ID: OOM-539 Change-Id: Ifbb95750bd448c375bddf2433ac6ad0b5d642027 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-11-16add timestamp for stagging dockerHuabingZhao1-0/+1
Issue-Id: MSB-95 Change-Id: I72d713811a9aeb0816d8edb5365597453dd405f1 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-11-16Update Kube2MSB image to Amsterdam release versionHuabingZhao1-7/+25
Issue-Id: MSB-95 Change-Id: I1673c7b105c0a0cd60299b41bc50b801b8ee101b Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-10-26Supports token authentication with kubernetsHuabingZhao1-0/+5
Issue-Id: OOM-379 Change-Id: If5457672f29f2567a6773d96985b62ad8cef5d0c Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-10-18Update the yaml for go lib to latestHuabingZhao14-209/+1821
Update yaml for go lib to latest and it's license has been changed to Apache 2. According to the upstream project, the license of go-yaml has been updated to Apache 2:https://github.com/go-yaml/yaml/blob/v2/LICENSE, change the reference code license within oom-registrator repo accordingly. Issue-Id: OOM-365 Change-Id: Idce4bfda96456031a296682b0fb6e663170ec099 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-15Merge "Add path property support"rui hu2-0/+2
2017-09-15Add path property supportHuabingZhao2-0/+2
Issue-Id: OOM-61 Change-Id: Ifde7c3987c41beb49b77556b20e6e2018d52e1aa Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-2/+2
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: I1981c1de89cc3d3c1db02d6b5fc7a18e25371558 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-06fix registrator daily builid jobHuabingZhao1-0/+6
Issue-Id: OOM-266 Change-Id: I2868c16282bcffe0dbc906c875b7d6ab38d46837 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-05Add docker image build scriptHuabingZhao2-0/+57
Issue-Id: OOM-61 Change-Id: I268edc39031a92e4519d762a81a418412da2a2e0 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-04Use maven to build kube2msbHuabingZhao948-1/+578
Issue-Id: OOM-61 Change-Id: Ic7e733c95e28b75b66535b343ae22c893db24531 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-04build scripts for kube2msbHuabingZhao4-0/+102
Issue-Id: OOM-61 Change-Id: I10ca1c1e34957e4b83866848165142b76676f990 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-04restructure the source directoryHuabingZhao943-523/+48
Issue-ID: OOM-61 Change-Id: Ib6f633d517ad197bfdbca59b374cdad2f1ed897e Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-08-31remove kube2consul codesHuabingZhao22-2902/+0
Issue-Id: OOM-61 Change-Id: I4eb076835a051ed6bb3abbdcb90aafdf4d4a7149 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-08-31add vendor packageHuabingZhao934-0/+508239
Issue-Id: OOM-61 Change-Id: I251336e3b711b14f8ae9a8b0bf6055011a1d9bc8 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>