Final merge from TTF T048

Merge request reports

Loading
+8 −8
Changes for etc/AtsMec_Location/AtsMec_Location_Sandbox.cf_: 8 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ LocationAPI_Pixits.PX_ACCESS_POINT_ID := "4g-macro-cell-6"
LocationAPI_Pixits.PX_AP_COORD_LAT             := 43.737087
LocationAPI_Pixits.PX_AP_COORD_LONG            := 7.421007
LocationAPI_Pixits.PX_CONNECTION_TYPE          := LTE
LocationAPI_Pixits.PX_USER                     := "10.10.0.1"
LocationAPI_Pixits.PX_USER_2                   := "10.100.0.1"
LocationAPI_Pixits.PX_USER                     := "10.100.0.1"
LocationAPI_Pixits.PX_USER_2                   := "10.10.0.1"
LocationAPI_Pixits.PX_IP_ADDRESS               := "10.1.0.1"
LocationAPI_Pixits.PX_IP_ADDRESS_1             := "10.100.0.1"
LocationAPI_Pixits.PX_ZONE_ID_1                := "zone01"
@@ -47,10 +47,10 @@ LocationAPI_Pixits.PX_UE_COORD_LONG := 7.421802
# you want to log into the file or display on console (standard error).

LogFile := "../logs/AtsMec_Location/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TESTCASE
#ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TESTCASE
#FileMask := LOG_ALL | USER | DEBUG | MATCHING
#ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TESTCASE
ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TESTCASE
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
@@ -108,7 +108,7 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec_mec013)/TCP(debug=1
# Check that the IUT acknowledges the creation of UE area subscription request when commanded by a MEC Application
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEAREASUB_001_OK_01
# Check that the IUT acknowledges the creation of UE area subscription request when commanded by a MEC Application
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEAREASUB_001_OK_02
AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEAREASUB_001_OK_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEAREASUB_001_BR
# Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application
@@ -198,7 +198,7 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec_mec013)/TCP(debug=1
# Check that the IUT acknowledges a request to modify a not existing subscription by a MEC Application
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_003_NF_02
# Check that the IUT provides a test notification when requested by a MEC Application
AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETESTNOT_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETESTNOT_001_OK
# Check that the IUT responds with a list zones when queried by a MEC Application
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEZONELOOK_001_OK
# Check that the IUT responds with the subscription when queried by a MEC Application - Zone location Event
+9.89 KiB

File added.

No diff preview for this file type.

+251
Changes for plantuml/webserver/static/style.css: 251 added lines, 0 removed lines.
Original line number Diff line number Diff line
/* ETSI graphic chart, matching the colors already used in plantuml/etsi-style.iuml
   for the sequence diagrams themselves (Navy / RoyalBlue / LightBlue / DimGray). */
:root {
  --etsi-navy: #000080;
  --etsi-royalblue: #4169E1;
  --etsi-lightblue: #ADD8E6;
  --etsi-gray: #696969;
  --etsi-white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--etsi-white);
  color: #1a1a1a;
}

.etsi-header {
  background: var(--etsi-navy);
  color: var(--etsi-white);
}

.etsi-header__bar {
  height: 6px;
  background: var(--etsi-royalblue);
}

.etsi-header__content {
  padding: 16px 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.etsi-header__brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.etsi-header__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--etsi-lightblue);
}

.etsi-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

h1 {
  color: var(--etsi-navy);
  font-size: 1.4rem;
  border-bottom: 2px solid var(--etsi-royalblue);
  padding-bottom: 8px;
}

.etsi-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.etsi-table th {
  background: var(--etsi-navy);
  color: var(--etsi-white);
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
}

.etsi-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

.etsi-table tr:hover {
  background: var(--etsi-lightblue);
}

.etsi-button {
  display: inline-block;
  background: var(--etsi-royalblue);
  color: var(--etsi-white);
  padding: 6px 14px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9rem;
}

.etsi-button:hover {
  background: var(--etsi-navy);
}

.etsi-back {
  color: var(--etsi-royalblue);
  text-decoration: none;
  font-weight: 600;
}

.etsi-back:hover {
  color: var(--etsi-navy);
}

.etsi-hint {
  color: var(--etsi-gray);
  font-size: 0.9rem;
}

