Esempio n. 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()
Esempio n. 2
0
 def test_start3(self):
     client = ApolloClient()
     client.init_with_conf()
     client.start(namespace="redis1.json", func=update_oncallback)
Esempio n. 3
0
 def test_start4(self):
     client = ApolloClient()
     client.init_with_conf()
     client.start(namespace="mongodb1.yaml", func=update_oncallback)
Esempio n. 4
0
 def test_start2(self):
     client = ApolloClient()
     client.init_with_conf()
     client.start(func=update_oncallback)