Bug 1148145 - Unable to add KieModule to Repository from UrlResource
Summary: Unable to add KieModule to Repository from UrlResource
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ER5
: 6.1.0
Assignee: manstis
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-30 19:29 UTC by Paulo Henrique Alves
Modified: 2020-03-27 18:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:38:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stacktrace (4.92 KB, text/plain)
2014-09-30 19:29 UTC, Paulo Henrique Alves
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1183984 0 high CLOSED Unable to access Workbench Maven repository with Basic Authentication enabled 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker DROOLS-693 0 None None None Never

Internal Links: 1183984

Description Paulo Henrique Alves 2014-09-30 19:29:48 UTC
Created attachment 942833 [details]
stacktrace

Description of problem:
Unable to add KieModule to Repository from UrlResource.

Version-Release number of selected component (if applicable):
6.0.2

Steps to Reproduce:
1. Create a project in BPM Suite and buid.
2. Access maven url file in browser, (Ex: http://bpms:8080/business-central/maven2/org/kie/example/project1/1.0.1/project1-1.0.1.jar)
3. Execute code above in your application.
UrlResource urlResource = (UrlResource) kieServices.getResources().newUrlResource("http://bpms:8080/business-central/maven2/org/kie/example/project1/1.0.1/project1-1.0.1.jar");
urlResource.setBasicAuthentication("enabled");  
urlResource.setUsername("bpmsUser");  
urlResource.setPassword("bpmsPass");
kieServices.getRepository().addKieModule(urlResource);

Actual results:
Throws exception (see attach).

Expected results:
The project added in repository.

Additional Info:
I removed guvnor-m2-repo from maven configuration file (settings.xml)

Comment 3 Jiri Svitak 2015-02-26 08:12:29 UTC
Already verified in 'see also' bugzilla BZ1183984.

Verified.

https://gitlab.mw.lab.eng.bos.redhat.com/bxms/brms/commit/8120ae62871b96b6d6616cebd64254043e42b90d


Note You need to log in before you can comment on or make changes to this bug.