.etsi-diagram {
  border: 1px solid #ccc;
  overflow: auto;
  background: var(--etsi-white);
}

.etsi-diagram object {
  width: 100%;
  min-height: 600px;
}

.etsi-empty {
  color: var(--etsi-gray);
  font-style: italic;
}

/* Verdict badge colors mirror the hnote colors used inside the diagrams
   themselves (see plantuml/__main__.py's 'verdict'/'final_verdict' handling),
   so a diagram's result reads the same way here as it does once you open it. */
.etsi-verdict {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--etsi-white);
}
.etsi-verdict--red {
  background: #c0392b;
}
.etsi-verdict--green {
  background: #2e7d32;
}
.etsi-verdict--yellow {
  background: #b8860b;
}
.etsi-verdict--orange {
  background: #d2691e;
}
.etsi-verdict--gray {
  background: var(--etsi-gray);
}
.etsi-verdict--unknown {
  background: #e0e0e0;
  color: #666;
}

.etsi-message {
  background: #f7f9fc;
  border: 1px solid #ccc;
  border-left: 4px solid var(--etsi-royalblue);
  padding: 16px 20px;
  margin-top: 16px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
  color: #1a1a1a;
}

/* Holds every floating message window. Not a modal backdrop -- it doesn't dim
   the page and only intercepts pointer events where a window actually is, so
   the diagram underneath stays clickable while windows are open. */
.etsi-floating-windows {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.etsi-window {
  position: fixed;
  pointer-events: auto;
  background: var(--etsi-white);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  width: min(800px, calc(100vw - 48px));
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.etsi-window__header {
  background: var(--etsi-navy);
  color: var(--etsi-white);
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 4px solid var(--etsi-royalblue);
  flex-shrink: 0;
  cursor: move;
  touch-action: none;
  user-select: none;
}

.etsi-window__title {
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-all;
}

.etsi-window__close {
  background: none;
  border: none;
  color: var(--etsi-white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.etsi-window__close:hover {
  color: var(--etsi-lightblue);
}

.etsi-window__body {
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: auto;
  flex: 1;
}

.etsi-footer {
  text-align: center;
  color: var(--etsi-gray);
  font-size: 0.8rem;
  padding: 24px;
}
+24
Changes for plantuml/webserver/templates/base.html: 24 added lines, 0 removed lines.
Original line number Diff line number Diff line
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{% block title %}ETSI TTCN-3 Diagram Viewer{% endblock %}</title>
  <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
  <header class="etsi-header">
    <div class="etsi-header__bar"></div>
    <div class="etsi-header__content">
      <span class="etsi-header__brand">ETSI</span>
      <span class="etsi-header__title">TTCN-3 Sequence Diagram Viewer</span>
    </div>
  </header>
  <main class="etsi-main">
    {% block content %}{% endblock %}
  </main>
  <footer class="etsi-footer">
    {{ ats }} / TITAN Test System Framework
  </footer>
</body>
</html>
+39
Changes for plantuml/webserver/templates/index.html: 39 added lines, 0 removed lines.
Original line number Diff line number Diff line
{% extends "base.html" %}
{% block title %}Diagrams — ETSI TTCN-3 Diagram Viewer{% endblock %}
{% block content %}
  <h1>Available diagrams</h1>
  {% if diagrams %}
    <table class="etsi-table">
      <thead>
        <tr>
          <th>Test case</th>
          <th>Verdict</th>
          <th>Generated</th>
          <th>Size</th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        {% for d in diagrams %}
        <tr>
          <td>{{ d.title }}</td>
          <td>
            {% if d.verdict %}
              <span class="etsi-verdict etsi-verdict--{{ d.verdict_color }}">{{ d.verdict }}</span>
            {% else %}
              <span class="etsi-verdict etsi-verdict--unknown">n/a</span>
            {% endif %}
          </td>
          <td>{{ d.modified }}</td>
          <td>{{ d.size_kb }} KB</td>
          <td><a class="etsi-button" href="{{ url_for('view', name=d.name) }}">View</a></td>
        </tr>
        {% endfor %}
      </tbody>
    </table>
  {% else %}
    <p class="etsi-empty">
      No SVG diagrams found in <code>plantuml/</code>. Run <code>scripts/generate_png.sh</code> first.
    </p>
  {% endif %}
{% endblock %}
Loading
Loading