Skip to content

Commit 0e06e45

Browse files
authored
Fix JSON issue (omec-project#100)
* Fix JSON issue Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com> * Move `validate` action to also run for `pull_request` Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com> --------- Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
1 parent d432a05 commit 0e06e45

File tree

3 files changed

+37
-37
lines changed

3 files changed

+37
-37
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ permissions:
1515
contents: read
1616

1717
jobs:
18+
validate:
19+
permissions:
20+
contents: write
21+
actions: read
22+
id-token: write
23+
uses: omec-project/.github/.github/workflows/validate.yml@64e827412bb394b5458ef48b4e178fc1c702678a # v0.0.10
24+
with:
25+
branch_name: ${{ github.ref }}
26+
1827
doc8:
1928
permissions:
2029
contents: read

.github/workflows/push.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
validate:
17-
permissions:
18-
contents: write
19-
actions: read
20-
id-token: write
21-
uses: omec-project/.github/.github/workflows/validate.yml@64e827412bb394b5458ef48b4e178fc1c702678a # v0.0.10
22-
with:
23-
branch_name: ${{ github.ref }}
24-
2516
tag-github:
2617
permissions:
2718
contents: write

configuration/config_rest.rst

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -227,36 +227,36 @@ at address ``10.91.1.3``.
227227
"mnc": "010"
228228
},
229229
"gNodeBs":
230-
[
231-
{
232-
"name": "menlo-gnb1",
233-
"tac": 1
234-
}
235-
],
236-
"upf":
237-
{
238-
"upf-name": "upf.menlo.aetherproject.org",
239-
"upf-port": 8805
240-
}
230+
[
231+
{
232+
"name": "menlo-gnb1",
233+
"tac": 1
234+
}
235+
],
236+
"upf":
237+
{
238+
"upf-name": "upf.menlo.aetherproject.org",
239+
"upf-port": 8805
240+
}
241241
},
242242
"application-filtering-rules":
243-
[
244-
{
245-
"rule-name": "rule-1",
246-
"priority": 5,
247-
"action": "permit",
248-
"endpoint": "10.91.1.3",
249-
"traffic-class":
250-
{
251-
"name": platinum,
252-
"qci": 9,
253-
"arp": 125,
254-
"pdb": 300,
255-
"pelr": 6
256-
}
257-
}
258-
]
259-
}
243+
[
244+
{
245+
"rule-name": "rule-1",
246+
"priority": 5,
247+
"action": "permit",
248+
"endpoint": "10.91.1.3",
249+
"traffic-class":
250+
{
251+
"name": "platinum",
252+
"qci": 9,
253+
"arp": 125,
254+
"pdb": 300,
255+
"pelr": 6
256+
}
257+
}
258+
]
259+
}
260260
261261
**DELETE Request** - Remove a network slice:
262262

0 commit comments

Comments
 (0)