Skip to content

Commit

Permalink
Add copyright notices and licensing information to scripts and config… (
Browse files Browse the repository at this point in the history
#676)

* Add copyright notices and licensing information to scripts and configuration files

* Enhance:
- Network rules for storage accounts and keyvaults by adding bypass options for Metrics, Logging, and AzureServices
- content type for keyvault secrets

---------

Co-authored-by: hdamecharla <hdamecharla@microsoft.com>
  • Loading branch information
KimForss and hdamecharla authored Dec 20, 2024
1 parent 36bb999 commit 10c0520
Show file tree
Hide file tree
Showing 710 changed files with 2,262 additions and 123 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Copyright (c) Microsoft Corporation. -->
<!-- Licensed under the MIT License. -->

# Project

The SAP deployment automation framework on Azure is an open-source orchestration tool for deploying, installing and maintaining SAP environments. You can create infrastructure for SAP landscapes based on SAP HANA and NetWeaver with AnyDB on any of the SAP-supported operating system versions and deploy them into any Azure region.
Expand Down Expand Up @@ -41,3 +44,8 @@ trademarks or logos is subject to and must follow
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.


> Copyright (c) Microsoft Corporation.
> Licensed under the MIT License.
> See [LICENSE](/LICENSE) for more information.
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/ArmclientController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure;
using Azure.Core;
using Azure.ResourceManager;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/EnvironmentController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/FileController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using SDAFWebApp.Services;
using SDAFWebApp.Controllers;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/Helper.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using SDAFWebApp.Services;
using Microsoft.AspNetCore.Http;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/LandscapeController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Configuration;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/RestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure.Core;
using Azure.Identity;
using Microsoft.AspNetCore.Mvc;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/SystemController.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using SDAFWebApp.Services;
using Microsoft.AspNetCore.Mvc;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Controllers/ViewBagActionFilter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Configuration;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/AppFile.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/AppFileEntity.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure;
using Azure.Data.Tables;
using System;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/CustomValidators.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Controllers;
using Azure.ResourceManager.Resources;
using Microsoft.Extensions.FileSystemGlobbing.Internal;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/DatabaseSettings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{
public class DatabaseSettings : IDatabaseSettings
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/EnvironmentModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Newtonsoft.Json;

namespace SDAFWebApp.Models
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/ErrorViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{
public class ErrorViewModel
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/FileUploadModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/FormViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{
public class FormViewModel<T>
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/GitRequestBody.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{

Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/GroupingModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{
public class Grouping
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/ImageDropdown.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{
public class ImageDropdown
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/LandscapeEntity.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure;
using Azure.Data.Tables;
using System;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/LandscapeModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using static SDAFWebApp.Models.CustomValidators;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/ParameterModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Microsoft.AspNetCore.Mvc.Rendering;
using System.Collections.Generic;

Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/PipelineRequestBody.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

namespace SDAFWebApp.Models
{

Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/SapObjectIndexModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.Collections.Generic;

namespace SDAFWebApp.Models
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/SystemEntity.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure;
using Azure.Data.Tables;
using System;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Models/SystemModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using static SDAFWebApp.Models.CustomValidators;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;

Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Services/AppFileService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using Azure.Data.Tables;
using Azure.Storage.Blobs;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Services/ITableStorageService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Services/LandscapeService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using Azure;
using Azure.Data.Tables;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Services/SystemService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using Azure;
using Azure.Data.Tables;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Services/TableStorageService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using SDAFWebApp.Models;
using Azure.Data.Tables;
using Azure.Identity;
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure.Identity;
using Azure.ResourceManager;
using Microsoft.AspNetCore.Builder;
Expand Down
4 changes: 4 additions & 0 deletions Webapp/SDAF/wwwroot/css/prism.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Webapp/SDAF/wwwroot/css/site.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*/

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/wwwroot/js/prism.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Webapp/SDAF/wwwroot/js/site.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

// ================
// VALUE RETAINMENT
// ================
Expand Down
3 changes: 3 additions & 0 deletions Webapp/SDAF/wwwroot/js/web-components.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions boilerplate/01-deploy-control-plane.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: Deploying the control plane defined in $(deployerfolder) $(libraryfolder)

parameters:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/02-sap-workload-zone.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: Deploying the SAP Workload zone defined in $(workload_zone_folder)

parameters:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/03-sap-system-deployment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: SAP Infrastructure Deployment $(sap_system_folder)

parameters:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/04-sap-software-download.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: SAP Software download $(bom) $(environment_code) $(location_code)

parameters:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/05-DB-and-SAP-installation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: OS Configuration and SAP Installation $(sap_system_folder) $(bom)

parameters:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/10-remover-terraform.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: Removal

parameters:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/11-remover-arm-fallback.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

---
# /*---------------------------------------------------------------------------8
# | |
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/12-remove-control-plane.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

---
# /*---------------------------------------------------------------------------8
# | |
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/custom/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

name: Deploying the control plane defined in $(deployerfolder) $(libraryfolder)

variables:
Expand Down
3 changes: 3 additions & 0 deletions boilerplate/resources.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

resources:
repositories:
- repository: sap-automation
Expand Down
3 changes: 3 additions & 0 deletions deploy/ansible/action_plugins/public_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

#!/usr/bin/env python3.9
from __future__ import absolute_import, division, print_function

Expand Down
3 changes: 3 additions & 0 deletions deploy/ansible/configuration_menu.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

#!/bin/bash

export PATH=/opt/terraform/bin:/opt/ansible/bin:${PATH}
Expand Down
3 changes: 3 additions & 0 deletions deploy/ansible/download_menu.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

#!/bin/bash

export PATH=/opt/terraform/bin:/opt/ansible/bin:${PATH}
Expand Down
3 changes: 3 additions & 0 deletions deploy/ansible/filter_plugins/custom_filters.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import re
import traceback

Expand Down
3 changes: 3 additions & 0 deletions deploy/ansible/lookup_plugins/azure_keyvault_secret.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

Expand Down
Loading

0 comments on commit 10c0520

Please sign in to comment.