[jira] [Resolved] (DELTASPIKE-1211) SingleResultType.OPTIONAL refers to nonexistent constant SINGLE

2016-10-30 Thread John D. Ament (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John D. Ament resolved DELTASPIKE-1211.
---
   Resolution: Fixed
 Assignee: John D. Ament
Fix Version/s: 1.7.2

Merges, thanks for the contrib!

> SingleResultType.OPTIONAL refers to nonexistent constant SINGLE
> ---
>
> Key: DELTASPIKE-1211
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1211
> Project: DeltaSpike
>  Issue Type: Bug
>  Components: Data-Module
>Affects Versions: 1.7.1
>Reporter: Anthony Vanelverdinghe
>Assignee: John D. Ament
>Priority: Trivial
> Fix For: 1.7.2
>
>
> The 
> [Javadoc|https://deltaspike.apache.org/javadoc/1.7.1/org/apache/deltaspike/data/api/SingleResultType.html#OPTIONAL]
>  of SingleResultType.OPTIONAL refers to the nonexistent constant SINGLE, 
> instead of the intended constant JPA.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (DELTASPIKE-1212) Introduce a ConfigResolver.resolveAllProperties method

2016-10-30 Thread John D. Ament (JIRA)
John D. Ament created DELTASPIKE-1212:
-

 Summary: Introduce a ConfigResolver.resolveAllProperties method
 Key: DELTASPIKE-1212
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1212
 Project: DeltaSpike
  Issue Type: New Feature
  Components: Configuration
Affects Versions: 1.7.0
Reporter: John D. Ament
 Fix For: 1.8.0


Invoking ConfigResolver.getAllProperties does not expand out any inlined 
variables.  In addition, assume the following properties file and project stage 
= Development

{code}
some-service-url=${edge-server-url}/some-service
edge-server-url=undefined
edge-server-url.Development=http://development:8081
edge-server-url.Staging=http://staging:8081
edge-server-url.Production=http://prod:8081
{code}

calling {{getAllProperties}} returns the raw output of this file.  Introducing 
a new {{resolveAllProperties}} method would only return back the active values. 
 The expected result would be

{code}
some-service-url=http://development:8081/some-service
edge-server-url=http://development:8081
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)