Skip to content

[$20] [TaaS] TaaS Intake Form should validate all the values to guarantee the Job creation in TaaS API #4263

@maxceem

Description

@maxceem

During creating a TaaS project we are entering data for jobs:

image

Later these data is used to create Jobs in TaaS API using the next logic: https://github.com/topcoder-platform/tc-project-service/blob/develop/src/events/projects/index.js#L203-L212

If we pass some data for the Job which is not acceptable by TaaS API https://github.com/topcoder-platform/taas-apis then such job would not created and we wouldn't get any error about this fact except of error in server log.

We have to ensure that all jobs would be created and there is no chance that user can enter some data in this form, which would be invalid in TaaS API.

We have to add all the necessary validations.

For example, title has a limit of 64 chars, so this form should not allow entering title longer than that. But we have to explore all the TaaS API restrictions for the Jobs, and validate all the fields when necessary.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions