public function getResourceDiscovery() {
		if ($this->resourceDiscovery === null) {
			$repo = $this->getResourceRepository();
			$this->resourceDiscovery = $this->getPuliFactory()->createDiscovery($repo);
		}

		return $this->resourceDiscovery;
	}