Configuring resource routing and endpoints