SonarQube is the leading tool for continuously inspecting the Code Quality and Security of your codebases
and guiding development teams during Code Reviews.
Please follow the steps to configure the SonarQube with your Linux local environment.
Open your VS-Code, and install the SonarLint extension.
.env.configfile, and process it as environment variables into
Are there any applications running without depending on environment variables? I don’t think so — Environment based configurations are an essential requirement when you deal with one or more environments.
How many environments do you have right now for your application? Usually, most of us will have a development environment, staging environment, and production environment. So you have to have the same or different environment variables separately for these environments. Usually, we use different sets of credentials, URLs, and other secrets to the production environment.
Let me discuss more about Node.js applications here, So how do you pass environment variables…
I am very excited to work with OpenMRS once again through this year Google Summer of Code(GSoC). Yes, I was selected to work on a project called Location Based access control in OpenMRS under the guidance of Daniel Kayiwa.
OpenMRS is an open source platform which enables the design of a customized medical records system without any of the software development experience (although it required medical and system’s analysis knowledge to use the system). OpenMRS is also a community of people working to apply health information technologies to solve problems, primarily in resource-poor environments.
OpenMRS Core is the baseline of…
Now the time to add more locations restrictions to the OpenMRS services and Metadata. OpenMRS Service methods are directly accessing the data access object(DAO) to get from the database. So I wanted to add the location restrictions to the following service's methods as the first step,
Yes, now the time to say Goodbye to the location selector from the OpenMRS Login screen. Just log in with your login credentials such as username and password only!
The actual OpenMRS login page contains the location selector with the login credentials section to assign the users to the location during the login. So the user can select any location from the location selector to enter the OpenMRS. The location will be stored in the session and will be used in the further activities.
Now, I have added the solution to assign the users for a location through the location…
Week 10[ July 17, 2018 — July 23, 2018]
Assigning the Location to the patient almost done and it’s working as expected. So as the next milestone, I have started to work on assigning the location to the users during the registration process.
Users can be registered from the Manage Accounts page in the OpenMRS Administration page. So there should be a location selector to assign the locations during the registration. Since the location based access control is a separate module from others, I can’t make any direct changes in the Register New User dashboard. …
Week 9 [ July 10, 2018 — July 16, 2018]
According to the Google Summer of Code 2018, Last week was the second evaluations period. So we all need to complete that evaluation within the end of that week to pass the Google Summer of Code program.
Along with the OpenMRS, I need to prepare a Video Presentation which carries the project information and demonstrations of my project. Have a look at my video presentations to get an abstract view of my GSoC project :-)
Last week, I faced an issue with the Daemon threads in OpenMRS. There are…
I have successfully completed the following tasks and the pull requests were merged with the main repository.
And started to work on LBAC-5 : Allow to edit the patient’s locations through the patient dashboard. The user can assign the locations to the patient through the patient registration dashboard. Since there is no way to edit the patient location directly. So we decided to provide an action method which can be triggered from the patient dashboard to edit the patient location.
There will be…
Week 7 [Jun 26, 2018 — July 02, 2018]
While working on assigning the locations for the users, there was a problem with adding the location attributes for existing users who haven’t location attribute. So I need to provide a way to assign the locations for existing users.
No one can view the patients who haven’t location attribute since I have added the AOP advise to getPatients() base method. So I need to add some ways to provide a solution to assign the location attributes for existing users.
I have discussed some ideas with my mentor to address this issue…
Week 6 [June 19, 2018 — June 25, 2018]
After a very deep and large code review on my pull request, I was able to conclude my works on Assigning Locations for Patients task.
Every day, My mentor provides some new comments and reviews for my changes and helped me a lot to make a clean code. Actually, we spent around two days to take a decision about a method name as well. So I wonder about the code quality and cleanliness of this module. I was able to learn some new ideas and techniques through this large code review…
Software Engineer @ Sysco Labs, Google Summer of Code Intern @ OpenMRS