Do we have to conver identity-event.properties [1] file as well ? If so we
need to come up with a bean for this. With the way it is now it seems a bit
difficult to define a bean clearly. By going through the properties we have
atm, is it feasible to use a bean structure as below ?

class IdentityEventConfig {

    int poolSize;
    Map<String, HandlerConfig> handlerConfigMap;

}

class HandlerConfig {

    List<String> subscriptions;
    Maps<String, String> properties;

}

In handlerConfigMap, the String key represents the handler name.

[1] -
https://github.com/wso2/product-is/blob/master/tests/osgi-tests/src/test/resources/carbon-home/conf/identity/identity-event.properties

Regards,
Omindu.

On Thu, Mar 9, 2017 at 11:06 AM, Harsha Thirimanna <[email protected]> wrote:

>
> On Thu, Mar 9, 2017 at 10:49 AM, Ashen Weerathunga <[email protected]> wrote:
>
>> Hi all,
>>
>> We are in the process of moving carbon identity mgt [1] to the global
>> configuration model [2]. In this model, we need to maintain all the server
>> configurations in one configuration file (deployment.yaml). Currently, we
>> have a number of config files in the carbon identity mgt as below (please
>> add if I have missed any).
>>
>>    - claim-mapping
>>    
>> <https://github.com/wso2/carbon-identity-mgt/blob/master/features/org.wso2.carbon.identity.claim.feature/resources/conf/claim-mapping.yaml>
>>    - profile-mapping
>>    
>> <https://github.com/wso2/carbon-identity-mgt/blob/master/features/org.wso2.carbon.identity.claim.feature/resources/conf/profile-mapping.yaml>
>>    - domain-config
>>    
>> <https://github.com/wso2/carbon-identity-mgt/blob/master/features/org.wso2.carbon.identity.mgt.feature/resources/conf/domain-config.yaml>
>>    - store-config
>>    
>> <https://github.com/wso2/carbon-identity-mgt/blob/master/features/org.wso2.carbon.identity.mgt.feature/resources/conf/store-config.yaml>
>>    - challenge-questions
>>    
>> <https://github.com/wso2/carbon-identity-mgt/blob/master/features/org.wso2.carbon.identity.recovery.feature/resources/conf/challenge-questions/en-US.yaml>
>>    - identity-management
>>    
>> <https://github.com/wso2/carbon-identity-mgt/blob/master/features/org.wso2.carbon.identity.recovery.feature/resources/conf/identity-management.yaml>
>>
>> But as for the new model what are the configs that we need to move to
>> deployment.yaml?
>>
>
> ​What you mean by, "what are the configs" ?
> Because anyway we have to move all into an one file, right ? That is not
> possible to keep multiple files as in new model. Please make me correct if
> I didn't get what meant.​
>
>>
>> [1] https://github.com/wso2/carbon-identity-mgt
>> [2] https://github.com/wso2/carbon-kernel/blob/master/docs/
>> DeveloperTools/UpdatingConfigurations.md
>>
>> Thanks,
>> Ashen
>> --
>> *Ashen Weerathunga*
>> Software Engineer
>> WSO2 Inc.: http://wso2.com
>> lean.enterprise.middleware
>>
>> Email: [email protected]
>> Mobile: +94716042995 <94716042995>
>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>> <http://lk.linkedin.com/in/ashenweerathunga>*
>> <http://wso2.com/signature>
>>
>
>


-- 
Omindu Rathnaweera
Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to