Registering required RPs from template metadata (1588437)

If we added this piece of code this means we can remove the hard-coded list for resource manager in the lookup table.