Giter Club home page Giter Club logo

devopness's Introduction

MIT License SDK JavaScript - CI

Devopness - Official open-source repository

About Devopness

Devopness aims to drastically simplify the way we manage cloud applications and multi cloud infrastructure in a secure and productive way.

By streamlining essential DevOps practices, we're making first-class software deployment and cloud infrastructure management tools accessible and affordable to everyone in the world who is involved in software projects.

πŸ“š Documentation

Product documentation is maintained in the docs folder.

πŸ™‹ Issues

See the issue backlog for a list of active or proposed tasks. Feel free to create new issues, report bugs, and send feature requests.

✍️ Contributing

Improvements and contributions are highly encouraged! πŸ™πŸ‘Š

See the contributing guide for details on how to participate.

All communication and contributions to Devopness projects are subject to the Devopness Code of Conduct.

Not yet ready to contribute but do like the project? Support Devopness with a ⭐!

πŸ’Ό Changelog

Detailed changes for each release are documented in the release notes.

πŸ“‚ Repo Structure

This repository has the following packages/sub-projects:

Packages

Subpath Package Description
/docs πŸ“š Documentation End user product documentation
/packages/sdks/javascript API SDK JavaScript API SDK to interact with Devopness using JavaScript and TypeScript

πŸ“œ License

All repository contents are licensed under the terms of the MIT License unless otherwise specified in the LICENSE file at each package's root.

devopness's People

Contributors

brlipi avatar brunoro avatar carolfp1896 avatar dependabot-preview[bot] avatar dependabot[bot] avatar devopness-automations avatar dnalien22 avatar dudunog avatar guipontes7 avatar gustavowiller avatar jeffersonabreu avatar jfoliveira avatar luizvi avatar m4ycon avatar marcossantosdev avatar mlpbraga avatar mrafaelr avatar notzilly avatar pedroperegrinaa avatar plantaz avatar rafaellucchesi avatar renan-bg avatar rsnows avatar samdevbr avatar santato7 avatar silva97 avatar souz4-my avatar thlmenezes avatar vianaz avatar vitor-the-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

devopness's Issues

TypeScript declaration files not being picked by VSCode in javascript projects

Describe the bug

Although TypeScript definition files *.d.ts are being bundled within this NPM package, VSCode is not recognizing them for code completion and code insights.

To Reproduce
Steps to reproduce the behavior:

  1. Import this repo in a new or existing javascript (browser or node.js) project
  2. Open a .js file and declare the usage of this package
  3. Type a variable name and then a dot (.)

Expected behavior

The available API services should be suggested and auto completed

Screenshots

image

Desktop (please complete the following information):

  • OS: [e.g. macOS Catalina]

Additional context

Noticed that under <my-project>/node_modules/devopness-sdk-js/dist there are *.d.ts definition files.

[Bug]: step in linked-resources documentation not exist anymore

Problem: What is happening?

In Linked-resources documentation (Add a Linked Resource topic) have a step that needs be updated.

Step 5 says to click "...", but that button has been replaced by the "settings" button.
devopness_issue_01

Expected behavior

It is expected that step 5 will ask you to click on the "settings" button.

Steps to reproduce

  1. On Devopness, navigate to a project then select an environment
  2. Find the Applications card
  3. Click View in the Applications card to see a list of existing Applications
  4. Click DETAILS on the application you want to link a server
  5. On the upper-right corner of the application details view, click "..."

The "..." button does not exist.

Which Devopness module(s) are the source of the bug?

Documentation

SDK Version

No response

Reproduction link

No response

Additional details

No response

[docs]: fix article "Edit a Pipeline"

Description

Article Edit a Pipeline needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications find the application with the pipeline you want to edit and click DETAILS
    1. In the list of pipelines find the pipeline you want to edit and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view click SETTINGS
    1. Use the drop-down menu to choose PIPELINES
    

[docs]: fix article "Edit a File"

Description

Article Edit a File needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications find the application with the configuration file you want to edit and click DETAILS
    1. In the list of configuration files find the configuration file you want to edit and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view click SETTINGS
    1. Use the drop-down menu to choose CONFIGURATION FILES
    
  • Use correct resource type name
    • ❌ On the upper-right corner of the key details, click EDIT
    • βœ… On the upper-right corner of the configuration file details, click EDIT

[docs]: fix article "Add a Pipeline"

Description

