Changes for page Upgrading Build Numbers
Last modified by Erik Bakker on 2024/02/20 16:48
From version 12.1
edited by Erik Bakker
on 2022/08/22 11:52
on 2022/08/22 11:52
Change comment:
There is no comment for this version
To version 9.2
edited by Erik Bakker
on 2022/06/10 12:29
on 2022/06/10 12:29
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - UpgradingBuild Numbers1 +novice-lifecycle-management-cleanup-a-captured-integration - Content
-
... ... @@ -1,99 +1,73 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}} 3 3 ((( 4 -In this microlearning, we will focus on how you canupgradeyourbuild numberswithineMagizconsistentlyandeasily.Knowing howtoupgradeyourbuild numberswillensurethat youwill keepyoureMagiz solutionasup todate aspossibleandthereforealso as stableandsecure aspossible.4 +In this microlearning, we will learn how you can import store items from the eMagiz store in Design after finding the one for you. This microlearning aims to get you acquainted with the various options of importing a store item in the Design phase of eMagiz. 5 5 6 6 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 7 7 8 +* Last update: April 5th, 2021 9 +* Required reading time: 5 minutes 10 + 8 8 == 1. Prerequisites == 9 9 10 10 * Basic knowledge of the eMagiz platform 11 -* Basic knowledge of the build number component within the eMagiz Platform 12 12 13 13 == 2. Key concepts == 14 14 15 -This microlearning centers around upgradingyour buildnumbers.17 +This microlearning centers around importing store items in the Design Phase. With eMagiz Store, we mean A content library available to the community to select re-usable solutions within the eMagiz platform. 16 16 17 - Byupgradingwe mean:Ensuringthat yourMagizsolutionisrunningonthe latestopen sourceandeMagiz softwareas is possiblewithintheconfinementsofthecustomercontext18 - Bybuild numberwemean:Anidentification thatthedependencyo otherpiecesof thesolution haschanged.Each build number has a uniqueset ofdependencies19 +* To import a store item in Design, you need to follow the import wizard 20 +* When importing in Design, you can import the system message and accompanying flow fragments 19 19 20 - Therearethreekeyconsiderationswhen updating build numbers:22 +== 3. Importing Store Items - Design Phase == 21 21 22 -* Why should I upgrade my build numbers? 23 -* How do I determine which of my flows can be updated with ease? 24 -* How should I handle the build number upgrade? 24 +In contrast with the Create phase store items (which provide you a set of components to achieve a particular objective), the Design Phase store items give you the additional functionality to import the system message(s). For example, to import a system message from the Store in Design, you must navigate to the system message via the context menu. When doing so for the first time, eMagiz will show you the following options after entering the "Start Editing" mode. 25 25 26 - == 3.UpgradingBuild Numbers==26 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items-design--import-options-system-message.png]] 27 27 28 - In this microlearning,we will focus on howyou canupgradeyour buildnumberswithineMagizconsistently and easily.Knowinghowto upgradeyourbuildnumbers willensurethat you willkeepyoureMagiz solutionas uptodate as possibleandtherefore also asstableand secure as possible. Withinthissection ofthemicrolearningwewilltake alook at the three keyconsiderationwhenupdatingbuild numbers:28 +When you select the option Store, eMagiz will show you all alternatives within the eMagiz store to which a Message Definition is linked. Note that you can search by Name and by Brand in this overview. 29 29 30 -* Why should I upgrade my build numbers? 31 -* How do I determine which of my flows can be updated with ease? 32 -* How should I handle the build number upgrade? 30 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items-design--store-overview-design.png]] 33 33 34 - ===3.1Why shouldIupgrade mybuild numbers?===32 +Once you have found the item of your liking, you can select it by clicking on it. This action will lead you to the details page associated with the store item. Here you will find the relevant information related to this store item. On top of that, we provide you with a Versions & Variants tab that shows you all existing versions you could import. 35 35 36 - Build numbersgovernall dependencies to other open-source software andgovern the ability to use new functionality on flow level within the portal. Therefore by consistently upgrading yourbuild numbers, you ensure that you keep up to date with all the dependencies. This notnly prevents surprises when you did notmigrate fora longtime but also ensuresthat you areworking ontheost secure piece ofsoftware thatis available. Furthermore, by upgrading yourbuild numbers you will unlockthe use of new functionalityon flow level and you will prevent that you will run into problems because we have stopped supporting certainbuild numbers.34 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items-design--information-store-item-after-selection.png]] 37 37 38 - Allinall enough reasons to keep a regularpace toupgrade yourbuild numbers.36 +In cases where you want the latest version use the button titled "Use latest version" on the Information tab. Once you have selected a version, eMagiz will show the following step of the process. Here you can choose whether you want to import the message definition(s), and it will ask you whether you wish to select accompanying flow fragments which are of use later on in Create. Since it is a GET operation, we only have a response definition to import. On top of that, we have two flow fragments. One that handles the authentication and one that holds the logic of the store item. 39 39 40 - === 3.2 How doIdeterminewhichofmy flowscan beupdatedwithase? ===38 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items-design--making-choices-on-the-store-item.png]] 41 41 42 - Thefirsttriggerwillbein thereleasenotesineMagiz [[Buildnumberreleasenotes>>doc:Main.ReleaseInformation.Buildnumbers.WebHome||target="blank"]]and theeleaseblogthatis writtenwithevery release.Here youcan readwhy a newbuild numberis introduced.Isit because ofnewfunctionality,didwe update some of theunderlying (open source)softwareor acombinationof multiple factors?By reading the releasenotesyou can alsoeasilydetermine what the possibleimpactisonyourMagizsolution. For example,if theonly changeinbuildnumberisthat a specificcomponent is addedorchangedandyoudonot use that(or onlylimited) the impactisalso limited.40 +It is up to you what you exactly want to import. Maybe only the definition is enough for you, or perhaps you want the whole package. So here you have the choice to do so. Once you are satisfied with your selection, press "Use message(s)." This will start the import process. As a result, eMagiz will import the model on the canvas and define the system message(s) in the right panel. 43 43 44 - As you can alreadyimagine, this judgment call becomesmuch tougherwhen youare 10 versions behind compared to whenyou are 1 or 2versions behind. Simply becausetheres less of a gaptoidentify and analyze. Sokeep yourye onthereleaseandrelease blog.42 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items-design--import-result-in-design.png]] 45 45 46 -Now thatyouknow that there isa new buildnumberand what isexactlychangedyou canstart comparingyourcurrentreleasestate to thedesiredreleasestatei.e.all flowsonthelatestbuildnumber).You candothis withrelative easewiththehelpof the compare functionalityin Deploy-> Releases.Ashehelp infographic on thispage tells usyoucan determinewhat ischangedwith the helpofhow eMagiz color codes the various flows:44 +Now you should create the mapping from your data model to the system message(s) yourself, and when you are finished, you can transfer the solution to Create just as you are used to doing. 47 47 48 - [[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-upgrading-build-numbers--release-compare-legend.png]]46 +=== 3.1 Importing Design Store Item - Effect in Create === 49 49 50 - Asyoucansee,whena flow indicatesa blue dotted lineitmeanstheonly changebetweenyour Createflowandtheflow withinyourrelease isthebuildnumber. Theseflowsareexcellent candidatestopgradeasthere arenofunctionalchangestoconsider.48 +Once you have transferred the solution to the Create phase and open the relevant flow for which you have imported the store item, you will see a "Pending configuration" button on the bottom of your canvas. 51 51 52 -[[image:Main.Images.Microlearning.WebHome@novice- lifecycle-management-upgrading-build-numbers--release-comparison.png]]50 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items--pending-configuration.png]] 53 53 54 - Notethat when you aredealingwitha functionalchangeinaflow you shouldconsiderwhat theimpactwouldbe if you upgradethe flow tothelatest buildnumber. Simplybecause upgrading to thelatestbuildnumber automatically meansupgrading tohelatestflowversion(regardless ofwhetherfunctionalchanges have occurred).Ifthe flowisstillindevelopment andnotpart of a Production(orAcceptance)releasethereisnothingtoworryaboutasyouwillusethe latest flowversionanyway totestyourfunctionalityandmoveit toProduction (orAcceptance)at alaterstage.52 +After pressing this button, you will see a pop-up showing all flow fragments to import. You can select each flow fragment separately by pressing the Setup button. Note that if you want to configure this at a later moment, you can choose the option "Do this later" and come back later to finish the job. On top of that, you can press Cancel if you change your mind and don't want to import the flow fragments. 55 55 56 - However, whenafunctional changehasoccurred and theolderflow is runningon Production (or Acceptance) you shouldmakea deliberate choicewhether or not tomove that flow to the latest build number. Once again the decision will become farmorecomplicated when you are a lotof buildnumbersbehind asthat might mean thatotherflows onthesame runtime are alsonoteligible tobe upgraded. So once again keep your build numbers updated.54 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items--importing-flow-fragments.png]] 57 57 58 -When you can upgradeall flow versionsto the latestversion eMagizprovides youwith a button that willautomatically do thisforyou.This preventsyou from clickingthroughthe release several hundredtimes.If you access the context menu ofyourrelease you will seethe optioncalledUpdateflowsto thelatestversion. Pressingthisbutton will automatically upgrade all flowsthatarepartof therelease to the latest version.56 +When pressing this, eMagiz will show you the import wizard. This configuration wizard finishes the import process. 59 59 60 -[[image:Main.Images.Microlearning.WebHome@novice- lifecycle-management-upgrading-build-numbers--update-flows-to-latest-version.png]]58 +[[image:Main.Images.Microlearning.WebHome@novice-emagiz-store-importing-store-items--configuration-wizard.png]] 61 61 62 - Afteryouaresatisfiedwith howthereleaselooksyoushouldmaketactive via theptioncalled Set Releaseas Active.60 +For all the details on this wizard, please check out the following [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Novice Level.eMagiz Store.novice-emagiz-store-configuring-store-items.WebHome||target="blank"]]. 63 63 64 -[[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-upgrading-build-numbers--release-comparison-after-update.png]] 65 - 66 -=== 3.3 How should I handle the build number upgrade? === 67 - 68 -The reason why you should set your release as Active instead of deploying instantaneously is two-fold: 69 - 70 -* As this will impact the complete environment you should communicate and plan a correct date and time to execute the upgrade 71 -* Using the deploy functionality to upgrade your complete project is not considered best practice 72 - 73 -Now that you have made the release active you can upgrade your complete project in the following way: 74 - 75 -* Stop all entries to ensure that no data is flowing to your project in the midst of upgrading your complete project 76 -* Ensure that you have disabled all alerting 77 -* Upgrade the JMS by installing the new deployment package and starting the new flow. 78 -* Ensure that all other runtimes get stopped, data folder removed (excluding the h2 part), and get started again 79 - 80 -By using that logic eMagiz will forget which flows were running on the runtime and the start-up will ask the portal which flows should run. Because you have made the new release active this means that automatically the new and correct flows will be installed and started by eMagiz. 81 - 82 -Note that for cloud runtimes you can combine this with a cloud template upgrade or by using the Reset functionality offered by eMagiz in Deploy -> Architecture. Note that for on-premise runtimes you will have to do these steps manually. 83 - 84 -When you are finished with all runtimes navigate back to the Releases overview in Deploy and press the Deploy icon to activate your deployment plan. This is a great way to ensure that you did not accidentally miss one or more flows and will automatically ensure that the eMagiz alerting is activated again (assuming you make use of the best practices of eMagiz). 85 - 86 86 == 4. Assignment == 87 87 88 - Read upnthereleasenotes ofthebuildnumbers anddeterminefor the projectsinwhichyouoperate what thestatusisof youreMagizsolutiononthe eMagizplatform.64 +Import a Store item in Design to import the system message(s) and subsequently transfer it to Create to see how to import the pending configurations. This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 89 89 90 90 == 5. Key takeaways == 91 91 92 -* Make your life easier by keeping up to date with regards to the build numbers that eMagiz releases 93 -* Determine the impact of the build number upgrade based on the release notes and the comparison functionality 94 -* Communicate before executing the upgrade 95 -* Ensure that data traffic is limited (or even better halted) during the upgrade 96 -* Verify your work by running the deployment plan 68 +* To import a store item in Design, you need to follow the import wizard 69 +* When importing in Design, you can import the system message and accompanying flow fragments 70 +* After importing the system message in Design, you can configure the flow fragments in Create with the help of the button called "Pending configurations." 97 97 98 98 == 6. Suggested Additional Readings == 99 99 ... ... @@ -101,7 +101,7 @@ 101 101 102 102 == 7. Silent demonstration video == 103 103 104 - Asthisisa moreheoretical microlearningwehave novideo for this)))78 +{{video attachment="novice-emagiz-store-importing-store-items-design.mp4" reference="Main.Videos.Microlearning.WebHome"/}}))) 105 105 106 106 ((({{toc/}}))){{/container}} 107 107 {{/container}}