-
Bug
-
Resolution: Done
-
Critical
-
6.0.2
-
None
-
x86_64 Linux
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)
- is related to
-
RHBPMS-193 Unable to access Workbench Maven repository with Basic Authentication enabled
- Verified
- relates to
-
RHBPMS-193 Unable to access Workbench Maven repository with Basic Authentication enabled
- Verified