[midPoint] Resource Config per Environment
Martin Marchese
mmarchese at identicum.com
Tue Sep 13 16:02:07 CEST 2016
Thanks, we'll give it a try :)
*Ing. Martín Marchese*
Identicum S.A.
Jorge Newbery 3226
Tel: +54 (11) 4552-3050
mmarchese at identicum.com
www.identicum.com
On Wed, Sep 7, 2016 at 12:51 PM, Pavol Mederly <mederly at evolveum.com> wrote:
> Martin,
>
> yes I see.
>
> Just by the way, today I've finished version 0.0.2 (something like "alpha"
> version) of the Eclipse plugin that provides this functionality:
>
> You can take the sources and find the appropriate REST calls there (see
> RuntimeServiceImpl
> <https://github.com/Evolveum/midpoint-ide-plugins/blob/master/com.evolveum.midpoint.eclipse.parent/com.evolveum.midpoint.eclipse.runtime/src/com/evolveum/midpoint/eclipse/runtime/impl/RuntimeServiceImpl.java>
> class). It's quite easy to adapt them to your solution. Macro expansion is
> here: Expander
> <https://github.com/Evolveum/midpoint-ide-plugins/blob/master/com.evolveum.midpoint.eclipse.parent/com.evolveum.midpoint.eclipse.ui/src/com/evolveum/midpoint/eclipse/ui/util/Expander.java>
> class. The code is not very neat, as it was very quickly knit.
>
> Or you can download and try the plugin itself :-). See here:
> https://wiki.evolveum.com/display/midPoint/Eclipse+plugin+HOWTO.
>
> Best regards,
>
> Pavol Mederly
> Software developerevolveum.com
>
> On 07.09.2016 16:25, Martin Marchese wrote:
>
> Thanks Pavol. I think option #3 is the one that applies to my case.
>
> I'll give it a try.
>
> *Ing. Martín Marchese*
> Identicum S.A.
> Jorge Newbery 3226
> Tel: +54 (11) 4552-3050
> mmarchese at identicum.com
> www.identicum.com
>
> On Tue, Sep 6, 2016 at 11:41 AM, Pavol Mederly <mederly at evolveum.com>
> wrote:
>
>> Hello Martin,
>>
>> the following comes to my mind:
>>
>> 1. Ivan has once written a nice blogpost about maintaining
>> environment-specific parameters: https://evolveum.com/blog/stor
>> ing-extended-attributes-in-system-configuration-extended-attributes/
>> <https://evolveum.com/blog/storing-extended-attributes-in-system-configuration-extended-attributes/>.
>> Although this is probably limited to using system-specific properties for
>> mappings only, it is an interesting idea. Please note that it is advised to
>> use the current master so that $configuration variable would be available
>> at all relevant places. Here is a (draft!) document of where it is
>> available as of now: https://wiki.evolveum.com/disp
>> lay/~mederly/Mappings.
>> 2. There is an Eclipse plugin being prepared that will solve this
>> problem, see https://jira.evolveum.com/browse/MID-3358 (the fourth
>> point). If time permits, it could be implemented quite soon.
>> 3. You can always create your own solution that would do the same as
>> Eclipse plugin: maintain your files offline (with some ${ADResource.host} -
>> style references), and run scripts against them that would:
>> 1. expand the references,
>> 2. upload expanded files to server via REST API
>> <https://wiki.evolveum.com/display/midPoint/REST+API>.
>>
>> Hope this helps,
>>
>> Pavol Mederly
>> Software developerevolveum.com
>>
>> On 06.09.2016 16:15, Martin Marchese wrote:
>>
>> Hi all,
>>
>> Working on deploying our resources among different environments I found
>> myself changing credentials for resource service accounts on every new
>> environment (e.g. AD service account has a different password in dev, uat
>> and prod).
>>
>> I was wondering if there's a way in which I can store a global config
>> with those values on each environment so I can deploy resources many times
>> without having to change credentials (and any other environment specific
>> value).
>>
>> Thanks in advance.
>> *Ing. Martín Marchese*
>> Identicum S.A.
>> Jorge Newbery 3226
>> Tel: +54 (11) 4552-3050
>> mmarchese at identicum.com
>> www.identicum.com
>>
>>
>> _______________________________________________
>> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>>
>> _______________________________________________ midPoint mailing list
>> midPoint at lists.evolveum.com http://lists.evolveum.com/mail
>> man/listinfo/midpoint
>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160913/692e9681/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dconhkmjkljcolff.png
Type: image/png
Size: 23395 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160913/692e9681/attachment.png>
More information about the midPoint
mailing list