[ https://issues.apache.org/jira/browse/METRON-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574979#comment-16574979 ]
ASF GitHub Bot commented on METRON-1702: ---------------------------------------- Github user ruffle1986 commented on a diff in the pull request: https://github.com/apache/metron/pull/1156#discussion_r208968690 --- Diff: metron-interface/metron-alerts/src/app/pcap/pcap-panel/pcap-panel.component.ts --- @@ -15,22 +15,22 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { Component, Input } from '@angular/core'; +import { Component, OnInit, Input } from '@angular/core'; import { PcapService } from '../service/pcap.service'; import { PcapStatusResponse } from '../model/pcap-status-response'; import { PcapRequest } from '../model/pcap.request'; import { Pdml } from '../model/pdml'; import { Subscription } from 'rxjs/Rx'; import { PcapPagination } from '../model/pcap-pagination'; -import {RestError} from "../../model/rest-error"; +import { RestError } from "../../model/rest-error"; @Component({ selector: 'app-pcap-panel', templateUrl: './pcap-panel.component.html', styleUrls: ['./pcap-panel.component.scss'] }) -export class PcapPanelComponent { +export class PcapPanelComponent implements OnInit { --- End diff -- I've already done it here in this commit: https://github.com/apache/metron/commit/14dcb2d90581835d8206c65918c24e8cb04bfd06 It's already merged back into the feature branch and it implements the destroy interface and I also refactored it a bit to make it more maintainable. We both touched the same lines so these conflicts have to be resolved before merging it back. > Reload a running job in the UI > ------------------------------ > > Key: METRON-1702 > URL: https://issues.apache.org/jira/browse/METRON-1702 > Project: Metron > Issue Type: Sub-task > Reporter: Ryan Merriman > Assignee: Ryan Merriman > Priority: Major > > When a user reloads the UI, the state of a running pcap job is lost. We need > a way to look up and load a running job when a page is created. -- This message was sent by Atlassian JIRA (v7.6.3#76005)