Skip to content

changing endpoint's addresses according to the standard#35

Open
rneviantsev wants to merge 2 commits into
microservices-course-itmo:devfrom
rneviantsev:change-endpoints
Open

changing endpoint's addresses according to the standard#35
rneviantsev wants to merge 2 commits into
microservices-course-itmo:devfrom
rneviantsev:change-endpoints

Conversation

@rneviantsev
Copy link
Copy Markdown
Contributor

No description provided.

@Arthasasyan Arthasasyan self-requested a review March 3, 2021 15:03
applicationInstanceService.removeEntitiesByIds(Collections.singletonList(id));
}

@GetMapping("/application/names")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай тогда /applications

applicationTemplateService.removeEntity(name);
}

@PostMapping("/applicationInstance/deploy")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спорно
С одной стороны, деплой -- единственный способ создать инстанс, с другой немного затемняет логику по деплою
Я бы написал /application/deploy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ну-с, темплейт иинстанс - разные сущности. Поэтому тогда предлагаю оставить так как было

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

крч обновил чутка - можешь поглядеть если хочеца

@Arthasasyan Arthasasyan changed the base branch from sprint-1 to dev March 11, 2021 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants