wso2 / carbon-config

40 stars 35 forks source link

Add new method in config provider to get configurations for bean class without namespace #64

Closed daneshk closed 7 years ago

daneshk commented 7 years ago

Purpose

Resolves #63

Goals

Add new method in config provider to get the configurations for bean class without namespace.

Approach

Add new method to pass namespace and configuration bean class. When we call the method, first check the configuration for the namespace, if configuration exists in deployment.yaml, system generates bean object by overriding the configuration of the namespace. Here we are not checking the namespace of the bean class.

If the given namespace is null or doesn't have configuration for the namespace. then system checks the bean namespace and generate the bean object.

User stories

README is updated with new changes.

Documentation

README is updated with new changes.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Security checks

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

JDK 8, Linux environment