예제 #1
0
 def test_stop(self):
     client = ApolloClient()
     client.init_with_conf()
     print client.config_server_url
     client.start(namespace="mongodb.yaml", func=update_oncallback)
     client.stop()
예제 #2
0
 def test_start3(self):
     client = ApolloClient()
     client.init_with_conf()
     client.start(namespace="redis1.json", func=update_oncallback)
예제 #3
0
 def test_start4(self):
     client = ApolloClient()
     client.init_with_conf()
     client.start(namespace="mongodb1.yaml", func=update_oncallback)
예제 #4
0
 def test_start2(self):
     client = ApolloClient()
     client.init_with_conf()
     client.start(func=update_oncallback)