Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit d749079

Browse files
authored
Merge pull request #380 from StackStorm/374-os-license
#374 - Change license for OpenSource
2 parents 6bf4b04 + c1c12b7 commit d749079

142 files changed

Lines changed: 2145 additions & 825 deletions

File tree

Some content is hidden

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

.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ rules:
144144

145145
notice/notice:
146146
- error
147-
- mustMatch: "(// Copyright \\d{4} [a-zA-Z0-9,\\.\\s]+\\n)+//\\n// Unauthorized copying of this file, via any medium is strictly\\n// prohibited. Proprietary and confidential. See the LICENSE file\\n// included with this work for details\\.\\n"
147+
- mustMatch: "(// Copyright \\d{4} [a-zA-Z0-9,\\.\\s]+\\n)+//\\n// Licensed under the Apache License, Version 2\\.0 \\(the \"License\"\\);\\n// you may not use this file except in compliance with the License\\.\\n// You may obtain a copy of the License at\\n//\\n//\\s+http://www\\.apache\\.org/licenses/LICENSE-2\\.0\\n//\\n// Unless required by applicable law or agreed to in writing, software\\n// distributed under the License is distributed on an \"AS IS\" BASIS,\\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n// See the License for the specific language governing permissions and\\n// limitations under the License\\.\\n"

LICENSE

Lines changed: 202 additions & 123 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ gulp lint
5858
5959
Copyright 2015-2020 Extreme Networks, Inc.
6060
61-
Unauthorized copying of this file, via any medium is strictly prohibited. Proprietary and confidential. See the [LICENSE](LICENSE) file included with this work for details.
61+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the [LICENSE](LICENSE) file, or at:
62+
63+
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
64+
65+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
6266
6367
By contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.

babel.config.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
// Copyright 2020 Extreme Networks, Inc.
22
//
3-
// Unauthorized copying of this file, via any medium is strictly
4-
// prohibited. Proprietary and confidential. See the LICENSE file
5-
// included with this work for details.
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
614

715
module.exports = function (api) {
816
api.cache(true);

config.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
// Copyright 2020 Extreme Networks, Inc.
22
//
3-
// Unauthorized copying of this file, via any medium is strictly
4-
// prohibited. Proprietary and confidential. See the LICENSE file
5-
// included with this work for details.
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
614

715
'use strict';
816

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Source: st2flow
22
Section: unknown
33
Priority: optional
4-
Maintainer: Extreme Networks <support@extremenetworks.com>
4+
Maintainer: StackStorm Authors
55
Build-Depends: debhelper (>= 9)
66
Standards-Version: 3.9.5
7-
Homepage: https://www.extremenetworks.com/product/workflow-composer/
7+
Homepage: https://github.com/StackStorm/st2flow
88

99
Package: st2flow
1010
Architecture: any

debian/copyright

Lines changed: 202 additions & 124 deletions
Large diffs are not rendered by default.

gulpfile.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
// Copyright 2020 Extreme Networks, Inc.
22
//
3-
// Unauthorized copying of this file, via any medium is strictly
4-
// prohibited. Proprietary and confidential. See the LICENSE file
5-
// included with this work for details.
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
614

715
/* jshint node: true */
816
'use strict';

main.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
// Copyright 2020 Extreme Networks, Inc.
22
//
3-
// Unauthorized copying of this file, via any medium is strictly
4-
// prohibited. Proprietary and confidential. See the LICENSE file
5-
// included with this work for details.
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
614

715
import React, { Component } from 'react';
816
import ReactDOM from 'react-dom';
@@ -199,7 +207,7 @@ class Window extends Component<{
199207
...runFormData,
200208
};
201209

202-
210+
203211
return api.request({
204212
method: 'post',
205213
path: '/executions',

modules/st2-api/api.js

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
// Copyright 2020 Extreme Networks, Inc.
22
//
3-
// Unauthorized copying of this file, via any medium is strictly
4-
// prohibited. Proprietary and confidential. See the LICENSE file
5-
// included with this work for details.
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
614

715
import _ from 'lodash';
816
import url from 'url';
@@ -99,7 +107,7 @@ export class API {
99107
message: res.data.faultstring || res.data,
100108
};
101109
}
102-
110+
103111
this.token = res.data;
104112
}
105113
catch (err) {
@@ -171,7 +179,7 @@ export class API {
171179
if (this.token && this.token.token) {
172180
headers['x-auth-token'] = this.token.token;
173181
}
174-
182+
175183
const config = {
176184
method,
177185
url: this.route(opts),
@@ -181,14 +189,14 @@ export class API {
181189
data,
182190
withCredentials: true,
183191
};
184-
192+
185193
if (this.rejectUnauthorized === false) {
186194
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
187195
}
188196
else {
189197
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '1';
190198
}
191-
199+
192200
const response = await axios(config);
193201

194202
const contentType = (response.headers || {})['content-type'] || [];

0 commit comments

Comments
 (0)