[JBoss JIRA] (SRAMP-587) Not possible to add a property with no value via S-RAMP CLI
by Eric Wittmann (JIRA)
Eric Wittmann created SRAMP-587:
-----------------------------------
Summary: Not possible to add a property with no value via S-RAMP CLI
Key: SRAMP-587
URL: https://issues.jboss.org/browse/SRAMP-587
Project: S-RAMP
Issue Type: Bug
Components: Shell
Affects Versions: 0.5.0.Final
Reporter: Eric Wittmann
Assignee: Brett Meyer
The s-ramp shell cannot create a custom property on an artifact without also setting a value (even if the value is empty string).
I think this should be possible with the following syntax (currently invalid):
{code}
s-ramp:property set foo
{code}
If no value is supplied then the property should be simply added without one. If the property already exists, then the value should be removed.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 3 months
[JBoss JIRA] (SRAMP-586) Empty custom property query not quite working
by Eric Wittmann (JIRA)
Eric Wittmann created SRAMP-586:
-----------------------------------
Summary: Empty custom property query not quite working
Key: SRAMP-586
URL: https://issues.jboss.org/browse/SRAMP-586
Project: S-RAMP
Issue Type: Bug
Components: UI
Affects Versions: 0.5.0.Final
Reporter: Eric Wittmann
Assignee: Brett Meyer
If a query is done like this:
{code}
/s-ramp/core/Document[ @foo ]
{code}
then the assumption is that it should return all artifacts with property "foo" defined, regardless of the *value* of "foo". However, if an artifact has the property defined but no value for the property, this query is failing to return it.
To reproduce:
1) add an artifact to s-ramp
2) add a custom property "foo" to the artifact, with no value (this can easily be done via the UI)
3) execute the s-ramp query: /s-ramp[@foo]
4) observe that the artifact is not returned
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 3 months
[JBoss JIRA] (OVERLORD-152) Add support for 'configfile' in generated features.xml file
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/OVERLORD-152?page=com.atlassian.jira.plug... ]
Eric Wittmann resolved OVERLORD-152.
------------------------------------
Resolution: Done
Example from apiman. See "configFile" in the markup below (from the apiman-distro-fuse6-dt module's pom.xml):
{code}
<plugin>
<groupId>org.overlord</groupId>
<artifactId>overlord-commons-maven-plugin</artifactId>
<version>${version.org.overlord.overlord-commons.overlord-commons-maven-plugin}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
</goals>
<configuration>
<outputFile>${project.build.directory}/features.xml</outputFile>
<attach>true</attach>
<features>
<!-- All APIMan Dependencies -->
<feature>
<name>apiman-dependencies</name>
<version>${project.version}</version>
<comment>All API Management Dependencies</comment>
<dependsOnFeatures>
<feature>
<name>war</name>
</feature>
</dependsOnFeatures>
<excludes>
<exclude>org.overlord.apiman:apiman-*:*</exclude>
</excludes>
</feature>
<!-- APIMan Management Layer -->
<feature>
<name>apiman-dt</name>
<version>${project.version}</version>
<comment>API Management Runtime</comment>
<dependsOnFeatures>
<feature>
<name>apiman-dependencies</name>
<version>${project.version}</version>
</feature>
</dependsOnFeatures>
<configFiles>
<configFile>
<finalName>/etc/apiman-dt.cfg</finalName>
<value>mvn:org.overlord.apiman/apiman-distro-fuse6-dt/${project.version}/cfg</value>
</configFile>
</configFiles>
<includes>
<include>org.overlord.apiman:apiman-*:*</include>
</includes>
</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
{code}
> Add support for 'configfile' in generated features.xml file
> -----------------------------------------------------------
>
> Key: OVERLORD-152
> URL: https://issues.jboss.org/browse/OVERLORD-152
> Project: Overlord
> Issue Type: Feature Request
> Reporter: Eric Wittmann
> Assignee: Eric Wittmann
> Fix For: Overlord-Commons-2.0.11.Final
>
>
> Add the ability to include configfile elements in the generated features.xml file created by the overlord-commons maven plugin.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 3 months