You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Murdo Aird <mu...@cloudsoftcorp.com> on 2017/06/09 10:18:26 UTC

Is the deploy user available via the API?

Hi

Is the username of the account who deployed an entity exposed via the API
at all? Thanks

Thanks
Murdo
-- 

Murdo Aird

VP, Operations

Phone: +44 7738150240 | Skype: murdo.aird

Twitter: @MurdoAird <https://twitter.com/MurdoAird> | LinkedIn:
https://uk.linkedin.com/in/murdo

[image: Cloudsoft Logo.jpg] <https://cloudsoft.io/>

Stay up to date with everything Cloudsoft:
[image: Twitter_Logo_White_On_Blue.png] <https://twitter.com/cloudsoft> [image:
YouTube-social-icon_red_48px.png]
<https://www.youtube.com/channel/UCpbLhvXrYWz8B_osUX6rn0Q>

Re: Is the deploy user available via the API?

Posted by Graeme Miller <gr...@cloudsoftcorp.com>.
If it is the Brooklyn user you're talking about, it should not be difficult
to add. Just amend this
<https://github.com/apache/brooklyn-server/blob/master/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/ApplicationResource.java#L265>
line to include the user. You can get the user by doing
this: Entitlements.getEntitlementContext().user().



On 9 June 2017 at 11:26, Thomas Bouron <th...@cloudsoftcorp.com>
wrote:

> Hi Murdo.
>
> Assuming you are talking about the username of the cloud provider you
> deploy machines to, this information appears in the debug log and maybe the
> activity's stdout and stderr but nowhere else.
>
> If you are talking about the logged user in Brooklyn, I don't think this
> information is recorded upon deployment.
>
> Best.
>
> On Fri, 9 Jun 2017 at 11:18 Murdo Aird <mu...@cloudsoftcorp.com>
> wrote:
>
> > Hi
> >
> > Is the username of the account who deployed an entity exposed via the API
> > at all? Thanks
> >
> > Thanks
> > Murdo
> > --
> >
> > Murdo Aird
> >
> > VP, Operations
> >
> > Phone: +44 7738150240 <+44%207738%20150240> | Skype: murdo.aird
> >
> > Twitter: @MurdoAird <https://twitter.com/MurdoAird> | LinkedIn:
> > https://uk.linkedin.com/in/murdo
> >
> > [image: Cloudsoft Logo.jpg] <https://cloudsoft.io/>
> >
> > Stay up to date with everything Cloudsoft:
> > [image: Twitter_Logo_White_On_Blue.png] <https://twitter.com/cloudsoft>
> > [image:
> > YouTube-social-icon_red_48px.png]
> > <https://www.youtube.com/channel/UCpbLhvXrYWz8B_osUX6rn0Q>
> >
> --
>
> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
> https://cloudsoft.io/
> Github: https://github.com/tbouron
> Twitter: https://twitter.com/eltibouron
>

Re: Is the deploy user available via the API?

Posted by Thomas Bouron <th...@cloudsoftcorp.com>.
Hi Murdo.

Assuming you are talking about the username of the cloud provider you
deploy machines to, this information appears in the debug log and maybe the
activity's stdout and stderr but nowhere else.

If you are talking about the logged user in Brooklyn, I don't think this
information is recorded upon deployment.

Best.

On Fri, 9 Jun 2017 at 11:18 Murdo Aird <mu...@cloudsoftcorp.com> wrote:

> Hi
>
> Is the username of the account who deployed an entity exposed via the API
> at all? Thanks
>
> Thanks
> Murdo
> --
>
> Murdo Aird
>
> VP, Operations
>
> Phone: +44 7738150240 <+44%207738%20150240> | Skype: murdo.aird
>
> Twitter: @MurdoAird <https://twitter.com/MurdoAird> | LinkedIn:
> https://uk.linkedin.com/in/murdo
>
> [image: Cloudsoft Logo.jpg] <https://cloudsoft.io/>
>
> Stay up to date with everything Cloudsoft:
> [image: Twitter_Logo_White_On_Blue.png] <https://twitter.com/cloudsoft>
> [image:
> YouTube-social-icon_red_48px.png]
> <https://www.youtube.com/channel/UCpbLhvXrYWz8B_osUX6rn0Q>
>
-- 

Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
https://cloudsoft.io/
Github: https://github.com/tbouron
Twitter: https://twitter.com/eltibouron