Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
84 changes: 84 additions & 0 deletions connector_openshift/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
===================
Openshift Connector
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Finfrastructure-lightgray.png?logo=github
:target: https://github.com/OCA/infrastructure/tree/13.0/connector_openshift
:alt: OCA/infrastructure
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/infrastructure-13-0/infrastructure-13-0-connector_openshift
:alt: Translate me on Weblate

|badge1| |badge2| |badge3| |badge4|

Red Hat OpenShift Integrations with Odoo.

**Table of contents**

.. contents::
:local:

Installation
============

Be sure to have the `oc <https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/>`_ library.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/infrastructure/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/infrastructure/issues/new?body=module:%20connector_openshift%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Open Source Integrators

Contributors
~~~~~~~~~~~~

* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-max3903|

This module is part of the `OCA/infrastructure <https://github.com/OCA/infrastructure/tree/13.0/connector_openshift>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions connector_openshift/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
19 changes: 19 additions & 0 deletions connector_openshift/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2020 Open Source Integrators
# Copyright (C) 2020 Serpent Consulting Services Pvt. Ltd.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

{
"name": "Openshift Connector",
"summary": """Red Hat OpenShift Integrations with Odoo.""",
"version": "13.0.1.0.0",
"license": "AGPL-3",
"author": "Odoo Community Association (OCA), Open Source Integrators",
"website": "https://github.com/OCA/infrastructure",
"category": "Tools",
"depends": ["connector"],
"data": ["security/ir.model.access.csv", "views/backend_openshift_view.xml"],
"external_dependencies": {"bin": ["oc"]},
"installable": True,
"maintainers": ["max3903"],
"development_status": "Beta",
}
3 changes: 3 additions & 0 deletions connector_openshift/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import backend_openshift
19 changes: 19 additions & 0 deletions connector_openshift/models/backend_openshift.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2020 Open Source Integrators
# Copyright (C) 2020 Serpent Consulting Services Pvt. Ltd.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models


class BackendOpenshift(models.Model):
_name = "backend.openshift"
_description = "Openshift Backend"

name = fields.Char("Name", required=True,)
api_url = fields.Char("API URL", required=True,)
token = fields.Char("Token", required=True,)
apps_domain = fields.Char("Apps Domain", required=True,)
create_project = fields.Text("Create Project")
suspend_project = fields.Text("Suspend Project")
resume_project = fields.Text("Resume Project")
close_project = fields.Text("Close Project")
2 changes: 2 additions & 0 deletions connector_openshift/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
1 change: 1 addition & 0 deletions connector_openshift/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Red Hat OpenShift Integrations with Odoo.
1 change: 1 addition & 0 deletions connector_openshift/readme/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Be sure to have the `oc <https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/>`_ library.
2 changes: 2 additions & 0 deletions connector_openshift/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_backend_openshift,access.backend.openshift,model_backend_openshift,base.group_user,1,1,1,1
Loading