Changes for page Upgrading Build Numbers
Last modified by Erik Bakker on 2024/02/20 16:48
From version 19.2
edited by Eva Torken
on 2024/02/20 16:48
on 2024/02/20 16:48
Change comment:
Update document after refactoring.
To version 10.2
edited by Erik Bakker
on 2022/06/10 12:39
on 2022/06/10 12:39
Change comment:
Update document after refactoring.
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Main.eMagiz Academy.Microlearnings.Le gacyFunctionality.WebHome1 +Main.eMagiz Academy.Microlearnings.Novice.Lifecycle Management.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e torken1 +XWiki.ebakker - Content
-
... ... @@ -1,12 +1,13 @@ 1 -{{container}} {{container layoutStyle="columns"}}(((2 -{{er ror}}3 - Note that the functionality mentioned in this microlearning will become obsolete when migrating to the 3rd generation runtime.4 - {{/error}}1 +{{container}} 2 +{{container layoutStyle="columns"}} 3 +((( 4 +In this microlearning, we will focus on the last step of cleaning up your integration. As we learned in previous microlearnings, the lifecycle management process starts in Manage and ends in Capture. Following that logic, the last step of the process is to remove the integration from Capture (and potentially the system) 5 5 6 -In this microlearning, we will focus on how you can upgrade your build numbers within eMagiz consistently and easily. Knowing how to upgrade your build numbers will ensure that you will keep your eMagiz solution as up to date as possible and therefore also as stable and secure as possible. 7 - 8 8 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 9 9 8 +* Last update: May 14th, 2021 9 +* Required reading time: 5 minutes 10 + 10 10 == 1. Prerequisites == 11 11 12 12 * Basic knowledge of the eMagiz platform ... ... @@ -14,86 +14,74 @@ 14 14 15 15 == 2. Key concepts == 16 16 17 -This microlearning centers aroundupgradingyourbuild numbers.18 +This microlearning is about cleaning up a captured integration. 18 18 19 -By upgrading we mean: Ensuring that your eMagiz solution is running on the latest open source and eMagiz software as is possible within the confinements of the customer context 20 -By build number we mean: An identification that the dependency to other pieces of the solution has changed. Each build number has a unique set of dependencies 20 +By captured integration, we mean: A line that symbolizes data traffic between a system and eMagiz for which the specific information is filled in (i.e., captured) 21 21 22 -There are threekeyconsiderationswhenupdatingbuild numbers:22 +There are four essential considerations before cleaning up a captured integration: 23 23 24 -* Why should I upgrade my build numbers? 25 -* How do I determine which of my flows can be updated with ease? 26 -* How should I handle the build number upgrade? 24 +* Is the integration/flow not mentioned anymore in any alerting in Manage? 25 +* Is the integration removed from all releases? 26 +* Is the integration removed from Create? 27 +* Is the eMagiz data model (i.e., CDM, API Gateway Data model) cleaned? 27 27 28 -== 3. UpgradingBuildNumbers==29 +== 3. Cleanup a captured integration == 29 29 30 -In this microlearning, we will focus on h owyoucan upgradeyourbuildnumbers within eMagiz consistentlyandeasily. Knowinghow to upgradeyourbuild numbers will ensurethatyou willkeepyourMagizsolution asupto date aspossibleand thereforealso as stable andsecure aspossible.Withinthis sectionof themicrolearningwe willtake a lookat the threekey considerationwhenupdating buildnumbers:31 +In this microlearning, we will focus on the last step of cleaning up your integration. As we learned in previous microlearnings, the lifecycle management process starts in Manage and ends in Capture. Following that logic, the last step of the process is to remove the integration from Capture (and potentially the system) 31 31 32 -* Why should I upgrade my build numbers? 33 -* How do I determine which of my flows can be updated with ease? 34 -* How should I handle the build number upgrade? 33 +There are four essential considerations before cleaning up a captured integration: 35 35 36 -=== 3.1 Why should I upgrade my build numbers? === 35 +* Is the integration/flow not mentioned anymore in any alerting in Manage? 36 +* Is the integration removed from all releases? 37 +* Is the integration removed from Create? 38 +* Is the eMagiz data model (i.e., CDM, API Gateway Data model) cleaned? 37 37 38 - Build numbersgovernalldependenciestoother open-sourcesoftware and governthe ability to usenew functionalityon flow levelwithintheportal.Thereforebyconsistently upgradingyour build numbers,you ensurethatyou keeppto date with allthedependencies.Thisnotonlyprevents surpriseswhenyoudidnot migrateforalongtime butalso ensuresthatyouareworkingonhemost secure piece of softwarethatisavailable.Furthermore,by upgrading your buildnumbersyouwillunlocktheuse ofnewfunctionalityonflow levelandyou will prevent thatyou willrunintoproblemsbecausewe havestopped supportingcertain build numbers.40 +As you can see, a theme starts to develop itself. Each of the considerations focuses on a particular phase within eMagiz. We begin at Manage, move to Deploy, Create and Design before we end up in Capture. Removing integrations in the advised way will ensure that the deletion of the integration and everything that accompanies it will be successful. 39 39 40 - Allin all enoughreasonstokeepa regularpace toupgradeyour build numbers.42 +However, there is no check done on all these aspects when you want to delete the integration. Therefore it is up to you to uphold the quality. There is one exception to this: the integration needs to be removed from Create before you can clean it up (i.e., delete) in Capture. If the integration is not yet removed from Create, you will see the following pop-up: 41 41 42 - === 3.2 How doIdeterminewhich ofmyflowscanbedatedwithease? ===44 +[[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-cleanup-a-captured-integration--not-able-to-remove.png]] 43 43 44 -T hefirst trigger will bein the releasenotesinMagiz [[Buildnumberrelease notes>>doc:Main.Release Information.Buildnumbers.WebHome||target="blank"]] and the release blog thatis writtenwith every release. Here youcanreadwhyanew build number is introduced. Isitbecauseof new functionality, did weupdatesomeof the underlying (open source)software or a combinationof multiple factors?Byreadingthe release notes youcan alsoeasilydetermine what the possibleimpactis on your eMagiz solution.Forexample, iftheonly changein build number isthat a specificcomponentis added or changed and you do notusethat (oronly limited) the impacts alsolimited.46 +To remove an integration in Capture, access the context menu (via a right-mouse click) and select Delete integration. 45 45 46 - As you can alreadyimagine, this judgment call becomesmuch tougherwhen youare 10 versions behind compared to whenyou are 1 or 2versions behind. Simply because there isless ofagap to identifyandanalyze. So keepyourye onheaseotes andrelease blog.48 +[[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-cleanup-a-captured-integration--delete-integration.png]] 47 47 48 - Now that you knowthatthereisanewbuildnumber andwhatisexactlychangedyoucanstartcomparingyourcurrentrelease stateto thedesired releasestate(i.e.all flowson thelatest build number). Youcan dothiswithlativeeasewithhehelpof the comparefunctionality inDeploy-> Releases.Asthehelpinfographiconthispagetellsus youcandeterminewhatchangedwiththehelpofhoweMagizcolorcodes thevariousflows:50 +When selecting this option, eMagiz will ask for confirmation to make sure that you know what you are doing. Confirming that you want to delete the integration means throwing away all captured information, including attached documents. Furthermore, it means that all message mappings, system messages, and design configurations are also gone, except for entities and attributes on the eMagiz data model (CDM, API GW, EVS) level as they are shared. 49 49 50 - [[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-upgrading-build-numbers--release-compare-legend.png]]52 +In cases where the integration you have just cleaned up is the last integration tying a system to eMagiz, you should also delete the system itself. To do so, access the context menu on the system level and select the option Delete system. 51 51 52 - As you can see, whenaflowindicatesa blue dottedlineit means the only changeetween your Create flow and the flow within your releaseis thebuild number. These flowsarexcellentdidates toupgradeasthereare no functionalchangesto consider.54 +[[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-cleanup-a-captured-integration--delete-system.png]] 53 53 54 - [[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-upgrading-build-numbers--release-comparison.png]]56 +Once again, you will receive a confirmation pop-up. Confirming, in this case, means deleting all captured information on the system level and removing all designed information on the system level. 55 55 56 - Notethatwhenyouaredealingwitha functionalchangea flow youshouldconsiderwhattheimpactwouldbeifyouupgradethe flowtothelatestbuildnumber.Simplybecauseupgradingto the latestbuildnumberautomatically means upgradingtotheatestflowversion(regardlessofwhetherfunctionalchangeshaveoccurred).If theflowis still invelopmentdnotpartofaProduction(or Acceptance)releasethereisnothingtoworryaboutasyouwilluse thelatest flow version anywayto testyourfunctionalityand moveittoProduction(orAcceptance)ata laterstage.58 +One last consideration to consider when removing the system is to determine whether your captured system was already part of the Create and Deploy phase of eMagiz. If that was the case, additional measures are needed to properly clean up the system and all related information in the Deploy phase of eMagiz. In that case, you need to Delete your runtime in Deploy on all three environments. More on how to do so can be found in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Lifecycle Management.advanced-lifecycle-management-cleanup-a-deployed-runtime.WebHome||target="blank"]]. Make note that is an advanced action that only a bus owner can perform within your project. If you did not yet transfer the integration and the system to the Create phase, this action is unnecessary as the runtime does not exist in the Deploy phase. 57 57 58 - However,whena functional change hasoccurred and theolderflow is runningon Production (or Acceptance)you shouldmakea deliberate choice whetherornot to movethat flow to the latest build number. Once againthedecisionwillbecome far morecomplicatedwhen you area lot of buildnumbersbehindas that might mean that otherflows on thesame runtime are alsonot eligibleto beupgraded.So once again keepyourbuild numbers updated.60 +Armed with this knowledge, you can make the correct decision in cases where you consider cleaning up the captured integration. 59 59 60 - Whenyou can upgrade all flow versions to the latest version eMagiz provides you with a button that will automatically do this for you.Thispreventsyou from clickingthrough the release several hundred times. If you access the contextmenu of your release you will see the option called Update flows to the latest version. Pressing this button will automatically upgrade all flows that are part of the release to the latest version.62 +== 4. Assignment == 61 61 62 -[[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-upgrading-build-numbers--update-flows-to-latest-version.png]] 64 +Determine whether you can clean up a captured integration within your project. If so, execute the cleanup. 65 +This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 63 63 64 - Afteryouaresatisfied with how the release looks you should makeitactive viathe option called Set Releaseas Active.67 +== 5. Key takeaways == 65 65 66 -[[image:Main.Images.Microlearning.WebHome@novice-lifecycle-management-upgrading-build-numbers--release-comparison-after-update.png]] 69 +* There are four essential considerations before cleaning up a captured integration: 70 + * Is the integration/flow not mentioned anymore in any alerting in Manage? 71 + * Is the integration removed from all releases? 72 + * Is the integration removed from Create? 73 + * Is the eMagiz data model (i.e., CDM, API Gateway Data model) cleaned? 74 +* Before deletion, eMagiz will ask for confirmation 75 +* Deletion means that you cannot get it back anymore 67 67 68 -== =3.3How should I handlehebuildnumber upgrade?===77 +== 6. Suggested Additional Readings == 69 69 70 - The reasonwhyyoushouldsetyour release asActiveinsteadof deploying instantaneously is two-fold:79 +If you are interested in this topic and want more information on it please read the help text provided by eMagiz. 71 71 72 -* As this will impact the complete environment you should communicate and plan a correct date and time to execute the upgrade 73 -* Using the deploy functionality to upgrade your complete project is not considered best practice 81 +== 7. Silent demonstration video == 74 74 75 - Nowthat you havemade therelease activeyou canupgrade yourcompleteprojectin thefollowingway:83 +This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned 76 76 77 -* Stop all entries to ensure that no data is flowing to your project in the midst of upgrading your complete project 78 -* Ensure that you have disabled all alerting 79 -* Upgrade the JMS by installing the new deployment package and starting the new flow. 80 -* Ensure that all other runtimes get stopped, data folder removed (excluding the h2 part), and get started again 85 +{{video attachment="novice-lifecycle-management-cleanup-a-captured-integration.mp4" reference="Main.Videos.Microlearning.WebHome"/}}))) 81 81 82 -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. 83 - 84 -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. 85 - 86 -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). 87 - 88 -== 4. Key takeaways == 89 - 90 -* Make your life easier by keeping up to date with regards to the build numbers that eMagiz releases 91 -* Determine the impact of the build number upgrade based on the release notes and the comparison functionality 92 -* Communicate before executing the upgrade 93 -* Ensure that data traffic is limited (or even better halted) during the upgrade 94 -* Verify your work by running the deployment plan 95 - 96 -== 5. Suggested Additional Readings == 97 - 98 -If you are interested in this topic and want more information on it please read the help text provided by eMagiz. 99 -)))((({{toc/}}))){{/container}}{{/container}} 87 +((({{toc/}}))){{/container}} 88 +{{/container}}