adlJobRestServer.ts 631 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

'use strict';

import * as component from '../../../common/component';
import { KubernetesJobRestServer } from '../kubernetesJobRestServer';
import { AdlTrainingService } from './adlTrainingService';

/**
 * Adl Training service Rest server, provides rest API to support adl job metrics update
 *
 */
@component.Singleton
export class AdlJobRestServer extends KubernetesJobRestServer {
    /**
     * constructor to provide NNIRestServer's own rest property, e.g. port
     */
    constructor() {
        super(component.get(AdlTrainingService));
    }
}