WSO2 Internship - I
I spent the first seven days of my internship with orientation. During the orientation, I learned about the company culture, company infrastructure, and harassment policies.
During the orientation, I had some technical sessions with the engineering division of the WSO2. They introduce WSO2 products starting from carbon architecture and walk us through other products such as API Manager, Data Analytics Server, Enterprise Mobility Manager, IoT Server, ESB Server. The engineering team also explains about the advancement in Integration server, which is parallelly developing with ESB- Enterprise Service Bus. At the beginning of the next week, the company members present the available projects and provide me with preferences to choose the project. Based on my preferences, the company assigns me to a specific project to work on during my internship.
My Internship project: Based on my preferences, the company assigned me to the “HL7 Monitoring Solution”. This project belongs to WSO2 Data Analytics Server(DAS) team. My mentors for this project are Mr. Anjana Fernando and Mr. Inosh Goonawardana.
As a starting point of my project, my mentors instruct me to study how DAS works with the help of DAS source code. Also, learn about how Maven, Ant, and other build tools work. I also researched the new features of Java 8 to make better use of when implementing HL7 monitoring solutions.
Next, I study the project’s domain by researching different HL7 monitoring solutions and looking at the carbon-mediation to implement the HL7 monitoring solution. After that, I explore the HAPI library, a Java library for HL7 version 2.
In addition to these, I also had some minor research and study of Apache Spark and Siddhi Query Language used in the DAS Management console. I also researched on H2 Database used in the database design of Carbon products. At the end of the research, I learned that we could use DAS in three phases: reactive, interactive, and batch processing. We use spark for batch processing and Siddhi for real-time or reactive processing. But my project belongs to the interactive category.
Finally, I focus on HL7 deeper with WSO2 ESB, HL7.org, HAPI, and learning new things related to an HL7 data publisher and get a clear Idea on HL7 and My project.
During this period, I face few problems, and next, I will discuss the problem and how I managed to solve them.
Description: When I try to build WSO2 DAS, using
mvn clean install command, the build fails in the first place. To fix this problem, I applied the following solution.
Description: When trying some examples provided in HAPI API, I had an issue with a different version of the HAPI since it recent version(released four years ago from today) version 26, I mainly used version 22, but some of the examples didn’t support version 22, as they don’t contain it.
https://github.com/Amutheezan/HapiTry this is a copied version of original examples provided by the HAPI, for ease of access and “it is hard to get the code in normally, as line numbers also included, I formatted the code and uploaded it into Github”
Note:- Above codes are not mine, :relaxed:
When working with WSO2 ESB 4.8.1, I first download the project from the Github repository and start the server using the script
sh /bin/wso2server.sh. It successfully loads the server, but It doesn’t link to the Management console of ESB. It also produced some warnings to set up the CARBON HOME and mentioned that the particular project requires java 1.6 or 1.7. Then I configured the
JAVA_HOME and set the
PATH environmental variable for Java version 1.8.
Say tuned for the next post.