Article Add a Pipeline needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Step "In the list of applications find the application where you want to add a pipeline and click DETAILS" needs to be fixed accordingly
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view click SETTINGS
    1. Use the drop-down menu to choose PIPELINES
    1. On the right corner of the list click ADD PIPELINE
    

[Feature request]: add node js >= v18.17.0

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like.

Today it only allows you to create an application with nodejs 12 or 16. Some applications like nextjs 14 only work on the latest version of nodejs

Additional context

No response

[docs]: fix article "Add an SSL Certificate"

Description

Article Add an SSL Certificate needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. Click DETAILS on the application you want to add an SSL certificate to
    
  • Guide the user to find labels instead of icons
    • It is preferable to not have a UI dependency inside the documentation
    • The documentation, in the current state, will need an update for every icon change
    1. On the upper-right corner click SSL (open lock icon)
    
  • Guide the user on what action to expect when deploying an ssl certificate, similar to other articles that trigger actions
    • ❌ An action to install the SSL certificate will start
    • βœ… Wait for the ssl-certificate:deploy action to be completed

[docs]: fix article "Add a Subnet"

Description

Article Add a Subnet needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of networks, find the network you want to manage and click DETAILS
    

[docs]: fix article "Deploy Application using an Incoming Hook"

Description

Article Deploy Application using an Incoming Hook needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications, find the application with the pipeline you want to manage and click DETAILS
    1. In the list of pipelines, find the pipeline you want to manage and click DETAILS
    1. Click DETAILS on the application you triggered the pipeline
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view click SETTINGS
    1. Use the drop-down menu to choose PIPELINES
    
  • Update text to show <pipeline_id> as text
    • ❌ Steps to find the `` of an application:deploy pipeline
    • βœ… Steps to find the pipeline_id of an application:deploy pipeline

[Bug]: Action: delete server without completed deployment

Problem: What is happening?

When I attempt to delete a server that has not had its deployment completed, the system does not allow the action to be completed. However, no message is reported on the screen explaining why the action is not accepted.

Upon reviewing the logs in DevTools, it appears that the reason is as follows:

"Operation not allowed: Could not delete server '' with status 'pending'. Only 'stopped' or self-hosted servers can be removed. Please, stop the server before deleting it."

However, none of the actions (Start, Stop, Restart) work, thus making it impossible to remove this defective server from the platform.

Expected behavior

When a server fails to complete its deployment for any reason, there should be the capability to DELETE the server from the system, preventing a non-functional item from remaining on the dashboard.

Steps to reproduce

  1. Set up a server.
  2. Introduce an error (such as invalid credentials) that prevents the Deployment from being completed.
  3. Attempt to delete the server.

Which Devopness module(s) are the source of the bug?

Devopness API, Devopness web app

SDK Version

No response

Reproduction link

No response

Additional details

No response

API versioning

Describe the solution you'd like
Include a mechanism to specify the API version used by the SDK.

The default API version would be the latest, but users would be able to specify a previous version. This would be specially useful to maintain backwards compatibility, at least on a reasonable timeframe for users to update their code.

Describe alternatives you've considered
Including this feature later, when a breaking API version comes along.

[Bug]: Unable to remove created pipeline step

Which Devopness module(s) are the source of the bug?

Devopness web app

SDK Version

No response

Expected behavior

Once I click on "Remove" on the pipeline step, the removal confirmation page should show up so I can remove it.

What is actually happening?

Once I click on "Remove" on the pipeline step, the page either doesn't show and redirects back to the "Projects" page or shows very briefly and the redirects to the "Projects" page.

Reproduction link

No response

Steps to reproduce

  1. Go to an application you've created or have permissions to add steps to it's pipeline.
  2. Click on "Details".
  3. Click on the dropdown menu named "Settings".
  4. Click on "Pipelines".
  5. Choose a pipeline by clicking on it's corresponding "Details" button.
  6. Click on "Steps".
  7. If there are no previously created steps, create one.
  8. Click on "Remove" on a created pipeline step.

Additional details

This behavior has been reproduced in the browsers:

  • Firefox 120.0
  • Chromium 119.0.6045.199

[Bug]: Unable to remove an unsuccessfully provisioned server

Which Devopness module(s) are the source of the bug?

Devopness web app

SDK Version

No response

Expected behavior

I should be able to remove a server that was not successfully provisioned because of some incorrect configuration.

What is actually happening?

