Closed slaskawi closed 6 years ago
@rcernich @goldmann @osnipso @ryanemerson PTAL
@slaskawi For the mysql and postgres templates we need to add an option for the user to set the "REST_STORE_AS_STRING" parameter as part of CLOUD-2395. Are you ok to add this as part of this PR? Or shall I just issue a new PR once this has been merged?
@ryanemerson Yeah, let's add this in this PR... I'll update it in a minute. Stay tuned...
@ryanemerson Added changes we discussion on IM.
Thanks @slaskawi, LGTM.
@ryanemerson Do we really need "REST_STORE_AS_STRING" parameter in templates? Templates itself will create whole new database with empty table to which Data Grid will connect to. So ensuring db backward compatibility in this place seem inappropriate.
@Crumby The issue this is trying to resolve is based upon your "Steps to reproduce" section in CLOUD-2395. Which I was thinking was a template issue, but I guess in that scenario you are simply changing the image not the template.
@ryanemerson Correct.
Maybe we should remove that commit after all. @slaskawi Any thoughts? and sorry for the unnecessary effort
@Crumby @ryanemerson I guess @Crumby is right about installing a fresh DB in the template. Perhaps we should remove CLOUD-2395 JDG 7.2 to 7.1 compatibility settings
commit from this PR and make sure this setting is properly documented in some kind of upgrade guide or release notes? If you both agree, I'll update the PR.
A note to myself - we should use https://issues.jboss.org/browse/CLOUD-2389 JIRA for templates.
I think it would be better to collocate these with the image source. Eventually, we will be migrating all the templates into product specific repositories. This has already started for JDV and business automation, e.g. https://github.com/jboss-container-images/jboss-datavirt-6-openshift-image/tree/datavirt64-dev/resources/openshift
@rcernich Since we are quite late in the image build loop, may I propose to push them here for now and create a ticket (1) for migrating them to JDG repo in Spring 19? I don't want to rush this too much as I'm pretty sure some OpenShift installer and/or OpenShift Online scripts for deploying templates will need to be updated as well.
(1) May I ask you to add this to Sprint 19 during a planning/grooming session https://issues.jboss.org/browse/CLOUD-2571
Closing in favor of https://github.com/jboss-openshift/application-templates/pull/456
@slaskawi putting them in the jdg repo gives you more control over this. Also, everything defined in this project needs to move through cloud enablement sprints and any exceptions may potentially affect other product releases (i.e. require more coordination, hence being part of the ce sprints).
Regarding the OSO and OCP installers, you will need to submit PRs to the appropriate repositories (another reason for separating these, as you won't be tied to releases of application-templates).
https://issues.jboss.org/browse/CLOUD-2467