-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement Request Summary : Externalizing profile, 'other' option given in POM wizard, does not work if property file (profile) is referenced using relative path. We are using Jenkins job to build EAR file using BW6 Application code & Profile property file (DEV/QA/PROD etc) residing in separate folders in Git Repo and eventually another jenkins job to deploy the built EAR to runtime (TEA). #399
Comments
Hello Sujata, |
@bankarswapnil Please find my below comments:
|
Thank you Sujata for reply.
Please find my comments inline…
Thanx,
-Swapnil
Planned absence
None
From: Sujata <notifications@github.com>
Sent: 13 January 2020 05:55
To: TIBCOSoftware/bw6-plugin-maven
Cc: Bankar, Swapnil; Comment
Subject: Re: [TIBCOSoftware/bw6-plugin-maven] Externalizing profile, 'other' option given in POM wizard, does not work completely. (#399)
@bankarswapnil<https://github.com/bankarswapnil> Please find my below comments:
1. If Application has Application level properties set, Build fails
--> Could you please share the detailed steps to reproduce this issue. It will really help to reproduce issue in our environment
<Swapnil> I have attached a WebEx recording for a walk thr’. If you have any doubts there please do revert.
Every project would have Application level GVs so deleting those won’t be a workaround
1. Relative profile path does not work, ex. ../QA.substvar
--> We do not support the relative path option
<Swapnil> If relative path is not supported then can you provide any help/ref to show how in Jenkins build, maven can use property file and code placed in different Git folders to build Ear and subsequently deploy to TEA--> This is a blocking my E2E flow.
1. Although am deleting application from TEA before re-deployment,
a. Getting exception as 'Failed to remove stats of Application [1.0|Greetings.application] in AppSpace [MyAppSpace] of Domain [MyDomain]'
but actually it does delete the application.
b. am able to see earlier/old deployment endpoint URL instances in TEA on subsequent deployments.
--> This issue does not seem from maven side but still we will check and let you know.
<Swapnil> True. But just thought of sharing my observations so that Engg team can attend those if confirmed.
1. Although, we have selected profile as 'other' pointing to QA (which is not a default profile),
a. Deployed application endpoint still points to default profile property values, say HTTPPort:8071 instead of 8383.
workaround : just restart the application
--> will look into this.
<Swapnil> Sure. Just thought of sharing my observations so that Engg team can attend those if confirmed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#399?email_source=notifications&email_token=AOGOIIK4E5FWO5E56BUIBSDQ5P6Z5A5CNFSM4KD24QH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXTETI#issuecomment-573518413>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOGOIIMF4ZGVYGMJIOARTI3Q5P6Z5ANCNFSM4KD24QHQ>.
…________________________________
Capgemini is a trading name used by the Capgemini Group of companies which includes Capgemini UK plc, a company registered in England and Wales (number 943935) whose registered office is at No. 1, Forge End, Woking, Surrey, GU21 6DB.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
|
Hello Sujata, |
@bankarswapnil Currently we only absolute path support for external profile where external profile should be present on the same machine. Now For jenkins, we will required code changes where the external profile will be downloaded from mentioned URL. |
Hi Sujata, Meanwhile, if you know any workarounds (possibly from existing clients who are using the plugin) Thanx, |
@swapnilbankar You can create the new enhancemnt with your requirement So that I will plan it accordingly. |
Hi Sujata, Thanx, |
Hi Sujata, Did you transfer the issue into enhancement ? or let me know how to create it ? Thanx, |
@bankarswapnil I have marked this issue as enhancement. Please just change the issue title with requirement summary |
Hi Sujata, Looking forward to have this feature as early as possible. -Swapnil |
My setup[Windows10_64bit+BW650+TEA230+EMS851+TIB_BW_Maven_Plugin_240]
Steps to reproduce the issue:
Main Issues :
---->Workaound : delete the app level property settings and retry.
Subsequent couple of issues I have observed,
a. Getting exception as 'Failed to remove stats of Application [1.0|Greetings.application] in AppSpace [MyAppSpace] of Domain [MyDomain]'
but actually it does delete the application.
b. am able to see earlier/old deployment endpoint URL instances in TEA on subsequent deployments.
a. Deployed application endpoint still points to default profile property values, say HTTPPort:8071 instead of 8383.
workaround : just restart the application
Additional environment details if any:
Describe the results you received:
Describe the results you expected:
In POM, Relative path is supported ? or only absolute path is supported ?
Additional information you deem important (e.g. issue happens only occasionally):
I will attach a WebEx to convey steps followed to reproduce the issue.
Thanx,
-Swapnil
CICD_Ext_Profile_Failed_3.zip
The text was updated successfully, but these errors were encountered: