Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4da95cc
[Nginx] Add NGINX cli
limingu Sep 2, 2022
e684a38
Update
limingu Sep 2, 2022
3061390
Merge branch 'main' into nginx62022
limingu Sep 2, 2022
113dc40
Add missing queryparam api-version;Write tests for deployment create,…
george-ngugi Sep 9, 2022
b798402
commit recordings;add apiversion query param to cert actions;add test…
george-ngugi Sep 12, 2022
ea1b31f
delete recordings
george-ngugi Sep 13, 2022
8dd0f81
make cert tests work
george-ngugi Sep 14, 2022
b3e863a
add config apiversion query params;add config tests; test recording
george-ngugi Sep 14, 2022
0847fee
fix conflict in owners
george-ngugi Sep 14, 2022
7e3a8f8
fix github owners conflict; remove deprecated test
george-ngugi Sep 14, 2022
b2de509
add new line
george-ngugi Sep 14, 2022
e372c53
add new line
george-ngugi Sep 14, 2022
678411a
Merge branch 'main' into nginx62022
limingu Sep 14, 2022
d752b02
make lint changes;add fresh test recordings
george-ngugi Sep 14, 2022
3783b52
Merge branch 'nginx62022' of https://github.com/limingu/azure-cli-ext…
george-ngugi Sep 14, 2022
f4270db
add az nginx to service names
george-ngugi Sep 14, 2022
8c419da
Update src/nginx/setup.py
george-ngugi Sep 19, 2022
4154afd
Update src/nginx/azext_nginx/azext_metadata.json
george-ngugi Sep 19, 2022
e3ab0c5
Remove policy.json test generated file
george-ngugi Sep 19, 2022
73196ed
edit src/nginx/azext_nginx/_help.py as not required
george-ngugi Sep 19, 2022
c2dad3a
remove cmds in params.py
george-ngugi Sep 19, 2022
40071bc
Merge branch 'nginx62022' of https://github.com/limingu/azure-cli-ext…
george-ngugi Sep 19, 2022
470a6e8
Add help
george-ngugi Sep 19, 2022
8e34302
not experimental
george-ngugi Sep 19, 2022
0b88bb8
fix linter issues
george-ngugi Sep 19, 2022
6d7e22e
fix linter white space issues
george-ngugi Sep 19, 2022
cd40f0d
fix linter white space issues
george-ngugi Sep 19, 2022
b94329a
Add link for sku
george-ngugi Sep 19, 2022
3b91a43
Update src/nginx/azext_nginx/azext_metadata.json
george-ngugi Sep 20, 2022
d65f693
help cmds from aaz models;new test recording
george-ngugi Sep 20, 2022
352a529
Remove paramter info
george-ngugi Sep 21, 2022
134e7f0
Remove policy generated file
george-ngugi Sep 21, 2022
d10e30a
Update src/nginx/azext_nginx/aaz/latest/nginx/deployment/configuratio…
george-ngugi Sep 26, 2022
300da8f
Update src/nginx/azext_nginx/aaz/latest/nginx/deployment/configuratio…
george-ngugi Sep 26, 2022
acc509b
Update src/nginx/azext_nginx/aaz/latest/nginx/deployment/_update.py
george-ngugi Sep 26, 2022
a8cb6a2
Use shorthand syntax expression
george-ngugi Sep 26, 2022
d182fa1
Give meaningful update examples
george-ngugi Sep 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,6 @@

/src/fleet/ @pdaru

/src/traffic-collector/ @rmodh @japani @kukulkarni1
/src/traffic-collector/ @rmodh @japani @kukulkarni1

/src/nginx/ @liftr-nginx
8 changes: 8 additions & 0 deletions src/nginx/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:

Release History
===============

0.1.0
++++++
* Initial release.
5 changes: 5 additions & 0 deletions src/nginx/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Microsoft Azure CLI 'nginx' Extension
==========================================

This package is for the 'nginx' extension.
i.e. 'az nginx'
41 changes: 41 additions & 0 deletions src/nginx/azext_nginx/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader

from azext_nginx._help import helps # pylint: disable=unused-import


class NginxCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
nginx_custom = CliCommandType(
operations_tmpl='azext_nginx.custom#{}')
super(NginxCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=nginx_custom)

def load_command_table(self, args):
from azext_nginx.commands import load_command_table
from azure.cli.core.aaz import load_aaz_command_table
try:
from . import aaz
except ImportError:
aaz = None
if aaz:
load_aaz_command_table(
loader=self,
aaz_pkg_name=aaz.__name__,
args=args
)
load_command_table(self, args)
return self.command_table

def load_arguments(self, command):
from azext_nginx._params import load_arguments
load_arguments(self, command)


COMMAND_LOADER_CLS = NginxCommandsLoader
11 changes: 11 additions & 0 deletions src/nginx/azext_nginx/_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: disable=line-too-long
# pylint: disable=too-many-lines

from knack.help_files import helps # pylint: disable=unused-import
11 changes: 11 additions & 0 deletions src/nginx/azext_nginx/_params.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# pylint: disable=line-too-long

from knack.arguments import CLIArgumentType


def load_arguments(self, _): # pylint: disable=unused-argument
pass
6 changes: 6 additions & 0 deletions src/nginx/azext_nginx/aaz/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
6 changes: 6 additions & 0 deletions src/nginx/azext_nginx/aaz/latest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
23 changes: 23 additions & 0 deletions src/nginx/azext_nginx/aaz/latest/nginx/__cmd_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"nginx",
)
class __CMDGroup(AAZCommandGroup):
"""Manage NGINX deployment resources
"""
pass


__all__ = ["__CMDGroup"]
11 changes: 11 additions & 0 deletions src/nginx/azext_nginx/aaz/latest/nginx/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
23 changes: 23 additions & 0 deletions src/nginx/azext_nginx/aaz/latest/nginx/deployment/__cmd_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"nginx deployment",
)
class __CMDGroup(AAZCommandGroup):
"""Manage NGINX deployment resources
"""
pass


__all__ = ["__CMDGroup"]
17 changes: 17 additions & 0 deletions src/nginx/azext_nginx/aaz/latest/nginx/deployment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._show import *
from ._update import *
from ._wait import *
Loading