Bug 1017886

Summary: Improve the creation and viewing of projects
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mark Proctor <mproctor>
Component: Business CentralAssignee: Jan <jschatte>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.0CC: lpetrovi, pzapataf
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:17:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
new project editor layout none

Description Mark Proctor 2013-10-10 16:59:43 UTC
The project wizard and editor can be improved.

1. expose name and description from the pom.xml - make these more prominent in all forms and lists, than group and artefact ids. This includes updating the maven repo browser to show those.

2. Add helper text explaining what these are, why they are needed, and potentially an example for each.

Future Ideas
For future releases we can look into centralised admin for group-ids, as these are typically pre-agreed and controlled by operations anyway. This way group-id is either fixed and global for the entire company, or a drop down provides available group-ids for selection.

Also a project request workflow can be created, that has only non-technical fields. This will then allow someone in operations or development to create the project for them. Again some companies would prefer this anyway, as part of their software creation governance process.

Comment 3 Pedro Zapata 2013-10-11 08:44:56 UTC
As discussed with Mark, we can take care of this issue

Comment 4 Pedro Zapata 2013-10-11 09:05:24 UTC
The following structure is suggested:
------------------

Project settings: 'General settings' (instead of GAV)

Name :       [                                                 ]

Description: [                                                 ]

Deployment information:

The following values are required to build and deploy the project in a Maven repository, and reference any assets created.

Group ID (*):    [               ] - Example: com.myorganization.myprojects (+Info)
Artifact ID (*): [               ] - Example: MyProject (+Info)
Version ID (*):  [               ] - Example: 1.0 (+Info)

-----------------

In the future, it would be also possible to setup default values for group id (may be via a system property)  and change the Group ID input box to a select box. 

A possible short term improvement could be query this value from a system property ('org.kie.guvnor.defaults.groupid') and use it as default value. That would improve a bit the situation.

Comment 5 Jan 2013-10-22 10:34:59 UTC
Name and Description have been added to the project setting screen (formerly know as GAV screen). Visual improvementes have been implemented to this screen as per comment #4

commits implied:

Guvnor:
- master: http://github.com/droolsjbpm/guvnor/commit/ddff4a08c
- 6.0.x: http://github.com/droolsjbpm/guvnor/commit/727c19ead

Kie-wb-common:
- master: http://github.com/droolsjbpm/kie-wb-common/commit/cb388fc74
- 6.0.x: http://github.com/droolsjbpm/kie-wb-common/commit/9f91bc5a7

Comment 6 Jan 2013-10-23 11:02:09 UTC
Further related to this issue are the following commits, that apply the changes mentioned in comment #5 also to the new project wizard.

Kie-wb-common:
- master: http://github.com/droolsjbpm/kie-wb-common/commit/5cc16fd60
- 6.0.x: http://github.com/droolsjbpm/kie-wb-common/commit/aa81553d9

Comment 7 Jan 2013-10-23 11:38:22 UTC
Created attachment 815341 [details]
new project editor layout