You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2021/07/14 08:05:27 UTC

[GitHub] [brooklyn-ui] iuliana commented on a change in pull request #247: allow inspector to enable resolving or not resolving the config

iuliana commented on a change in pull request #247:
URL: https://github.com/apache/brooklyn-ui/pull/247#discussion_r669385885



##########
File path: ui-modules/app-inspector/app/components/providers/entity-api.provider.js
##########
@@ -78,8 +78,9 @@ function EntityApi($http, $q) {
     function getEntityConfigInfo(applicationId, entityId) {
         return $http.get('/v1/applications/' + applicationId + '/entities/' + entityId + '/config', {observable: true, ignoreLoadingBar: true});
     }
-    function getEntityConfigState(applicationId, entityId) {
-        return $http.get('/v1/applications/' + applicationId + '/entities/' + entityId + '/config/current-state', {observable: true, ignoreLoadingBar: true});
+    function getEntityConfigState(applicationId, entityId, skipResolution) {
+        skipResolution = skipResolution ? true : false;
+        return $http.get('/v1/applications/' + applicationId + '/entities/' + entityId + '/config/current-state?suppressSecrets=true&skipReslution='+skipResolution, {observable: true, ignoreLoadingBar: true});

Review comment:
       I noticed a typo here, so I will merge this into my own branch first, to correct this and test everythingm and then submit everything as one PR.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org