Skip to content

Commit 21945e1

Browse files
authored
Chore: migrate from openmfp (#6)
1 parent 640a38a commit 21945e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+691
-324
lines changed

.github/workflows/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
concurrency:
1414
group: ${{ github.ref }}
1515
cancel-in-progress: true
16-
uses: openmfp/gha/.github/workflows/pipeline-golang-module.yml@main
16+
uses: platform-mesh/.github/.github/workflows/pipeline-golang-module.yml@main
1717
secrets: inherit
1818
with:
1919
useLocalCoverageConfig: true

.mockery.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ packages:
99
OpenFGAServiceClient:
1010
config:
1111
structname: OpenFGAServiceClient
12-
github.com/openmfp/golang-commons/fga/store:
12+
github.com/platform-mesh/golang-commons/fga/store:
1313
config:
1414
dir: fga/store/mocks
1515
pkgname: mocks
@@ -18,7 +18,7 @@ packages:
1818
FGAStoreHelper:
1919
config:
2020
structname: FGAStoreHelper
21-
github.com/openmfp/golang-commons/policy_services:
21+
github.com/platform-mesh/golang-commons/policy_services:
2222
config:
2323
dir: fga/policy_services/mocks
2424
pkgname: mocks

.reuse/dep5

Lines changed: 0 additions & 9 deletions
This file was deleted.

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Default code owners
2-
* @openmfp/frame
2+
* @platform-mesh/frame @platform-mesh/tsc
33
go.mod
44
go.sum

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Overview
22

3-
# Contributing to openMFP
3+
# Contributing to Platform Mesh
44
We want to make contributing to this project as easy and transparent as possible.
55

66
## Our development process
@@ -26,5 +26,5 @@ We use GitHub issues to track bugs. Please ensure your description is
2626
clear and includes sufficient instructions to reproduce the issue.
2727

2828
## License
29-
By contributing to openMFP, you agree that your contributions will be licensed
29+
By contributing to Platform Mesh, you agree that your contributions will be licensed
3030
under its [Apache-2.0 license](LICENSE).

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# openMFP - golang-commons
2-
![Build Status](https://github.com/openmfp/golang-commons/actions/workflows/pipeline.yml/badge.svg)
1+
****# Platform Mesh - golang-commons
2+
![Build Status](https://github.com/platform-mesh/golang-commons/actions/workflows/pipeline.yml/badge.svg)
33
[![REUSE status](
4-
https://api.reuse.software/badge/github.com/openmfp/golang-commons)](https://api.reuse.software/info/github.com/openmfp/golang-commons)
4+
https://api.reuse.software/badge/github.com/platform-mesh/golang-commons)](https://api.reuse.software/info/github.com/platform-mesh/golang-commons)
55
## Description
66

77
golang-commons contains golang library packages to be reused across microservices and operators/controllers. The scope includes, but is not limited to:
@@ -12,13 +12,12 @@ golang-commons contains golang library packages to be reused across microservice
1212
- Logging
1313
- [Controllers](./controller/README.md)
1414

15-
1615
## Getting started
1716

1817
Add the dependency to your go module based project like so:
1918

2019
```
21-
go get github.com/openmfp/golang-commons
20+
go get github.com/platform-mesh/golang-commons
2221
```
2322

2423
## Releasing
@@ -41,12 +40,12 @@ P.S. If you have golang installed, it automatically installs the mockery binary
4140

4241
## Contributing
4342

44-
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file in this repository for instructions on how to contribute to openMFP.
43+
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file in this repository for instructions on how to contribute to Platform Mesh.
4544

4645
## Code of Conduct
4746

48-
Please refer to the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file in this repository informations on the expected Code of Conduct for contributing to openMFP.
47+
Please refer to the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file in this repository informations on the expected Code of Conduct for contributing to Platform Mesh.
4948

5049
## Licensing
5150

52-
Copyright 2024 SAP SE or an SAP affiliate company and openMFP contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/openmfp/golang-commons).
51+
Copyright 2024 SAP SE or an SAP affiliate company and Platform Mesh contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/platform-mesh/golang-commons).

REUSE.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version = 1
2+
SPDX-PackageName = "golang-commons"
3+
SPDX-PackageDownloadLocation = "https://github.com/platform-mesh/golang-commons"
4+
5+
[[annotations]]
6+
path = "**"
7+
precedence = "aggregate"
8+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and Platform Mesh contributors and golang-commons contributors."
9+
SPDX-License-Identifier = "Apache-2.0"

config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"github.com/spf13/pflag"
1414
"github.com/spf13/viper"
1515

16-
"github.com/openmfp/golang-commons/context/keys"
17-
"github.com/openmfp/golang-commons/traces"
16+
"github.com/platform-mesh/golang-commons/context/keys"
17+
"github.com/platform-mesh/golang-commons/traces"
1818
)
1919

2020
func SetConfigInContext(ctx context.Context, config any) context.Context {

config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/spf13/viper"
1010
"github.com/stretchr/testify/assert"
1111

12-
"github.com/openmfp/golang-commons/config"
12+
"github.com/platform-mesh/golang-commons/config"
1313
)
1414

1515
func TestSetConfigInContext(t *testing.T) {

context/context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"context"
99
"time"
1010

11-
"github.com/openmfp/golang-commons/config"
12-
"github.com/openmfp/golang-commons/logger"
11+
"github.com/platform-mesh/golang-commons/config"
12+
"github.com/platform-mesh/golang-commons/logger"
1313
)
1414

1515
// Can be used in StartContext to have a sane default timeout

0 commit comments

Comments
 (0)