GSOC 2023: Improving the OpenMRS Developer Experience: Updating the SDK - Updates and Discussion

Yeah, That is great. I think it will make this process simpler.

What do you mean by both?

Could you provide me with some references on how to approach this? How should I add the configuration folder to the server? Also I am getting the following error when Initializer.omod is in the distro.properties file.

[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.6.0-SNAPSHOT:setup (default-cli) on project openmrs-sdk: Failed to setup server: Unable to find/resolve artifact. org.openmrs.module:initializer-omod:jar:2.5.2 was not found in https://mavenrepo.openmrs.org/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of openmrs-repo has elapsed or updates are forced -> [Help 1]
[ERROR]

Should we keep the configuration folder in the resource directory of the maven-plugin module and copy it to the server??

@dkayiwa, @jnsereko should I create a ticket and a draft PR for this??

cc @ibacher

@wikumc create the ticket under the SDK JIRA project.

I created the ticket.

cc: @dkayiwa @jnsereko @ibacher

I created a PR for the ticket: SDK-306: Integrated Micro Frontend Tooling Setup in OpenMRS SDK by wikumChamith · Pull Request #220 · openmrs/openmrs-sdk · GitHub

cc: @dkayiwa @jnsereko @ibacher

i have left some comments.

1 Like

Here is my blog post on the Community Bonding period. GSOC-2023: Community Bonding Period | Wikum Weerakutti

You are meant to create a new post for your GSoC weekly posts(thread) which you will keep updating every week

2 Likes

Here is my blog post for Coding Period-Week 01: GSOC-2023: Coding Week 01 | Wikum Weerakutti

You could find my Coding period-week 02 blog post here: GSOC-2023: Coding Week 02 | Wikum Weerakutti

Hi, I tried to do a release from Bamboo. When I check the Bamboo I saw that SDK - SDK 470: Build result summary - OpenMRS Bamboo is failing. I selected Release to the Maven and I am seeing this error Job: Release to Maven did not start. Could you please assist me with resolving the issue?

cc: @dkayiwa, @ibacher, @jnsereko

I created a new PR to do further enhancement and changes to this commit. Please review this: SDK-306: Integrated Micro Frontend Tooling Setup in OpenMRS SDK - Refactoring by wikumChamith · Pull Request #221 · openmrs/openmrs-sdk · GitHub

cc: @dkayiwa, @ibacher, @jnsereko

As the next step of this project, I think we should transition to using Java 8 to modernize the SDK code base. To ensure a smooth transition I propose the creation of a separate branch on GitHub that specifically supports OpenMRS 1.x, which utilizes Java 7. What do you think ??

1 Like

We should also bump the major version and be sure to document how to use the older version on the Wiki.

I created a ticket for updating the SDK to Java 8.

https://issues.openmrs.org/browse/SDK-307

I created a ticket for the use of lambda expressions and Streams API to modernize the SDK: [SDK-308] Use lambda expressions and Streams API to modernize the SDK - OpenMRS Issues

cc: @dkayiwa, @ibacher, @jnsereko