I am unable to remove the server.

Reproduction link

No link

Steps to reproduce

  1. Add a new server
  2. Select a cloud provider
  3. Select an invalid credential
  4. Select a region
  5. Select an instance type
  6. Select an OS version
  7. Confirm choices and wait for server provision to fail. "Check provisioned" status should fail
  8. Click on "..." -> "Remove" and try to remove server. It should fail saying a server must be on status "Stopped" to be removed.
  9. Click on "Actions" dropdown menu and try to stop server. It should fail.
  10. Click on "Actions" dropdown menu and click on "Status", the "Get Status" action should fail.

Additional details

No response

[docs]: fix article "Remove Step from Pipeline"

Description

Article Remove Step from Pipeline needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications, find the application with the pipeline you want to manage and click DETAILS
    1. In the list of pipelines, find the pipeline you want to manage and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the application details view, click SETTINGS
    1. Use the drop-down menu to choose PIPELINES, to see a list of existing Pipelines
    

[docs]: fix article "Remove a Subnet"

Description

Article Remove a Subnet needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of networks, find the network with the subnet you want to remove and click DETAILS
    1. In the list of subnets, find the subnet you want to remove and click DETAILS
    

[docs]: fix article "Get a Server’s Status"

Description

Article Get a Server’s Status needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of servers, find the server you want to inspect and click DETAILS
    
  • Update action code to lowercase
    • ❌ Wait for the Server:Get-status action to be completed
    • βœ… Wait for the server:get-status action to be completed

[docs]: fix article "Restart a Server"

Description

Article Restart a Server needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of servers, find the server you want to restart and click DETAILS
    
  • Update action code to lowercase
    • ❌ Wait for the Server:restart action to be completed
    • βœ… Wait for the server:restart action to be completed

[docs]: fix article "Add a File"

Description

Article Add a File needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications find the application where you want to add a configuration file and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view click SETTINGS
    1. Use the drop-down menu to choose CONFIGURATION FILE
    1. On the right corner of the list click ADD CONFIGURATION FILE
    

[Bug]: error when trying to delete a server that was deleted in digital ocean

Problem: What is happening?

When trying to delete a server that has already been deleted by the digital ocean platform, devopness asks to stop the server as shown in the image.

image

Expected behavior

image

remove server

Steps to reproduce

  1. go to delete server

error "Operation not allowed: Could not delete server 'rifaweb-rifaweb-m5' with status 'running'. Only 'stopped' or self-hosted servers can be removed. Please, stop the server before deleting it."

Which Devopness module(s) are the source of the bug?

Devopness website

SDK Version

No response

Reproduction link

No response

Additional details

No response

[docs]: fix articles "Archive/Unarchive an Environment"

Description

Article Archive an Environment and Unarchive an Environment needs to be updated

Archive button moved to Settings

Now, when a user wants to archive/unarchive an environment, they need to click the Settings button and select the option from the dropdown menu, as highlighted in the picture below

image

Issue List

  • Update "Select a project" step
-  1. Select a Project
+  1. In the list of Projects find the Project with the Team you want to manage and click View
  • Remove "Find the Environments card" step, removing duplicated step
-  1. Find the Environments card
   1. Click View in the Environments card to see a list of existing Environments
  • Guide the user to click SETTINGS
-  1. On the upper-right corner of the Environment resources list, click ...
+  1. On the upper-right corner of the Environment resources list, click SETTINGS

[docs]: fix article "Remove a Network"

Description

Article Remove a Network needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of networks, find the network you want to remove and click DETAILS
    

[docs]: fix article "Deploy SSH Key"

Description

Article Deploy SSH Key needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. Click DETAILS on the SSH key you want to deploy
    
  • Update action code to lowercase
    • ❌ Wait for the Ssh-key:Deploy action to be completed
    • βœ… Wait for the ssh-key:deploy action to be completed

[docs]: fix article "Run a Pipeline"

Description

Article Run a Pipeline needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. Click DETAILS on the network rule you want to run a pipeline
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the network rule details view, click SETTINGS
    1. Use the drop-down menu to choose PIPELINES, to see a list of existing Pipelines
    
  • Update action code to lowercase
    • ❌ Wait for the action Network-rule:Deploy to be completed
    • βœ… Wait for the action network-rule:deploy to be completed

[docs]: fix article "Stop a Server"

Description

Article Stop a Server needs to be updated, more details @ #855

