'return the self.registry_parts'

def get(self):

    self.deploymentconfig = None
    self.service = None
    rval = 0
    for part in self.registry_parts:
        result = self._get(part['kind'], name=part['name'])
        if ((result['returncode'] == 0) and (part['kind'] == 'dc')):
            self.deploymentconfig = DeploymentConfig(result['results'][0])
        elif ((result['returncode'] == 0) and (part['kind'] == 'svc')):
            self.service = Service(result['results'][0])
        if (result['returncode'] != 0):
            rval = result['returncode']
    return {'returncode': rval, 'deploymentconfig': self.deploymentconfig, 'service': self.service}
