put in config for resource repository factory