Issue List

  • Update public IP address note to warning
  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of servers, find the server you want to stop and click DETAILS
    
  • Update action code to lowercase
    • ❌ Wait for the Server:stop action to be completed
    • βœ… Wait for the server:stop action to be completed

Setup dependabot for automating notifications on dependencies updates

Is your feature request related to a problem? Please describe.

Dependencies might be update very often, and keep them up to date is hard, a way to be notified mainly for security fixes will be very helpful.

Describe the solution you'd like

Setting up dependabot on this repo will ensure we're notified through pull requests (that we can decide do merge or close) every time a dependency releases a new version on npm.

Additional context

Article on how to set up dependabot:
https://github.com/marketplace/dependabot-preview

[docs]: fix article "Add member"

Description

Article Add member needs to be updated

Team Details page created

Now, when the user clicks to view a Team, they are redirected to the team details page with 2 subresources: INVITATIONS and MEMBERS, as highlighted in the picture below

image

To guide the user to add a member to a team, now there's an extra step: click INVITATIONS (or MEMBERS)

Add Member renamed Invite Member

Invitations and Members are separated subresources on the UI, so now it's more clear what the result of submitting "Add member" form is: a Team invitation. With that, came the decision to update the label to Invite Member

Issue List

  • Update "Select a project" step
-  1. Select a Project
+  1. In the list of Projects find the Project with the Team you want to manage and click View
  • Update "Find the Teams card" step
-  1. Find the Teams card
+  1. Click View in the Teams card to see a list of existing Teams
  • Guide the user to click INVITATIONS
  1. Click View in the Teams card to see a list of existing Teams
  1. In the list of Teams find the Team you want to add a member and click View
+ 1.  On the upper-right corner of the team details view, click INVITATIONS
  • Guide the user to click INVITE MEMBER
- 1. On the upper-right corner of the Members list, click ADD MEMBER
+ 1. On the upper-right corner of the Invitations list, click INVITE MEMBER
  • Fix typo
- 1. Provide the email of the member to be invites
+ 1. Provide the email of the member to be invited
  • Rename article to "Invite Team Member"
  • Move article to docs/teams/invitations/add-invitation
  • Update next link on Add a Team
  • Update previous link on Add team membership

[docs]: fix article "Remove a File"

Description

Article Remove a File needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications, find the application with the configuration file you want to remove and click DETAILS
    1. In the list of configuration files, find the file you want to remove and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view, click SETTINGS
    1. Use the drop-down menu to choose CONFIGURATION FILES, to see a list of existing Configuration Files
    

Enable `pre push` git hook for quick local feedback on build errors

Is your feature request related to a problem? Please describe.

Although this repository already have server side github checks validating incoming pull requests, having a simple way to ensure a build runs before a pushing local changes to remote might speed up error detection.

Describe the solution you'd like

  • Add a pre-push hook file git-push.sh file to the repository and ensure it can be copied by .git/hooks directory on cloning.
  • Add a setup script to copy hook files to .git/hooks directory

Describe alternatives you've considered

Might be simpler to just use git templates instead of defining a setup script. Some research might be needed to investigate what are current best practices on the matter.

Additional context

[docs]: fix article "Start a Server"

Description

Article Start a Server needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of servers, find the server you want to start and click DETAILS
    
  • Update action code to lowercase
    • ❌ Wait for the Server:start action to be completed
    • βœ… Wait for the server:start action to be completed

[Bug]: node.js dependency update

Problem: What is happening?

the pipeline is breaking because it doesn't find the version of node.js:16.16, but it is configured in the application as shown in the image.

image

The error message below says that the version of node.js16.16 was not found, but it was configured correctly in the application.

image_2024-01-10_142111385

Expected behavior

It was expected that the pipeline would find the node.js version and not break

Steps to reproduce

CLICK ON IN THE TOP RIGHT CORNER ADD APPLICATION
FILL IN THE FIELDS OF YOUR SOURCE PROVIDER
CHOOSE THE NODEJS STACK
select engine version: 16.16
Define your repository's directory layout
Define build configuration
CLICK NEXT
RETURN TO APPLICATIONS PAGE
CLICK ON 'DEPLOY'
SELECT THE PERTINENT PIPELINE
CLICK ON RUN DEPLOY

see error when installing dependencies

Which Devopness module(s) are the source of the bug?

Don't know / other

SDK Version

No response

