Removed the handle index (not needed because the uuid index will always be used internally) and all associated code.

This commit is contained in:
Michael W Spalti
2019-10-30 13:59:10 -07:00
parent 9a0a1645fb
commit d309b2081c
16 changed files with 83 additions and 162 deletions

View File

@@ -19,10 +19,15 @@ import { MetadatafieldParsingService } from './metadatafield-parsing.service';
import { URLCombiner } from '../url-combiner/url-combiner';
import { TaskResponseParsingService } from '../tasks/task-response-parsing.service';
import { MappedCollectionsReponseParsingService } from './mapped-collections-reponse-parsing.service';
import { IdentifierType } from '../index/index.reducer';
/* tslint:disable:max-classes-per-file */
// uuid and handle requests have separate endpoints
export enum IdentifierType {
UUID ='uuid',
HANDLE = 'handle'
}
export abstract class RestRequest {
public responseMsToLive = 0;
constructor(
@@ -126,8 +131,7 @@ export class FindByIDRequest extends GetRequest {
constructor(
uuid: string,
href: string,
public resourceID: string,
public identifierType?: IdentifierType
public resourceID: string
) {
super(uuid, href);
}