Skip to content

Commit

Permalink
teiiddes-1829: Added dynamic parameters to REST profile importer to b…
Browse files Browse the repository at this point in the history
…e used in the generated transformation.
  • Loading branch information
tejones committed Jun 27, 2014
1 parent 955edfd commit d980816
Show file tree
Hide file tree
Showing 7 changed files with 951 additions and 13 deletions.
Expand Up @@ -85,7 +85,7 @@ public HeaderPropertiesPanel(Composite parent, Properties profileProperties, int
* @param parent the parent composite
*/
private void createPanel(Composite parent) {
Composite panel = WidgetFactory.createGroup(parent, UTIL.getString("HeaderPropertiesPanel_groupTitle"), SWT.FILL, 2, 1); //$NON-NLS-1$
Composite panel = WidgetFactory.createGroup(parent, StringUtilities.EMPTY_STRING, SWT.FILL, 2, 1);
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, false);
gd.horizontalSpan = 2;
panel.setLayoutData(gd);
Expand Down Expand Up @@ -122,7 +122,10 @@ public Object[] getElements( Object inputElement ) {
if( ICredentialsCommon.PASSWORD_PROP_ID.equalsIgnoreCase(keyStr) ||
ICredentialsCommon.SECURITY_TYPE_ID.equalsIgnoreCase(keyStr) ||
ICredentialsCommon.USERNAME_PROP_ID.equalsIgnoreCase(keyStr) ||
IWSProfileConstants.END_POINT_URI_PROP_ID.equalsIgnoreCase(keyStr) ) {
IWSProfileConstants.END_POINT_URI_PROP_ID.equalsIgnoreCase(keyStr) ||
IWSProfileConstants.PARAMETER_MAP.equalsIgnoreCase(keyStr) ||
props.get(key).equals(IWSProfileConstants.URI) ||
props.get(key).equals(IWSProfileConstants.QUERY_STRING)) {
// do nothing;
} else {
properties.add(new SimpleProperty(keyStr, (String)props.get(key)));
Expand Down

0 comments on commit d980816

Please sign in to comment.