Reproduction link

my link reproduction: https://app.devopness.com/actions/20803

Additional details

No response

[Feature request]: Delete an empty environment

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like.

Currently, an environment can only be archived, which makes it read-only and does not remove any of it's linked resources. I believe that in cases where an environment is empty (no linked resources) it would be useful if it could be removed.

Additional context

No response

Define onTokenExpired event

Is your feature request related to a problem? Please describe.

Currently SDK users need to implement a token refresh process if they want to keep a user logged in. This works fine, but could be easier for SDK users when a token expired, as token expiration HTTP 401 may require some logic to be differentiated from regular HTTP 401 status code.

Describe the solution you'd like

Describe alternatives you've considered

Check for HTTP status code equals 401 and send a token refresh request.

Pseudo-code, yet to be tested:

    public onTokenExpired: () => void;

    public tokenExpired(): void {
        if (this.onTokenExpired) {
            this.onTokenExpired();
        }
    }

Additional context

The responsibility on making the decision of refreshing a token or not doesn't change. It'll still be up to the SDK consumer to decide what to do.
We just want to assume the logic that will check the HTTP 401 Unauthorized response to tell which ones are related to token expiration and notify the client app.

Improve example code on how to consume this SDK

Is your feature request related to a problem? Please describe.

Improve the sample source code provided for first time users of this SDK.

Describe the solution you'd like

Make it easier for users to understand how to consume this package in the most common scenarios:

  • CLI: Node.js
  • Server side: Node.js
  • Browser, from CDN: Javascript
  • Browser, from NPM: Javascript
  • Browser, from NPM: Typescript with Parcell or webpack

Describe alternatives you've considered

Use codesandbox.io, runkit.com or related tools that allow running the sample code online.

Additional context

[Bug]: Many documentation articles not describing current UI/UX

Description

This issue aims to list all documentation articles that need to be reviewed after the recent updates in the web app have changed the user flows considerably

Task List

Details Button replaced with Details link

Pages that listed resources (e.g: Applications) had a button on labeled DETAILS to access a resource details page (e.g: Application Details), as mentioned in the article quoted below from the documentation available @ Add a File

  1. In the list of applications find the application where you want to add a configuration file and click DETAILS

The DETAILS button was replaced by a link in the resource name column

Articles that need to be updated

All articles that guide the users to search for DETAILS button on the UI

Linked Resources replaced with Tabs

A link between resources like Applications and Servers was managed using the Linked Resources page, this was replaced by adding tabs to the Application Details page; this way eliminating the concept of Linked Resources from the app

Articles that need to be updated

All articles related to Linked Resources, Configuration Files and Variables need to be updated

Update Table

This table tracks all documentation articles and lists if the article is updated according to each category below:

  • Details: Does this article guide users to the DETAILS link instead of the DETAILS button?
  • Tabs: Does this article guide users to use the tabs instead of the linked resource, pipelines, variables, configuration files pages ?

And the column data can be one of the possibilities below:

  1. An empty means the article is not affected by that change
  2. An ❌ emoji means the article has an issue related to that change
  3. An βœ… emoji means the article does not have an issue related to that change
Article Name Details Tabs
Deploy Application using an Incoming Hook βœ…
Edit an Application βœ…
Add a File βœ… βœ…
Edit a File βœ… βœ…
Remove a File βœ… βœ…
Add a Linked Resource βœ… βœ…
Remove a Network βœ…
Add a Pipeline βœ… βœ…
Edit a Pipeline βœ… βœ…
Remove a Pipeline βœ… βœ…
Run a Pipeline βœ… βœ…
Add Step to Pipeline βœ… βœ…
Remove Step from Pipeline βœ… βœ…
Check a Role's Permissions βœ…
Delete a Server provisioned by Devopness βœ…
Get a Server’s Status βœ…
Remove a Self Hosted Server βœ…
Restart a Server βœ…
Start a Server βœ…
Stop a Server βœ…
Deploy SSH Key βœ…
Link an SSH Key to a Server βœ… βœ…
Remove an SSH Key βœ…
Add an SSL Certificate βœ…
Add a Subnet βœ…
Remove a Subnet ❌

[docs]: fix article "Add Step to Pipeline"

Description

Article Add Step to Pipeline needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications find the application with the pipeline you want to manage and click DETAILS
    1. In the list of pipelines, find the pipeline you want to manage and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the applications details view click SETTINGS
    1. Use the drop-down menu to choose PIPELINES
    

