This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +190
-7
lines changed
Expand file tree Collapse file tree 11 files changed +190
-7
lines changed Original file line number Diff line number Diff line change 1+ TeNOR - NS Catalogue
2+
3+ Copyright 2014-2016 i2CAT Foundation
4+
5+ Licensed under the Apache License, Version 2.0 (the "License");
6+ you may not use this file except in compliance with the License.
7+ You may obtain a copy of the License at
8+
9+ http://www.apache.org/licenses/LICENSE-2.0
10+
11+ Unless required by applicable law or agreed to in writing, software
12+ distributed under the License is distributed on an "AS IS" BASIS,
13+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ See the License for the specific language governing permissions and
15+ limitations under the License.
Original file line number Diff line number Diff line change @@ -22,4 +22,22 @@ namespace :db do
2222 task :load_config do
2323 require './main'
2424 end
25- end
25+ end
26+
27+ task :headers do
28+ require 'rubygems'
29+ require 'copyright_header'
30+
31+ args = {
32+ :license => 'ASL2' ,
33+ :copyright_software => 'TeNOR' ,
34+ :copyright_software_description => "NS Catalogue" ,
35+ :copyright_holders => [ 'i2CAT Foundation' ] ,
36+ :copyright_years => [ '2014-2016' ] ,
37+ :add_path => 'routes:helpers' ,
38+ :output_dir => '.'
39+ }
40+
41+ command_line = CopyrightHeader ::CommandLine . new ( args )
42+ command_line . execute
43+ end
Original file line number Diff line number Diff line change 1+ #
2+ # TeNOR - NS Catalogue
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
118require_relative 'ns'
Original file line number Diff line number Diff line change 1+ #
2+ # TeNOR - NS Catalogue
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
118# @see OrchestratorNsCatalogue
219class OrchestratorNsCatalogue < Sinatra ::Application
320
@@ -42,4 +59,4 @@ def build_http_link(offset, limit)
4259 link
4360 end
4461
45- end
62+ end
Original file line number Diff line number Diff line change 1+ #
2+ # TeNOR - NS Catalogue
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
118require_relative 'ns'
Original file line number Diff line number Diff line change 1+ #
2+ # TeNOR - NS Catalogue
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
118# @see OrchestratorNsCatalogue
219class OrchestratorNsCatalogue < Sinatra ::Application
320
@@ -156,5 +173,4 @@ class OrchestratorNsCatalogue < Sinatra::Application
156173 ns . destroy
157174 return 200
158175 end
159- end
160-
176+ end
Original file line number Diff line number Diff line change 1+ TeNOR - NS Catalogue
2+
3+ Copyright 2014-2016 i2CAT Foundation
4+
5+ Licensed under the Apache License, Version 2.0 (the "License");
6+ you may not use this file except in compliance with the License.
7+ You may obtain a copy of the License at
8+
9+ http://www.apache.org/licenses/LICENSE-2.0
10+
11+ Unless required by applicable law or agreed to in writing, software
12+ distributed under the License is distributed on an "AS IS" BASIS,
13+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ See the License for the specific language governing permissions and
15+ limitations under the License.
Original file line number Diff line number Diff line change 1- require_relative 'nsd'
1+ #
2+ # TeNOR - NSD Validator
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
18+ require_relative 'nsd'
Original file line number Diff line number Diff line change 1+ #
2+ # TeNOR - NSD Validator
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
118# @see OrchestratorNsdValidator
219class OrchestratorNsdValidator < Sinatra ::Application
320
@@ -85,4 +102,4 @@ def validate_xml_nsd(nsd)
85102 return nsd , errors
86103 end
87104 end
88- end
105+ end
Original file line number Diff line number Diff line change 1+ #
2+ # TeNOR - NSD Validator
3+ #
4+ # Copyright 2014-2016 i2CAT Foundation
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
118require_relative 'nsd'
You can’t perform that action at this time.
0 commit comments