Skip to content

Port existing frontend UI to Angular#353

Open
Lagejohn wants to merge 45 commits into
mainfrom
feature/angular-port
Open

Port existing frontend UI to Angular#353
Lagejohn wants to merge 45 commits into
mainfrom
feature/angular-port

Conversation

@Lagejohn
Copy link
Copy Markdown

No description provided.

@Lagejohn Lagejohn marked this pull request as ready for review May 13, 2026 23:14
const formData = new FormData();

formData.append('adm', file);
const headers = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was getting error 500: Http failure response for http://localhost:4200/api/core/adms: 500 Internal Server Error when attempting to upload a new ADM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dd293e3 fixes this

}

private processReport(report: any): void {
let rpt: any[] = [];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using the new /report/dictionary/search/idx/ post route
Which returns something like below

there is a mismatch between the table header column size and the row columns sizes that can make viewing not great but that can be something fixed later

[
  {
    "agent": 1,
    "reports": [
      [
        {
          "reference_time": "2026-04-21T13:07:58.302862+00:00",
          "mgr_time": "2026-04-21T18:07:58.347402+00:00",
          "agent_time": "2026-04-21T13:07:58.302862+00:00",
          "rpt_set_nonce": "ari:42102",
          "report_source": "ari://ietf/dtnma-agent/CTRL/inspect(//ietf/dtnma-agent/CONST/hello)",
          "col 0": "ari:/AC/(//ietf/dtnma-agent/EDD/sw-vendor,//ietf/dtnma-agent/EDD/sw-version,//ietf/dtnma-agent/EDD/capability)"
        },
        {
          "reference_time": "2026-04-21T13:08:03.366086+00:00",
          "mgr_time": "2026-04-21T18:08:03.391580+00:00",
          "agent_time": "2026-04-21T13:08:03.366086+00:00",
          "rpt_set_nonce": "ari:42102", 

this.ariSearchText = ari.display;
this.updateAriText();
}
protected onParamAriSelectedPrim(paramIndex: number, ari: string): void {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added new function to allow users to input ARI that are not defined in the database

Comment thread anms-ui/README.md Outdated
- Bootstrap 5

## Development
Project source files are Located under `angular-port/anms-ui` until VUE to Angular port is complete.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to update the README path here.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 1, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread anms.Containerfile
COPY --chown=${APP_USER}:${APP_USER} \
anms-ui/config.yaml anms-ui/process.yml anms-ui/config_ui_env.js anms-ui/data* ${APP_WORK_DIR}

CMD ["pm2-docker", "process.yml", "--env", "production"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a replacement to the entrypoint CMD. This might explain the current CI issue.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
C Reliability Rating on New Code (required ≥ A)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

4 participants