mitchell852 edited a comment on pull request #5473:
URL: https://github.com/apache/trafficcontrol/pull/5473#issuecomment-771210941


   ok, so now we need to get our open source license checker (weasel) to be 
happy. you will need this on the top of all your code files. i.e. your ts files 
and bash files.
   
   ```
   /*
    * Licensed to the Apache Software Foundation (ASF) under one
    * or more contributor license agreements.  See the NOTICE file
    * distributed with this work for additional information
    * regarding copyright ownership.  The ASF licenses this file
    * to you under the Apache License, Version 2.0 (the
    * "License"); you may not use this file except in compliance
    * with the License.  You may obtain a copy of the License at
    *
    *   http://www.apache.org/licenses/LICENSE-2.0
    *
    * 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.
    */
   ```
   
   here are some examples:
   
   
https://github.com/apache/trafficcontrol/blob/master/infrastructure/cdn-in-a-box/traffic_ops/to-access.sh
   
https://github.com/apache/trafficcontrol/blob/master/traffic_portal/test/end_to_end/CDNs/cdns-spec.js
   
   More specifically, it looks like these files need the license disclaimer:
   
   ```
   Error                                 Unknown! 
traffic_portal/test/integration/.gitignore
   Error                                 Unknown! 
traffic_portal/test/integration/CommonUtils/API.ts
   Error                                 Unknown! 
traffic_portal/test/integration/Dockerfile
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/ASNs.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/BasePage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/CDNPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/CacheGroup.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/CoordinatesPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/Divisions.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/LoginPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/OriginsPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/ParametersPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/PhysLocationsPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/ProfilesPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/RegionsPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/ServerCapabilitiesPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/ServersPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/ServiceCategories.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/SideNavigationPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/Statuses.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/TenantsPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/TopNavigationPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/Types.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/PageObjects/UsersPage.po.ts
   Error                                 Unknown! 
traffic_portal/test/integration/config.ts
   Error                                 Unknown! 
traffic_portal/test/integration/runtests.bash
   Error                                 Unknown! 
traffic_portal/test/integration/specs/ASNs.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/CDNs.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/CacheGroup.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Coordinates.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Divisions.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Origins.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Parameters.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/PhysLocations.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Profiles.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Regions.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/ServerCapabilities.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/ServerServerCapabilities.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Servers.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/ServiceCategories.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Statuses.spec.ts
   Error                                 Unknown! 
traffic_portal/test/integration/specs/Types.spec.ts
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to