[midPoint] Resource Config per Environment

Pavol Mederly mederly at evolveum.com
Tue Sep 6 16:41:41 CEST 2016


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/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/display/~mederly/Mappings
    <https://wiki.evolveum.com/display/%7Emederly/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 developer
evolveum.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 <mailto:mmarchese at identicum.com>
> www.identicum.com <http://www.identicum.com>
>
>
> _______________________________________________
> 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/20160906/52d5364b/attachment.htm>


More information about the midPoint mailing list