[Bug]: Incorrect cloud provider secret doesn't provide feedback

Problem: What is happening?

When an incorrect secret for a cloud provider is entered, the system does not provide any feedback. This impacts the user experience as they are left unsure if the operation was successful or not.

Expected behavior

When an incorrect secret is entered, the system should provide a clear and concise error message like an alert, informing the user about the incorrect secret.

Steps to reproduce

  1. Go to the "Cloud Providers"
  2. Click on "ADD CLOUD PROVIDER"
  3. Select "Amazon Web Services"
  4. Click on "NEXT"
  5. Enter any name in the name field
  6. Enter a valid access key in the access key field
  7. Enter an incorrect secret in the secret field
  8. Click on "CONFIRM"
  9. Observe that no feedback is provided to the user.

Which Devopness module(s) are the source of the bug?

Devopness website

SDK Version

No response

Reproduction link

No response

Additional details

The application attempts to communicate with AWS to verify the correctness of the secret. If the secret is incorrect, it fails silently without providing any feedback to the user. The API does return an error when the secret is incorrect, but this error is not displayed to the user, so it's a front-end issue. Below is an image justifying the return of the API:

image

No response

[docs]: fix article "Add a Linked Resource"

Description

Article Add a Linked Resource needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. Click DETAILS on the application you want to link a server
    
  • Guide the user to use Tabs
    • Note below needs to be fixed accordingly
    Clicking the LINK TO dropdown will list all available options of resource types to be linked to the selected resource
    
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the application details view, click SETTINGS
    1. Use the drop-down menu to choose Linked resources
    1. On the upper-right corner of the Linked resources list, click LINK TO
    1. Use the drop-down menu to choose Servers
    1. Follow the prompts then click Link
    1. In the Linked Resource list, the recently linked server can be seen in the DEPENDS ON table
    
  • Rename article to "Link a server to an application"
  • Move article to docs/applications folder
  • Delete docs/linked-resources folder
  • Update next link on Add a File
  • Update previous link on Deploy Application
  • Update mentionPost usage to point to the new article path

[docs]: fix article "Remove a Pipeline"

Description

Article Remove a Pipeline needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. In the list of applications, find the application with the pipeline you want to remove and click DETAILS
    1. In the list of pipelines, find the pipeline you want to remove and click DETAILS
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the application details view, click SETTINGS
    1. Use the drop-down menu to choose PIPELINES, to see a list of existing Pipelines
    

Use @scoped package for npmjs

Npmjs supports scoped packages like @devopness/devopness-sdk-js. This enforces your brand and allow you to expand to private repositories easily when it would be required.

Suggestion: create a private free organization in Npm and publish this package again.

[Feature request]: Remove a project created by me

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like.

I want to be able to remove a project that I have created.

Additional context

No response

[Bug]: `serverOptions` isn't been exposed in `StaticService` class

Which Devopness module(s) are the source of the bug?

SDK-JS

SDK Version

2.115.0

Expected behavior

As a SDK user, i expected that the StaticService class should have a serverOptions property

What is actually happening?

StaticService doesn't have a serverOptions property

Reproduction link

https://github.com/devopness/devopness/blob/7344938b224e461ce488e0496890389dc59baeab/packages/sdks/javascript/src/services/StaticService.ts#L13C1-L25C2

Steps to reproduce

  1. Instantiate DevopnessApiClient.
const devopnessApi = new DevopnessApiClient({ baseURL: BASE_URL })
  1. Try access devopnessApi.static.serverOptions
  2. See that serverOptions property doesn't exists

Additional details

No response

[docs]: fix article "Link an SSH Key to a Server"

Description

Article Link an SSH Key to a Server needs to be updated, more details @ #855

Issue List

  • Guide the user to click Resource Name
    • Steps below needs to be fixed accordingly
    1. Click DETAILS on the SSH key you want to link to a server
    
  • Guide the user to use Tabs
    • Steps below needs to be fixed accordingly
    1. On the upper-right corner of the SSH key details view, click SETTINGS
    1. Use the drop-down menu to choose Linked resources
    1. On the upper-right corner of the Linked resources list, click LINK TO
    1. Use the drop-down menu to choose Servers
    1. Follow the prompts then click Link
    1. In the Linked Resource list, the recently linked server can be seen in the DEPENDS ON table
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.