Hi John,
from perspective you described it totally makes sense.
Nonetheless, it would be good for IBM to think over some other mechanism for identifying the BAR file over the name itself.
From what I have tested so far, the match is done over the name of the application.
If I change it, ACE gets lost.
It would be much better to create some unique ID uuid created at application creation time, which could later be packed into MANIFEST file and ACE could find out on which application we want to run.
Namely, I see completely sensible the following scenario:
1. Have application v1 on server deployed.
2. Create fix/bugfix/feature in the application an now you have v2.
3. Deploy v2 to server (stopped).
4. Stop v1 and start v2.
How do you solve the situation when there is something wrong with v2, now that you have the same application name and is overwritten at deploy time ? You have complete mess on server ....
This is just for thoughts.
------------------------------
Jurij Laznik
------------------------------
Original Message:
Sent: Tue August 04, 2020 01:53 AM
From: John Hosie
Subject: Flow Exerciser on different bar name.
Jurij,
You can think of the bar file as ephemeral. A temporary vehicle to deliver the application to the integration server. We sometimes refer to it as a "carrier bag". Just like when you bring your groceries home from the shop, the bag is important on the journey but the contents are the important thing once you reach the destination. In other words, once the application has been deployed, the tool does not care how it got there, it only cares about what is inherent in the application itself. So if you change the name of the application when you deploy, then the tool thinks that is a different application.
------------------------------
John Hosie
Original Message:
Sent: Mon August 03, 2020 05:28 AM
From: Jurij Laznik
Subject: Flow Exerciser on different bar name.
Hi Jan,
well, I would expect that Toolkit would have some kind of identifier in order to detect which BAR belongs to which application.
For example:
1. I have an application named MyTest.
2. Create the BAR file with the following command:
mqsicreatebar -data C:\IBM\ACE11\workspace -b C:\IBM\ACE11\workspace\BARfiles\MyTest1.bar -cleanBuild -a MyTest1 -deployAsSource -trace
3. Deploy to server.
To me it is interesting that ACE created the BAR file, however it cannot identify it as already deployed on server when I try to use flow exerciser.
Thanks, Jurij
------------------------------
Jurij Laznik
Original Message:
Sent: Mon July 20, 2020 02:24 AM
From: Jan Fluitsma
Subject: Flow Exerciser on different bar name.
Hi Jurij,
I guess you also renamed the Application (or Integration Service or REST API) as the name of the bar file is generated. So now you have 2 Applications, 1 with version and 1 without. For ACE these are 2 different Applications. The name of the bar file is of no consequence.
------------------------------
Jan Fluitsma
Original Message:
Sent: Fri July 17, 2020 06:55 AM
From: Jurij Laznik
Subject: Flow Exerciser on different bar name.
Hi,
I am having a problem with using the flow exerciser on ACE 11.
During the BAR file creation the name of the BAR is changed (for example from test to test_0.0.1).
This is done for the versioning purposes.
My question is : Is it possible to use the flow exerciser on a newly named BAR ? Right now, it does not detect that the correct BAR is already present on server. Instead, the BAR without version (as the name of the project is) is deployed again and than I have two identical BAR's deployed on server.
Thanks, Jurij
------------------------------
Jurij Laznik
------------------------------