Gary,



Is there an existing MySQL docker image on the server which is used to perform 
the CSIT task? If no, would you please help to pull it to the server first? 
Otherwise we have to do it every time before we carry out our CSIT task, which 
is quite time-consuming.




I'm sorry that I can not check it by myself because I don't know how to connect 
to the CSIT server ( and I don't think I have the privilege to access it).




Thanks in advance.




Regards,

Guangrong




















原始邮件



发件人: <gary.i...@huawei.com>
收件人:付光荣10144542
抄送人: <onap-discuss@lists.onap.org>
日 期 :2017年08月16日 01:10
主 题 :RE: RE: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies 
like MySQL during the Building of the Dockers?







Hi Guangrong,


 


For CSIT, I would suggest that you start up the MySQL docker container in your 
setup.sh and pass its IP address to your microservice docker container via an 
environment  variable.



 Thanks,


Gary


 


From: fu.guangr...@zte.com.cn [mailto:fu.guangr...@zte.com.cn] 
 Sent: Tuesday, August 15, 2017 2:14 AM
 To: Gary Wu <gary.i...@huawei.com>
 Cc: onap-discuss@lists.onap.org
 Subject: 答复: RE: [onap-discuss] 答复: [integration][holmes] How to Get 
Dependencies like MySQL during the Building of the Dockers?


 

Thanks for your suggetion, Gary.

 

I have sent an email to the DCAE team to discuss about that. But the solution 
you suggested is specifically for the production environment. For development, 
especially for the CSIT purpose, we need the support  of MySQL to accomplish 
the FT tasks. Could the integration team help to find a way to achieve that?

 

Looking forward to your reply.

 

Best Regards,

Guangrong

 

 

 

 



原始邮件



发件人: <gary.i...@huawei.com>



收件人:付光荣10144542



抄送人: <onap-discuss@lists.onap.org>



日 期 :2017年08月15日 01:09



主 题 :RE: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies like 
MySQL during the Building of the Dockers?




 


Hi Guangrong,


 


It depends on what your MySQL dependency looks like.


 


If your dependency is to store data in a running MySQL instance, it is 
recommended that you run a separate  MySQL container independently from the 
container for  your own microservice, and configure your microservice to 
communicate with that MySQL instance.  For this, you can use the docker 
container provided directly by MySQL: 
https://hub.docker.com/r/mysql/mysql-server/.  You should not run a MySQL 
instance directly within your own microservice docker container.


 


If you have dependencies on MySQL libraries in your code, then it’s recommended 
that you set that up  manually in your Dockerfile configuration scripts.


 


Thanks,


Gary


 


 


 


From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
fu.guangr...@zte.com.cn
 Sent: Sunday, August 13, 2017 5:51 PM
 To: onap-discuss@lists.onap.org
 Subject: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies like 
MySQL during the Building of the Dockers?


 

Hi,

 

I have not heard any response so far. Could anybody please help to answer the 
question or give me any suggestion?

 

Thanks.

 

Guangrong

 

 

 

 



原始邮件



发件人:付光荣10144542



收件人: <onap-discuss@lists.onap.org>



日 期 :2017年08月10日 22:09



主 题 :[integration][holmes] How to Get Dependencies like MySQL during the 
Building of the Dockers?




 

Hi all,

 

While making dockers, we want to integrate MySQL as a part of our components. 
Do we have to pull it directly from the internet or is it stored in some place 
of ONAP so that we could fetch it from within?

 

Thanks.

 

Guangrong
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to