changes related to https://wso2.org/jira/browse/BPS-574 ( Moving the artifact storage from Registry to BPS corresponding DB )