This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git


The following commit(s) were added to refs/heads/master by this push:
     new f9cf4e3  add time data to returned data
     new 7a9becf  This closes #1076
f9cf4e3 is described below

commit f9cf4e348cc694f359b57c0c00da09a8545a3f14
Author: frogfather <[email protected]>
AuthorDate: Mon Dec 16 11:04:58 2019 +0000

    add time data to returned data
---
 .../java/org/apache/brooklyn/rest/resources/ApplicationResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/ApplicationResource.java
 
b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/ApplicationResource.java
index eb427bb..5e1be91 100644
--- 
a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/ApplicationResource.java
+++ 
b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/ApplicationResource.java
@@ -181,7 +181,7 @@ public class ApplicationResource extends 
AbstractBrooklynRestResource implements
         if (includeTags) {
             result.setExtraField("tags", 
resolving(MutableList.copyOf(entity.tags().getTags())).preferJson(true).resolve()
 );
         }
-        
+        result.setExtraField("creationTimeUtc", entity.getCreationTime());
         addSensorsByGlobs(result, entity, extraSensorGlobs);
         addConfigByGlobs(result, entity, extraConfigGlobs);
         

Reply via email to