Skip to content

Commit 51d3107

Browse files
authored
fix: cleanup (#8)
- fix license - ready to export as lib
1 parent 5244459 commit 51d3107

File tree

449 files changed

+5939
-856
lines changed

Some content is hidden

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

449 files changed

+5939
-856
lines changed

cmd/streamnative-mcp-server/main.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/auth.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/authorization_tokenretriever.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/cache/cache.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/client_credentials_flow.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/client_credentials_provider.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/config_tokenprovider.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/data_url.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/oidc_endpoint_provider.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

pkg/auth/store/keyring.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Licensed to Elasticsearch B.V. under one or more contributor
2-
// license agreements. See the NOTICE file distributed with
3-
// this work for additional information regarding copyright
4-
// ownership. Elasticsearch B.V. licenses this file to you under
5-
// the Apache License, Version 2.0 (the "License"); you may
6-
// not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
88
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
1010
//
1111
// Unless required by applicable law or agreed to in writing,
1212
// software distributed under the License is distributed on an

0 commit comments

Comments
 (0)