Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1e4e10e
Feat: Multiple DNN
anaswarac-dac Jul 15, 2025
54a11f0
Bump golang from 1.24.5-bookworm to 1.24.6-bookworm (#163)
dependabot[bot] Aug 11, 2025
c4b61ce
Bump golang.org/x/net from 0.42.0 to 0.43.0 (#164)
dependabot[bot] Aug 11, 2025
8c61fcf
Bump golang from 1.24.6-bookworm to 1.25.0-bookworm (#166)
dependabot[bot] Aug 18, 2025
0f05dc8
Bump github.com/urfave/cli/v3 from 3.3.8 to 3.4.1 (#165)
dependabot[bot] Aug 18, 2025
bde8f92
Bump golang from 1.25.0-bookworm to 1.25.1-bookworm (#167)
dependabot[bot] Sep 8, 2025
c9cac3b
Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 (#168)
dependabot[bot] Sep 8, 2025
f931484
Replace unmaintained dependency gopkg.in/yaml.v2 with go.yaml.in/yaml…
gab-arrobo Sep 9, 2025
04fd962
Bump golang.org/x/net from 0.43.0 to 0.44.0 (#171)
dependabot[bot] Sep 15, 2025
310c394
Bump github.com/spf13/viper from 1.20.1 to 1.21.0 (#170)
dependabot[bot] Sep 15, 2025
a4f2576
Bump golang from 1.25.1-bookworm to 1.25.2-bookworm (#173)
dependabot[bot] Oct 13, 2025
c3db5e4
Bump golang.org/x/net from 0.44.0 to 0.46.0 (#172)
dependabot[bot] Oct 13, 2025
3155f87
Bump golang from 1.25.2-bookworm to 1.25.3-bookworm (#174)
dependabot[bot] Oct 20, 2025
eb67bf2
Bump github.com/urfave/cli/v3 from 3.4.1 to 3.5.0 (#175)
dependabot[bot] Oct 27, 2025
1f5e6f2
Bump golang from 1.25.3-bookworm to 1.25.4-bookworm (#178)
dependabot[bot] Nov 10, 2025
dfe47b0
Bump github.com/urfave/cli/v3 from 3.5.0 to 3.6.0 (#176)
dependabot[bot] Nov 10, 2025
0b0c9ca
Bump go.yaml.in/yaml/v4 from 4.0.0-rc.2 to 4.0.0-rc.3 (#177)
dependabot[bot] Nov 10, 2025
10f6c52
Bump go.uber.org/zap from 1.27.0 to 1.27.1 (#180)
dependabot[bot] Nov 24, 2025
ffcc19a
Bump github.com/urfave/cli/v3 from 3.6.0 to 3.6.1 (#181)
dependabot[bot] Nov 24, 2025
67ada80
Bump golang.org/x/net from 0.46.0 to 0.47.0 (#179)
dependabot[bot] Nov 24, 2025
db72012
Add GHA for scorecard analysis (OpenSSF) (#182)
sureshmarikkannu Nov 28, 2025
c796b4d
Add openssf scorecard link to README (#183)
sureshmarikkannu Nov 28, 2025
6ac75fb
Bump alpine from 3.22 to 3.23 (#184)
dependabot[bot] Dec 8, 2025
863b37b
Bump golang from 1.25.4-bookworm to 1.25.5-bookworm (#185)
dependabot[bot] Dec 8, 2025
362984f
Modernize code and improve logging (#186)
gab-arrobo Dec 10, 2025
b42fd11
Group github-action PRs (#187)
sureshmarikkannu Dec 12, 2025
9e28917
Bump the actions-deps group with 14 updates (#190)
dependabot[bot] Dec 12, 2025
ee822fe
Bump golang from `5117d68` to `09f53de` (#189)
dependabot[bot] Dec 12, 2025
36e303d
Bump golang.org/x/net from 0.47.0 to 0.48.0 (#188)
dependabot[bot] Dec 13, 2025
0fc171a
Bump alpine from `51183f2` to `865b95f` (#191)
dependabot[bot] Jan 8, 2026
ae7162a
Bump golang from `09f53de` to `2c7c656` (#192)
dependabot[bot] Jan 8, 2026
5469ca6
Update simapp.go
anaswarac-dac Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

* @omec-project/5gc-maintainers
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@ updates:
day: "sunday"
time: "21:00"
timezone: "America/Los_Angeles"

- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
day: "sunday"
time: "21:00"
timezone: "America/Los_Angeles"
groups:
actions-deps:
patterns:
- "*"
85 changes: 77 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation
name: CI Pipeline

on:
pull_request:
branches:
Expand All @@ -8,43 +10,110 @@ on:
branches:
- main

permissions:
contents: read

jobs:
build:
uses: omec-project/.github/.github/workflows/build.yml@main
permissions:
contents: read
actions: read
security-events: write
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/build.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

docker-build:
uses: omec-project/.github/.github/workflows/docker-build.yml@main
permissions:
contents: read
packages: write
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/docker-build.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

static-analysis:
uses: omec-project/.github/.github/workflows/static-analysis.yml@main
permissions:
contents: read
security-events: write
actions: read
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/static-analysis.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

lint:
uses: omec-project/.github/.github/workflows/lint.yml@main
permissions:
contents: read
checks: write
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/lint.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

hadolint:
uses: omec-project/.github/.github/workflows/hadolint.yml@main
permissions:
contents: read
security-events: write
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/hadolint.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

license-check:
uses: omec-project/.github/.github/workflows/license-check.yml@main
permissions:
contents: read
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/license-check.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

fossa-scan:
uses: omec-project/.github/.github/workflows/fossa-scan.yml@main
permissions:
contents: read
security-events: write
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/fossa-scan.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

unit-tests:
uses: omec-project/.github/.github/workflows/unit-test.yml@main
permissions:
contents: read
checks: write
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/unit-test.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}

analysis:
if: github.repository_owner == 'omec-project'
permissions:
actions: read
artifact-metadata: read
attestations: read
checks: read
contents: read
deployments: read
discussions: read
id-token: write
issues: read
models: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: write
statuses: read
uses: omec-project/.github/.github/workflows/scorecard-analysis.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
branch_name: ${{ github.ref }}
32 changes: 28 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,60 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation
name: Release Pipeline

on:
push:
branches:
- main
paths:
- "VERSION"

permissions:
contents: read

jobs:
tag-github:
uses: omec-project/.github/.github/workflows/tag-github.yml@main
permissions:
contents: write
actions: read
id-token: write
uses: omec-project/.github/.github/workflows/tag-github.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
secrets: inherit

release-image:
needs: tag-github
uses: omec-project/.github/.github/workflows/release-image.yml@main
permissions:
contents: read
packages: write
actions: read
id-token: write
attestations: write
uses: omec-project/.github/.github/workflows/release-image.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
changed: ${{ needs.tag-github.outputs.changed }}
version: ${{ needs.tag-github.outputs.version }}
secrets: inherit

update-version:
needs: tag-github
uses: omec-project/.github/.github/workflows/update-version.yml@main
permissions:
contents: write
pull-requests: write
actions: read
id-token: write
uses: omec-project/.github/.github/workflows/update-version.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
changed: ${{ needs.tag-github.outputs.changed }}
version: ${{ needs.tag-github.outputs.version }}
secrets: inherit

branch-release:
needs: tag-github
uses: omec-project/.github/.github/workflows/branch-release.yml@main
permissions:
contents: write
actions: read
id-token: write
uses: omec-project/.github/.github/workflows/branch-release.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
release_branch: ${{ needs.tag-github.outputs.release_branch }}
version_branch: ${{ needs.tag-github.outputs.version_branch }}
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
issues: write
pull-requests: write
contents: read

jobs:
stale:
uses: omec-project/.github/.github/workflows/stale-issue.yml@main
permissions:
issues: write
pull-requests: write
contents: read
actions: read
uses: omec-project/.github/.github/workflows/stale-issue.yml@76c248f1621bfe102956c558ea8cecfe5df143bf # v0.0.3
with:
days_before_stale: 120
days_before_close: 15
Expand Down
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.29.0
hooks:
- id: gitleaks
- repo: https://github.com/golangci/golangci-lint
rev: v2.6.1
hooks:
- id: golangci-lint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#

FROM golang:1.24.5-bookworm AS builder
FROM golang:1.25.5-bookworm@sha256:2c7c65601b020ee79db4c1a32ebee0bf3d6b298969ec683e24fcbea29305f10e AS builder

RUN apt-get update && \
apt-get -y install --no-install-recommends \
Expand All @@ -15,7 +15,7 @@ WORKDIR $GOPATH/src/simapp
COPY . .
RUN make all

FROM alpine:3.22 AS simapp
FROM alpine:3.23@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62 AS simapp

LABEL maintainer="Aether SD-Core <[email protected]>" \
description="Aether open source 5G Core Network" \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Copyright 2021-present Open Networking Foundation
SPDX-License-Identifier: Apache-2.0
-->
[![Go Report Card](https://goreportcard.com/badge/github.com/omec-project/simapp)](https://goreportcard.com/report/github.com/omec-project/simapp)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/omec-project/simapp/badge)](https://scorecard.dev/viewer/?uri=github.com/omec-project/simapp)

# Simapp
## Sim subscription app for Aether
Expand All @@ -22,7 +23,7 @@ slices as well
- In case ROC is running in the deployment then network slices can be configured
from ROC

## Reach out to us thorugh
## Reach out to us through
1. #sdcore-dev channel in [ONF Community Slack](https://onf-community.slack.com/)
2. Extensive SD-Core documentation can be found at [SD-Core Documentation](https://docs.sd-core.opennetworking.org/main/index.html)
3. Raise Github issues
41 changes: 41 additions & 0 deletions docs/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
SPDX-FileCopyrightText: 2025 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->
# Security Policy

## Supported Versions

We release patches for security vulnerabilities in the following versions:

| Version | Supported |
| ------- | ------------------ |
| 1.x.x | :white_check_mark: |

## Reporting a Vulnerability

If you discover a security vulnerability, please:

1. **DO NOT** create a public GitHub issue
2. Email us at: [email protected]
3. Include detailed information about the vulnerability
4. Allow us reasonable time to address the issue before public disclosure

### What to Include

- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact assessment
- Any proof-of-concept code (if applicable)

## Security Best Practices

When using this project:
- Keep dependencies up to date
- Use the latest supported version
- Follow secure coding practices
- Regularly audit your implementation

## Contact

Please see [here](https://github.com/omec-project/simapp/?tab=readme-ov-file#reach-out-to-us-through)
28 changes: 14 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ go 1.24.0

require (
github.com/fsnotify/fsnotify v1.9.0
github.com/spf13/viper v1.20.1
github.com/urfave/cli/v3 v3.3.8
go.uber.org/zap v1.27.0
golang.org/x/net v0.42.0
gopkg.in/yaml.v2 v2.4.0
github.com/spf13/viper v1.21.0
github.com/urfave/cli/v3 v3.6.1
go.uber.org/zap v1.27.1
go.yaml.in/yaml/v4 v4.0.0-rc.3
golang.org/x/net v0.48.0
)

require (
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
github.com/sagikazarmark/locafero v0.9.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.14.0 // indirect
github.com/spf13/cast v1.9.2 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/sagikazarmark/locafero v0.11.0 // indirect
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/sys v0.34.0 // indirect
golang.org/x/text v0.27.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/sys v0.39.0 // indirect
golang.org/x/text v0.32.0 // indirect
)
Loading