Build a Task with the Robot Framework
Budget: $10 – $20 USD
This is a simple project with the intent to get a good idea about skills of an ideal contractor with whom we then would like to develop a long-term relationship through a lot of work on our product.
Please review the project below as well as our definition of an ideal candidate (provided below) and let us know if you have any questions.
When you submit your bid please include which required and great-to-have skills you have, experience level, your pay rate and an approximate number of hours you intend to spend on the project. While the payment terms are not a fixed contract we would like still to see what your effort assessment will be.
# Ideal Candidate
## Required skills
* Python at least 3+ years.
* REST API at least 2+ years.
## Great-to-have skills
In addition to the required skills the following are great-to-have (not mandatory) skills:
* Knowledge of and experience using the robot framework
* Knowledge of and experience building microservices
* Experience building a web frontend using the React framework
# Assignment
Using the robot framework, a task needs to be written to execute the following command:
openapi-generator-cli generate -g python-flask -i openapi.yml
The command is a command line interface of the OpenAPI Generator (https://openapi-generator.tech/) and generates source code for a server that is based on python fask framework. The source code implements stubs for API endpoints defined in the file openapi.yml.
The task should use 2 variables ${spec_file_path} and ${output_dir}. As their names imply, the first variable specifies a full path to the api spec and should have a default value /home/me/project whereas the second variable defines in what folder generated code should reside (default value is /home/me/project).
# Proposed Approach:
1. Review the Robot Framework (https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html) and the concept of the task (https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#creating-tasks). Install the framework locally.
2. Review and install the OpenAPI Generator https://openapi-generator.tech/docs/installation/.
3. Either build a sample openapi.yml file grab a well-known petstore example from here https://editor.swagger.io/
4. Build the code of the task and test it locally.
# Acceptance Criteria
- The source code of the task successfully builds and runs on a linux/windows computer with pre-installed Python 3, Robot framework, node js, and Open API generator.
Please review the project below as well as our definition of an ideal candidate (provided below) and let us know if you have any questions.
When you submit your bid please include which required and great-to-have skills you have, experience level, your pay rate and an approximate number of hours you intend to spend on the project. While the payment terms are not a fixed contract we would like still to see what your effort assessment will be.
# Ideal Candidate
## Required skills
* Python at least 3+ years.
* REST API at least 2+ years.
## Great-to-have skills
In addition to the required skills the following are great-to-have (not mandatory) skills:
* Knowledge of and experience using the robot framework
* Knowledge of and experience building microservices
* Experience building a web frontend using the React framework
# Assignment
Using the robot framework, a task needs to be written to execute the following command:
openapi-generator-cli generate -g python-flask -i openapi.yml
The command is a command line interface of the OpenAPI Generator (https://openapi-generator.tech/) and generates source code for a server that is based on python fask framework. The source code implements stubs for API endpoints defined in the file openapi.yml.
The task should use 2 variables ${spec_file_path} and ${output_dir}. As their names imply, the first variable specifies a full path to the api spec and should have a default value /home/me/project whereas the second variable defines in what folder generated code should reside (default value is /home/me/project).
# Proposed Approach:
1. Review the Robot Framework (https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html) and the concept of the task (https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#creating-tasks). Install the framework locally.
2. Review and install the OpenAPI Generator https://openapi-generator.tech/docs/installation/.
3. Either build a sample openapi.yml file grab a well-known petstore example from here https://editor.swagger.io/
4. Build the code of the task and test it locally.
# Acceptance Criteria
- The source code of the task successfully builds and runs on a linux/windows computer with pre-installed Python 3, Robot framework, node js, and Open API generator.