-
Notifications
You must be signed in to change notification settings - Fork 1
/
openapi.json
1 lines (1 loc) · 78 KB
/
openapi.json
1
{"swagger":"2.0","info":{"description":"A Management System for Microservice Compositions","version":"0.1","title":"MICO"},"host":"localhost:8080","basePath":"/","tags":[{"name":"application-resource","description":"Application Resource"},{"name":"background-task-resource","description":"Background Task Resource"},{"name":"basic-error-controller","description":"Basic Error Controller"},{"name":"deployment-resource","description":"Deployment Resource"},{"name":"operation-handler","description":"Operation Handler"},{"name":"service-interface-resource","description":"Service Interface Resource"},{"name":"service-resource","description":"Service Resource"},{"name":"web-mvc-links-handler","description":"Web Mvc Links Handler"}],"paths":{"/actuator":{"get":{"tags":["web-mvc-links-handler"],"summary":"links","operationId":"linksUsingGET","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"responses":{"200":{"description":"OK","schema":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"$ref":"#/definitions/Link"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/configprops":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/health":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_3","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/health/{component}":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_2","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/health/{component}/{instance}":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_1","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/info":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_4","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/loggers":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_6","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/loggers/{name}":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_5","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingPOST","consumes":["application/json","application/vnd.spring-boot.actuator.v2+json"],"produces":["*/*"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/metrics":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_8","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/actuator/metrics/{requiredMetricName}":{"get":{"tags":["operation-handler"],"summary":"handle","operationId":"handleUsingGET_7","produces":["application/json","application/vnd.spring-boot.actuator.v2+json"],"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications":{"get":{"tags":["application-resource"],"summary":"getAllApplications","operationId":"getAllApplicationsUsingGET","produces":["application/hal+json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoApplicationWithServicesResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["application-resource"],"summary":"createApplication","operationId":"createApplicationUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"applicationDto","description":"applicationDto","required":true,"schema":{"$ref":"#/definitions/MicoApplicationRequestDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationWithServicesResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications/{shortName}":{"get":{"tags":["application-resource"],"summary":"getApplicationsByShortName","operationId":"getApplicationsByShortNameUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoApplicationWithServicesResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["application-resource"],"summary":"deleteAllVersionsOfAnApplication","operationId":"deleteAllVersionsOfAnApplicationUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/applications/{shortName}/{version}":{"get":{"tags":["application-resource"],"summary":"getApplicationByShortNameAndVersion","operationId":"getApplicationByShortNameAndVersionUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationWithServicesResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["application-resource"],"summary":"updateApplication","operationId":"updateApplicationUsingPUT","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"applicationRequestDto","description":"applicationRequestDto","required":true,"schema":{"$ref":"#/definitions/MicoApplicationRequestDTO"}},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationWithServicesResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["application-resource"],"summary":"deleteApplication","operationId":"deleteApplicationUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/applications/{shortName}/{version}/deploy":{"post":{"tags":["deployment-resource"],"summary":"deploy","operationId":"deployUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationJobStatusResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications/{shortName}/{version}/deploymentInformation/{serviceShortName}":{"get":{"tags":["application-resource"],"summary":"getServiceDeploymentInformation","operationId":"getServiceDeploymentInformationUsingGET","produces":["application/hal+json"],"parameters":[{"name":"serviceShortName","in":"path","description":"serviceShortName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceDeploymentInfoResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["application-resource"],"summary":"updateServiceDeploymentInformation","operationId":"updateServiceDeploymentInformationUsingPUT","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"serviceDeploymentInfoDTO","description":"serviceDeploymentInfoDTO","required":true,"schema":{"$ref":"#/definitions/MicoServiceDeploymentInfoRequestDTO"}},{"name":"serviceShortName","in":"path","description":"serviceShortName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceDeploymentInfoResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications/{shortName}/{version}/promote":{"post":{"tags":["application-resource"],"summary":"promoteApplication","operationId":"promoteApplicationUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"newVersionDto","description":"newVersionDto","required":true,"schema":{"$ref":"#/definitions/MicoVersionRequestDTO"}},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationWithServicesResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications/{shortName}/{version}/services":{"get":{"tags":["application-resource"],"summary":"getServicesFromApplication","operationId":"getServicesFromApplicationUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications/{shortName}/{version}/services/{serviceShortName}":{"delete":{"tags":["application-resource"],"summary":"deleteServiceFromApplication","operationId":"deleteServiceFromApplicationUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"serviceShortName","in":"path","description":"serviceShortName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/applications/{shortName}/{version}/services/{serviceShortName}/{serviceVersion}":{"post":{"tags":["application-resource"],"summary":"addServiceToApplication","operationId":"addServiceToApplicationUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"name":"serviceShortName","in":"path","description":"serviceShortName","required":true,"type":"string"},{"name":"serviceVersion","in":"path","description":"serviceVersion","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/applications/{shortName}/{version}/status":{"get":{"tags":["application-resource"],"summary":"getStatusOfApplication","operationId":"getStatusOfApplicationUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationStatusResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/error":{"get":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingGET","produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"head":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingHEAD","consumes":["application/json"],"produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false},"post":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingPOST","consumes":["application/json"],"produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingPUT","consumes":["application/json"],"produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingDELETE","produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false},"options":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingOPTIONS","consumes":["application/json"],"produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false},"patch":{"tags":["basic-error-controller"],"summary":"errorHtml","operationId":"errorHtmlUsingPATCH","consumes":["application/json"],"produces":["text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ModelAndView"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/jobs":{"get":{"tags":["background-task-resource"],"summary":"getAllJobs","operationId":"getAllJobsUsingGET","produces":["application/hal+json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceBackgroundTaskResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/jobs/{id}":{"get":{"tags":["background-task-resource"],"summary":"getJobById","operationId":"getJobByIdUsingGET","produces":["application/hal+json"],"parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceBackgroundTaskResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["background-task-resource"],"summary":"deleteJob","operationId":"deleteJobUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/jobs/{shortName}/{version}/status":{"get":{"tags":["background-task-resource"],"summary":"getJobStatusByApplicationShortNameAndVersion","operationId":"getJobStatusByApplicationShortNameAndVersionUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoApplicationJobStatusResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services":{"get":{"tags":["service-resource"],"summary":"getServiceList","operationId":"getServiceListUsingGET","produces":["application/hal+json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["service-resource"],"summary":"createService","operationId":"createServiceUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"serviceDto","description":"serviceDto","required":true,"schema":{"$ref":"#/definitions/MicoServiceRequestDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/import/github":{"get":{"tags":["service-resource"],"summary":"getVersionsFromGitHub","operationId":"getVersionsFromGitHubUsingGET","produces":["application/hal+json"],"parameters":[{"name":"url","in":"query","description":"url","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoVersionRequestDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["service-resource"],"summary":"importMicoServiceFromGitHub","operationId":"importMicoServiceFromGitHubUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"crawlingInfo","description":"crawlingInfo","required":true,"schema":{"$ref":"#/definitions/CrawlingInfoRequestDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/{shortName}":{"get":{"tags":["service-resource"],"summary":"getVersionsOfService","operationId":"getVersionsOfServiceUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["service-resource"],"summary":"deleteAllVersionsOfService","operationId":"deleteAllVersionsOfServiceUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/services/{shortName}/{version}":{"get":{"tags":["service-resource"],"summary":"getServiceByShortNameAndVersion","operationId":"getServiceByShortNameAndVersionUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["service-resource"],"summary":"updateService","operationId":"updateServiceUsingPUT","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"serviceDto","description":"serviceDto","required":true,"schema":{"$ref":"#/definitions/MicoServiceRequestDTO"}},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["service-resource"],"summary":"deleteService","operationId":"deleteServiceUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/services/{shortName}/{version}/dependees":{"get":{"tags":["service-resource"],"summary":"getDependees","operationId":"getDependeesUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["service-resource"],"summary":"deleteAllDependees","operationId":"deleteAllDependeesUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/services/{shortName}/{version}/dependees/{dependeeShortName}/{dependeeVersion}":{"post":{"tags":["service-resource"],"summary":"createNewDependee","operationId":"createNewDependeeUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"name":"dependeeShortName","in":"path","description":"dependeeShortName","required":true,"type":"string"},{"name":"dependeeVersion","in":"path","description":"dependeeVersion","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["service-resource"],"summary":"deleteDependee","operationId":"deleteDependeeUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"dependeeShortName","in":"path","description":"dependeeShortName","required":true,"type":"string"},{"name":"dependeeVersion","in":"path","description":"dependeeVersion","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/services/{shortName}/{version}/dependencyGraph":{"get":{"tags":["service-resource"],"summary":"getDependencyGraph","operationId":"getDependencyGraphUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceDependencyGraphResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/{shortName}/{version}/dependers":{"get":{"tags":["service-resource"],"summary":"getDependers","operationId":"getDependersUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/{shortName}/{version}/interfaces":{"get":{"tags":["service-interface-resource"],"summary":"getInterfacesOfService","operationId":"getInterfacesOfServiceUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourcesOfResourceOfMicoServiceInterfaceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["service-interface-resource"],"summary":"createServiceInterface","operationId":"createServiceInterfaceUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"serviceInterfaceRequestDto","description":"serviceInterfaceRequestDto","required":true,"schema":{"$ref":"#/definitions/MicoServiceInterfaceRequestDTO"}},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceInterfaceResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/{shortName}/{version}/interfaces/{serviceInterfaceName}":{"get":{"tags":["service-interface-resource"],"summary":"getInterfaceByName","operationId":"getInterfaceByNameUsingGET","produces":["application/hal+json"],"parameters":[{"name":"serviceInterfaceName","in":"path","description":"serviceInterfaceName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceInterfaceResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["service-interface-resource"],"summary":"updateServiceInterface","operationId":"updateServiceInterfaceUsingPUT","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"name":"serviceInterfaceName","in":"path","description":"serviceInterfaceName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"in":"body","name":"updatedServiceInterfaceRequestDto","description":"updatedServiceInterfaceRequestDto","required":true,"schema":{"$ref":"#/definitions/MicoServiceInterfaceRequestDTO"}},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceInterfaceResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["service-interface-resource"],"summary":"deleteServiceInterface","operationId":"deleteServiceInterfaceUsingDELETE","produces":["application/hal+json"],"parameters":[{"name":"serviceInterfaceName","in":"path","description":"serviceInterfaceName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/services/{shortName}/{version}/interfaces/{serviceInterfaceName}/publicIP":{"get":{"tags":["service-interface-resource"],"summary":"getInterfacePublicIpByName","operationId":"getInterfacePublicIpByNameUsingGET","produces":["application/hal+json"],"parameters":[{"name":"serviceInterfaceName","in":"path","description":"serviceInterfaceName","required":true,"type":"string"},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/{shortName}/{version}/promote":{"post":{"tags":["service-resource"],"summary":"promoteService","operationId":"promoteServiceUsingPOST","consumes":["application/json"],"produces":["application/hal+json"],"parameters":[{"in":"body","name":"newVersionDto","description":"newVersionDto","required":true,"schema":{"$ref":"#/definitions/MicoVersionRequestDTO"}},{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceResponseDTO"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/services/{shortName}/{version}/status":{"get":{"tags":["service-resource"],"summary":"getStatusOfService","operationId":"getStatusOfServiceUsingGET","produces":["application/hal+json"],"parameters":[{"name":"shortName","in":"path","description":"shortName","required":true,"type":"string"},{"name":"version","in":"path","description":"version","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ResourceOfMicoServiceStatusResponseDTO"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}}},"definitions":{"CrawlingInfoRequestDTO":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The url to the remote repository to crawl from.","minLength":"1","title":"URL","x-order":"10"},"version":{"type":"string","default":"latest","description":"The remote release tag. Defaults to 'latest'.","minLength":"1","title":"Version","x-order":"20"}},"title":"CrawlingInfoRequestDTO"},"KubernetesNodeMetricsResponseDTO":{"type":"object","properties":{"averageCpuLoad":{"type":"integer","format":"int32","description":"The average CPU load of all pods of one MicoService running on this Node.","title":"Average CPU Load","x-order":"20"},"averageMemoryUsage":{"type":"integer","format":"int32","description":"The average memory usage of all pods of one MicoService running on this Node.","title":"Average Memory Usage","x-order":"30"},"nodeName":{"type":"string","description":"Name of the Kubernetes Node.","title":"Node Name","x-order":"10"}},"title":"KubernetesNodeMetricsResponseDTO"},"KubernetesPodInformationResponseDTO":{"type":"object","properties":{"hostIp":{"type":"string","description":"IP address of the host to which the pod is assigned.","title":"Host IP","x-order":"30"},"metrics":{"$ref":"#/definitions/KubernetesPodMetricsResponseDTO","description":"Information about used hardware resources.","title":"Metrics","x-order":"60"},"nodeName":{"type":"string","description":"Name of the node the pod is running on.","title":"Node Name","x-order":"40"},"phase":{"type":"string","description":"States the lifecycle of a pod: Pending, Running, Succeeded, Failed, Unknown, Completed, CrashLoopBackOff","title":"Phase","x-order":"20"},"podName":{"type":"string","description":"Name of the Pod.","title":"Pod Name","x-order":"10"},"restarts":{"type":"integer","format":"int32","description":"Counter for restarts of all containers of a pod.","title":"Restarts","x-order":"50"},"startTime":{"type":"string","description":"The point in time the pod has been started.","title":"Start Time","x-order":"51"}},"title":"KubernetesPodInformationResponseDTO"},"KubernetesPodMetricsResponseDTO":{"type":"object","properties":{"available":{"type":"boolean","description":"Indicates if a pod is available.","title":"Available","x-order":"30"},"cpuLoad":{"type":"integer","format":"int32","description":"CPU load of a pod.","title":"CPU Load","x-order":"20"},"memoryUsage":{"type":"integer","format":"int32","description":"Memory usage of a pod.","title":"Memory Usage","x-order":"10"}},"title":"KubernetesPodMetricsResponseDTO"},"Link":{"type":"object","properties":{"href":{"type":"string"},"templated":{"type":"boolean"}},"title":"Link"},"MapOfstringAndLink":{"type":"object","title":"MapOfstringAndLink","additionalProperties":{"$ref":"#/definitions/Link"}},"MicoApplicationJobStatusResponseDTO":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/definitions/MicoServiceBackgroundTaskResponseDTO"},"description":"The list of jobs for an application.","readOnly":"true","title":"List of Jobs","x-order":"20"},"status":{"type":"string","enum":["PENDING","RUNNING","ERROR","DONE","UNDEFINED"],"description":"The aggregated status of jobs for an application.","readOnly":"true","title":"Status","x-order":"10"}},"title":"MicoApplicationJobStatusResponseDTO"},"MicoApplicationRequestDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact","x-order":"210"},"description":{"type":"string","default":"","description":"Human readable description of this application.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"name":{"type":"string","description":"Human readable name of the application.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the application owner, who is responsible for this application.","title":"Owner","x-order":"200"},"shortName":{"type":"string","description":"Unique short name of the application.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this application.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"MicoApplicationRequestDTO"},"MicoApplicationResponseDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact","x-order":"210"},"deploymentStatus":{"type":"string","enum":["deployed","not_deployed"],"description":"Holds the current deployment status of this application.","readOnly":"true","title":"Deployment Status","x-order":"220"},"description":{"type":"string","default":"","description":"Human readable description of this application.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"name":{"type":"string","description":"Human readable name of the application.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the application owner, who is responsible for this application.","title":"Owner","x-order":"200"},"shortName":{"type":"string","description":"Unique short name of the application.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this application.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"MicoApplicationResponseDTO"},"MicoApplicationStatusResponseDTO":{"type":"object","properties":{"serviceStatuses":{"type":"array","items":{"$ref":"#/definitions/MicoServiceStatusResponseDTO"},"description":"List of status information of MicoServices, which belong to a MicoApplication.","title":"Service Status","x-order":"10"},"totalNumberOfAvailableReplicas":{"type":"integer","format":"int32","description":"Number of replicas of all services that are available in a MicoApplication.","title":"Total Number Of Available Replicas","x-order":"30"},"totalNumberOfMicoServices":{"type":"integer","format":"int32","description":"Number of MicoServices of a MicoApplication.","title":"Total Number Of MicoServices","x-order":"20"},"totalNumberOfPods":{"type":"integer","format":"int32","description":"Number of pods created by all MicoServices in a MicoApplication.","title":"Total Number Of Pods","x-order":"50"},"totalNumberOfRequestedReplicas":{"type":"integer","format":"int32","description":"Number of replicas of all services that should be available in a MicoApplication.","title":"Total Number Of Requested Replicas","x-order":"40"}},"title":"MicoApplicationStatusResponseDTO"},"MicoApplicationWithServicesResponseDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact","x-order":"210"},"deploymentStatus":{"type":"string","enum":["deployed","not_deployed"],"description":"Holds the current deployment status of this application.","readOnly":"true","title":"Deployment Status","x-order":"220"},"description":{"type":"string","default":"","description":"Human readable description of this application.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"name":{"type":"string","description":"Human readable name of the application.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the application owner, who is responsible for this application.","title":"Owner","x-order":"200"},"services":{"type":"array","items":{"$ref":"#/definitions/MicoServiceResponseDTO"},"description":"All services of the application.","title":"Services","x-order":"100"},"shortName":{"type":"string","description":"Unique short name of the application.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this application.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"MicoApplicationWithServicesResponseDTO"},"MicoEnvironmentVariableRequestDTO":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the environment variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","title":"Name","x-order":"10"},"value":{"type":"string","description":"Value of the environment variable.","title":"Value","x-order":"20"}},"title":"MicoEnvironmentVariableRequestDTO"},"MicoLabelRequestDTO":{"type":"object","required":["key"],"properties":{"key":{"type":"string","description":"Key of the label.","maxLength":"253","minLength":"1","pattern":"^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/)?[a-z0-9A-Z][a-z0-9A-Z-_.]*[a-z0-9A-Z]$","title":"Key","x-order":"10"},"value":{"type":"string","description":"Value of the label.","maxLength":"63","minLength":"0","pattern":"^[a-z0-9A-Z][a-z0-9A-Z-_.]*[a-z0-9A-Z]$","title":"Value","x-order":"20"}},"title":"MicoLabelRequestDTO"},"MicoServiceBackgroundTaskResponseDTO":{"type":"object","properties":{"errorMessage":{"type":"string","description":"An error message in case the job has failed","readOnly":"true","title":"Error Message","x-order":"60"},"id":{"type":"string","description":"The generated job id.","readOnly":"true","title":"Job Id","x-order":"10"},"serviceShortName":{"type":"string","description":"The name of the corresponding service.","readOnly":"true","title":"Service Short Name","x-order":"20"},"serviceVersion":{"type":"string","description":"The version of the corresponding service.","readOnly":"true","title":"Service Version","x-order":"30"},"status":{"type":"string","enum":["PENDING","RUNNING","ERROR","DONE","UNDEFINED"],"description":"The current status of the job.","readOnly":"true","title":"Job Status","x-order":"50"},"type":{"type":"string","enum":["BUILD","UNDEPLOY"],"description":"The type of job.","readOnly":"true","title":"Job Type","x-order":"40"}},"title":"MicoServiceBackgroundTaskResponseDTO"},"MicoServiceDependencyGraphEdgeResponseDTO":{"type":"object","properties":{"sourceShortName":{"type":"string","description":"The short name of the source MicoService.","title":"Source Short Name","x-order":"10"},"sourceVersion":{"type":"string","description":"The version of the source MicoService.","title":"Source Version","x-order":"20"},"targetShortName":{"type":"string","description":"The short name of the target MicoService.","title":"Target Short Name","x-order":"30"},"targetVersion":{"type":"string","description":"The version of the target MicoService.","title":"Target Version","x-order":"40"}},"title":"MicoServiceDependencyGraphEdgeResponseDTO"},"MicoServiceDependencyGraphResponseDTO":{"type":"object","properties":{"micoServiceDependencyGraphEdgeList":{"type":"array","items":{"$ref":"#/definitions/MicoServiceDependencyGraphEdgeResponseDTO"},"description":" The list of edges in the dependency graph based on MicoServiceDependencyGraphEdgeResponseDTO.","title":"Edge List","x-order":"20"},"micoServices":{"type":"array","items":{"$ref":"#/definitions/MicoServiceResponseDTO"},"description":"The MicoServices that are included in the dependency graph.","title":"Included MicoServices","x-order":"10"}},"title":"MicoServiceDependencyGraphResponseDTO"},"MicoServiceDeploymentInfoRequestDTO":{"type":"object","properties":{"environmentVariables":{"type":"array","items":{"$ref":"#/definitions/MicoEnvironmentVariableRequestDTO"},"description":"Environment variables as key-value pairs that are attached to the deployment of this MicoService. These environment values can be used by the deployed MicoService during runtime. This could be useful to pass information to the MicoService that is not known during design time or is likely to change. Example could be an URL to another MicoService or an external service.","title":"Environment Variables","x-order":"45"},"imagePullPolicy":{"type":"string","enum":["ALWAYS","NEVER","IF_NOT_PRESENT"],"default":"ALWAYS","description":"Indicates whether and when to pull the image.\n Null is ignored.","title":"Image Pull Policy","x-order":"50"},"labels":{"type":"array","items":{"$ref":"#/definitions/MicoLabelRequestDTO"},"description":"Those labels are key-value pairs that are attached to the deployment of this service. Intended to be used to specify identifying attributes that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time.\n Each key must be unique for a given object.\n Null is ignored.","title":"Labels","x-order":"40"},"replicas":{"type":"integer","format":"int32","default":"1","description":"Number of desired instances. Defaults to 1.","minimum":"1","title":"Replicas","x-order":"30"},"restartPolicy":{"type":"string","enum":["ALWAYS","ON_FAILURE","NEVER"],"default":"ALWAYS","description":"Restart policy for all containers.\n Null is ignored.","title":"Restart Policy","x-order":"60"}},"title":"MicoServiceDeploymentInfoRequestDTO"},"MicoServiceDeploymentInfoResponseDTO":{"type":"object","properties":{"environmentVariables":{"type":"array","items":{"$ref":"#/definitions/MicoEnvironmentVariableRequestDTO"},"description":"Environment variables as key-value pairs that are attached to the deployment of this MicoService. These environment values can be used by the deployed MicoService during runtime. This could be useful to pass information to the MicoService that is not known during design time or is likely to change. Example could be an URL to another MicoService or an external service.","title":"Environment Variables","x-order":"45"},"imagePullPolicy":{"type":"string","enum":["ALWAYS","NEVER","IF_NOT_PRESENT"],"default":"ALWAYS","description":"Indicates whether and when to pull the image.\n Null is ignored.","title":"Image Pull Policy","x-order":"50"},"labels":{"type":"array","items":{"$ref":"#/definitions/MicoLabelRequestDTO"},"description":"Those labels are key-value pairs that are attached to the deployment of this service. Intended to be used to specify identifying attributes that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time.\n Each key must be unique for a given object.\n Null is ignored.","title":"Labels","x-order":"40"},"replicas":{"type":"integer","format":"int32","default":"1","description":"Number of desired instances. Defaults to 1.","minimum":"1","title":"Replicas","x-order":"30"},"restartPolicy":{"type":"string","enum":["ALWAYS","ON_FAILURE","NEVER"],"default":"ALWAYS","description":"Restart policy for all containers.\n Null is ignored.","title":"Restart Policy","x-order":"60"}},"title":"MicoServiceDeploymentInfoResponseDTO"},"MicoServiceInterfaceRequestDTO":{"type":"object","required":["ports","serviceInterfaceName"],"properties":{"description":{"type":"string","description":"Human readable description of this service interface.\n Null values are skipped.","title":"Description","x-order":"110"},"ports":{"type":"array","items":{"$ref":"#/definitions/MicoServicePortRequestDTO"},"description":"The list of ports of this interface.\n Must not be empty.","minItems":"1","title":"Ports","x-order":"200"},"protocol":{"type":"string","description":"The protocol of this interface.","title":"Protocol","x-order":"120"},"publicDns":{"type":"string","description":"The public DNS.","title":"Public DNS","x-order":"100"},"serviceInterfaceName":{"type":"string","description":"The name of this MicoServiceInterface","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Service Interface Name","x-order":"20"},"transportProtocol":{"type":"string","description":"The transport protocol of this interface.","title":"Transport Protocol","x-order":"130"}},"title":"MicoServiceInterfaceRequestDTO"},"MicoServiceInterfaceResponseDTO":{"type":"object","required":["ports","serviceInterfaceName"],"properties":{"description":{"type":"string","description":"Human readable description of this service interface.\n Null values are skipped.","title":"Description","x-order":"110"},"ports":{"type":"array","items":{"$ref":"#/definitions/MicoServicePortRequestDTO"},"description":"The list of ports of this interface.\n Must not be empty.","minItems":"1","title":"Ports","x-order":"200"},"protocol":{"type":"string","description":"The protocol of this interface.","title":"Protocol","x-order":"120"},"publicDns":{"type":"string","description":"The public DNS.","title":"Public DNS","x-order":"100"},"serviceInterfaceName":{"type":"string","description":"The name of this MicoServiceInterface","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Service Interface Name","x-order":"20"},"transportProtocol":{"type":"string","description":"The transport protocol of this interface.","title":"Transport Protocol","x-order":"130"}},"title":"MicoServiceInterfaceResponseDTO"},"MicoServiceInterfaceStatusResponseDTO":{"type":"object","properties":{"externalIps":{"type":"array","items":{"type":"string"},"description":"List of external IP addresses of this MicoServiceInterface.","title":"External IPs","x-order":"20"},"name":{"type":"string","description":"Name of the MicoServiceInterface.","title":"Name","x-order":"10"}},"title":"MicoServiceInterfaceStatusResponseDTO"},"MicoServicePortRequestDTO":{"type":"object","required":["port","targetPort","type"],"properties":{"port":{"type":"integer","format":"int32","description":"The port number of the externally exposed port.","maximum":"65535","minimum":"1","title":"Exposed Port Number","x-order":"10"},"targetPort":{"type":"integer","format":"int32","description":"The port inside the container.","maximum":"65535","minimum":"1","title":"Target Port Number","x-order":"20"},"type":{"type":"string","enum":["TCP","UDP"],"default":"TCP","description":"The type (protocol) of the port. TCP or UDP.","title":"Type","x-order":"30"}},"title":"MicoServicePortRequestDTO"},"MicoServiceRequestDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact Information","x-order":"70"},"description":{"type":"string","default":"","description":"Human readable description of this service.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"dockerImageUri":{"type":"string","description":"The fully qualified URI to the image on DockerHub.","title":"Docker Image Url","x-order":"140"},"dockerfilePath":{"type":"string","description":"The relative path to the Dockerfile.","pattern":"^(?!/.*$).*","title":"Path to Dockerfile","x-order":"130"},"gitCloneUrl":{"type":"string","description":"The URL used for a git clone of a GitHub repository, to clone the current master branch.","title":"Git Clone URL","x-order":"110"},"name":{"type":"string","description":"A human readable name of the MicoService.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the services owner, who is responsible for this service.","title":"Owner","x-order":"60"},"shortName":{"type":"string","description":"A unique name of the MicoService.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this service. Refers to GitHub release tag.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"MicoServiceRequestDTO"},"MicoServiceResponseDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact Information","x-order":"70"},"description":{"type":"string","default":"","description":"Human readable description of this service.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"dockerImageUri":{"type":"string","description":"The fully qualified URI to the image on DockerHub.","title":"Docker Image Url","x-order":"140"},"dockerfilePath":{"type":"string","description":"The relative path to the Dockerfile.","pattern":"^(?!/.*$).*","title":"Path to Dockerfile","x-order":"130"},"gitCloneUrl":{"type":"string","description":"The URL used for a git clone of a GitHub repository, to clone the current master branch.","title":"Git Clone URL","x-order":"110"},"name":{"type":"string","description":"A human readable name of the MicoService.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the services owner, who is responsible for this service.","title":"Owner","x-order":"60"},"serviceCrawlingOrigin":{"type":"string","enum":["GITHUB","DOCKER","NOT_DEFINED"],"default":"NOT_DEFINED","description":"Indicates where this service originates from.","readOnly":"true","title":"Service Crawling Origin","x-order":"100"},"shortName":{"type":"string","description":"A unique name of the MicoService.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this service. Refers to GitHub release tag.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"MicoServiceResponseDTO"},"MicoServiceStatusResponseDTO":{"type":"object","properties":{"applicationsUsingThisService":{"type":"array","items":{"$ref":"#/definitions/MicoApplicationResponseDTO"},"description":"List of MicoApplicationDTOs representing all applications that share the MicoService.","title":"Applications Using This Service","x-order":"70"},"availableReplicas":{"type":"integer","format":"int32","description":"Counter for the number of replicas of the corresponding MicoService that are actually available.","title":"Available Replicas","x-order":"50"},"errorMessages":{"type":"array","items":{"type":"string"},"description":"Contains error messages for Kubernetes services that are not deployed or not available due to other reasons.","title":"Error Messages","x-order":"100"},"interfacesInformation":{"type":"array","items":{"$ref":"#/definitions/MicoServiceInterfaceStatusResponseDTO"},"description":"Contains information about the Kubernetes services deployed for each MicoServiceInterface of the corresponding MicoService.","title":"Interfaces Information","x-order":"60"},"name":{"type":"string","description":"Name of the MicoService.","title":"Name","x-order":"30"},"nodeMetrics":{"type":"array","items":{"$ref":"#/definitions/KubernetesNodeMetricsResponseDTO"},"description":"List of KubernetesNodeMetricsDTO with metrics for each node used by this MicoService.","title":"Node Metrics","x-order":"90"},"podsInformation":{"type":"array","items":{"$ref":"#/definitions/KubernetesPodInformationResponseDTO"},"description":"List of all pods of all replicas of a deployment of the MicoService.","title":"Pods Information","x-order":"80"},"requestedReplicas":{"type":"integer","format":"int32","description":"Counter for the number of replicas of the corresponding MicoService that should be available.","title":"Requested Replicas","x-order":"40"},"shortName":{"type":"string","description":"Short name of the MicoService.","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"Version of the MicoService.","title":"Version","x-order":"20"}},"title":"MicoServiceStatusResponseDTO"},"MicoVersionRequestDTO":{"type":"object","required":["version"],"properties":{"version":{"type":"string","description":"The version (in semantic version format).","title":"Version","x-order":"10"}},"title":"MicoVersionRequestDTO"},"ModelAndView":{"type":"object","properties":{"empty":{"type":"boolean"},"model":{"type":"object"},"modelMap":{"type":"object","additionalProperties":{"type":"object"}},"reference":{"type":"boolean"},"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"view":{"$ref":"#/definitions/View"},"viewName":{"type":"string"}},"title":"ModelAndView"},"ResourceOfMicoApplicationJobStatusResponseDTO":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"jobs":{"type":"array","items":{"$ref":"#/definitions/MicoServiceBackgroundTaskResponseDTO"},"description":"The list of jobs for an application.","readOnly":"true","title":"List of Jobs","x-order":"20"},"status":{"type":"string","enum":["PENDING","RUNNING","ERROR","DONE","UNDEFINED"],"description":"The aggregated status of jobs for an application.","readOnly":"true","title":"Status","x-order":"10"}},"title":"ResourceOfMicoApplicationJobStatusResponseDTO","xml":{"name":"ResourceOfMicoApplicationJobStatusResponseDTO","attribute":false,"wrapped":false}},"ResourceOfMicoApplicationStatusResponseDTO":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"serviceStatuses":{"type":"array","items":{"$ref":"#/definitions/MicoServiceStatusResponseDTO"},"description":"List of status information of MicoServices, which belong to a MicoApplication.","title":"Service Status","x-order":"10"},"totalNumberOfAvailableReplicas":{"type":"integer","format":"int32","description":"Number of replicas of all services that are available in a MicoApplication.","title":"Total Number Of Available Replicas","x-order":"30"},"totalNumberOfMicoServices":{"type":"integer","format":"int32","description":"Number of MicoServices of a MicoApplication.","title":"Total Number Of MicoServices","x-order":"20"},"totalNumberOfPods":{"type":"integer","format":"int32","description":"Number of pods created by all MicoServices in a MicoApplication.","title":"Total Number Of Pods","x-order":"50"},"totalNumberOfRequestedReplicas":{"type":"integer","format":"int32","description":"Number of replicas of all services that should be available in a MicoApplication.","title":"Total Number Of Requested Replicas","x-order":"40"}},"title":"ResourceOfMicoApplicationStatusResponseDTO","xml":{"name":"ResourceOfMicoApplicationStatusResponseDTO","attribute":false,"wrapped":false}},"ResourceOfMicoApplicationWithServicesResponseDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact","x-order":"210"},"deploymentStatus":{"type":"string","enum":["deployed","not_deployed"],"description":"Holds the current deployment status of this application.","readOnly":"true","title":"Deployment Status","x-order":"220"},"description":{"type":"string","default":"","description":"Human readable description of this application.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"name":{"type":"string","description":"Human readable name of the application.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the application owner, who is responsible for this application.","title":"Owner","x-order":"200"},"services":{"type":"array","items":{"$ref":"#/definitions/MicoServiceResponseDTO"},"description":"All services of the application.","title":"Services","x-order":"100"},"shortName":{"type":"string","description":"Unique short name of the application.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this application.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"ResourceOfMicoApplicationWithServicesResponseDTO"},"ResourceOfMicoServiceBackgroundTaskResponseDTO":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"errorMessage":{"type":"string","description":"An error message in case the job has failed","readOnly":"true","title":"Error Message","x-order":"60"},"id":{"type":"string","description":"The generated job id.","readOnly":"true","title":"Job Id","x-order":"10"},"serviceShortName":{"type":"string","description":"The name of the corresponding service.","readOnly":"true","title":"Service Short Name","x-order":"20"},"serviceVersion":{"type":"string","description":"The version of the corresponding service.","readOnly":"true","title":"Service Version","x-order":"30"},"status":{"type":"string","enum":["PENDING","RUNNING","ERROR","DONE","UNDEFINED"],"description":"The current status of the job.","readOnly":"true","title":"Job Status","x-order":"50"},"type":{"type":"string","enum":["BUILD","UNDEPLOY"],"description":"The type of job.","readOnly":"true","title":"Job Type","x-order":"40"}},"title":"ResourceOfMicoServiceBackgroundTaskResponseDTO"},"ResourceOfMicoServiceDependencyGraphResponseDTO":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"micoServiceDependencyGraphEdgeList":{"type":"array","items":{"$ref":"#/definitions/MicoServiceDependencyGraphEdgeResponseDTO"},"description":" The list of edges in the dependency graph based on MicoServiceDependencyGraphEdgeResponseDTO.","title":"Edge List","x-order":"20"},"micoServices":{"type":"array","items":{"$ref":"#/definitions/MicoServiceResponseDTO"},"description":"The MicoServices that are included in the dependency graph.","title":"Included MicoServices","x-order":"10"}},"title":"ResourceOfMicoServiceDependencyGraphResponseDTO","xml":{"name":"ResourceOfMicoServiceDependencyGraphResponseDTO","attribute":false,"wrapped":false}},"ResourceOfMicoServiceDeploymentInfoResponseDTO":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"environmentVariables":{"type":"array","items":{"$ref":"#/definitions/MicoEnvironmentVariableRequestDTO"},"description":"Environment variables as key-value pairs that are attached to the deployment of this MicoService. These environment values can be used by the deployed MicoService during runtime. This could be useful to pass information to the MicoService that is not known during design time or is likely to change. Example could be an URL to another MicoService or an external service.","title":"Environment Variables","x-order":"45"},"imagePullPolicy":{"type":"string","enum":["ALWAYS","NEVER","IF_NOT_PRESENT"],"default":"ALWAYS","description":"Indicates whether and when to pull the image.\n Null is ignored.","title":"Image Pull Policy","x-order":"50"},"labels":{"type":"array","items":{"$ref":"#/definitions/MicoLabelRequestDTO"},"description":"Those labels are key-value pairs that are attached to the deployment of this service. Intended to be used to specify identifying attributes that are meaningful and relevant to users, but do not directly imply semantics to the core system. Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time.\n Each key must be unique for a given object.\n Null is ignored.","title":"Labels","x-order":"40"},"replicas":{"type":"integer","format":"int32","default":"1","description":"Number of desired instances. Defaults to 1.","minimum":"1","title":"Replicas","x-order":"30"},"restartPolicy":{"type":"string","enum":["ALWAYS","ON_FAILURE","NEVER"],"default":"ALWAYS","description":"Restart policy for all containers.\n Null is ignored.","title":"Restart Policy","x-order":"60"}},"title":"ResourceOfMicoServiceDeploymentInfoResponseDTO"},"ResourceOfMicoServiceInterfaceResponseDTO":{"type":"object","required":["ports","serviceInterfaceName"],"properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"description":{"type":"string","description":"Human readable description of this service interface.\n Null values are skipped.","title":"Description","x-order":"110"},"ports":{"type":"array","items":{"$ref":"#/definitions/MicoServicePortRequestDTO"},"description":"The list of ports of this interface.\n Must not be empty.","minItems":"1","title":"Ports","x-order":"200"},"protocol":{"type":"string","description":"The protocol of this interface.","title":"Protocol","x-order":"120"},"publicDns":{"type":"string","description":"The public DNS.","title":"Public DNS","x-order":"100"},"serviceInterfaceName":{"type":"string","description":"The name of this MicoServiceInterface","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Service Interface Name","x-order":"20"},"transportProtocol":{"type":"string","description":"The transport protocol of this interface.","title":"Transport Protocol","x-order":"130"}},"title":"ResourceOfMicoServiceInterfaceResponseDTO"},"ResourceOfMicoServiceResponseDTO":{"type":"object","required":["description","name","shortName","version"],"properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"contact":{"type":"string","description":"Human readable contact information for support purposes.","title":"Contact Information","x-order":"70"},"description":{"type":"string","default":"","description":"Human readable description of this service.\n Is allowed to be empty (default). Null values are skipped.","title":"Description","x-order":"40"},"dockerImageUri":{"type":"string","description":"The fully qualified URI to the image on DockerHub.","title":"Docker Image Url","x-order":"140"},"dockerfilePath":{"type":"string","description":"The relative path to the Dockerfile.","pattern":"^(?!/.*$).*","title":"Path to Dockerfile","x-order":"130"},"gitCloneUrl":{"type":"string","description":"The URL used for a git clone of a GitHub repository, to clone the current master branch.","title":"Git Clone URL","x-order":"110"},"name":{"type":"string","description":"A human readable name of the MicoService.","title":"Name","x-order":"30"},"owner":{"type":"string","description":"Human readable information for the services owner, who is responsible for this service.","title":"Owner","x-order":"60"},"serviceCrawlingOrigin":{"type":"string","enum":["GITHUB","DOCKER","NOT_DEFINED"],"default":"NOT_DEFINED","description":"Indicates where this service originates from.","readOnly":"true","title":"Service Crawling Origin","x-order":"100"},"shortName":{"type":"string","description":"A unique name of the MicoService.","maxLength":"253","minLength":"3","pattern":"^[a-z]([-a-z0-9]*[a-z0-9])?$","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"The version of this service. Refers to GitHub release tag.","pattern":"^[a-zA-Z]*(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(-(((0|[1-9]\\d*|\\d*[A-Z-a-z-][\\dA-Za-z-]*))(\\.(0|[1-9]\\d*|\\d*[A-Za-z-][\\dA-Za-z-]*))*))?(\\+([\\dA-Za-z-]+(\\.[\\dA-Za-z-]*)*))?$","title":"Version","x-order":"20"}},"title":"ResourceOfMicoServiceResponseDTO"},"ResourceOfMicoServiceStatusResponseDTO":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"applicationsUsingThisService":{"type":"array","items":{"$ref":"#/definitions/MicoApplicationResponseDTO"},"description":"List of MicoApplicationDTOs representing all applications that share the MicoService.","title":"Applications Using This Service","x-order":"70"},"availableReplicas":{"type":"integer","format":"int32","description":"Counter for the number of replicas of the corresponding MicoService that are actually available.","title":"Available Replicas","x-order":"50"},"errorMessages":{"type":"array","items":{"type":"string"},"description":"Contains error messages for Kubernetes services that are not deployed or not available due to other reasons.","title":"Error Messages","x-order":"100"},"interfacesInformation":{"type":"array","items":{"$ref":"#/definitions/MicoServiceInterfaceStatusResponseDTO"},"description":"Contains information about the Kubernetes services deployed for each MicoServiceInterface of the corresponding MicoService.","title":"Interfaces Information","x-order":"60"},"name":{"type":"string","description":"Name of the MicoService.","title":"Name","x-order":"30"},"nodeMetrics":{"type":"array","items":{"$ref":"#/definitions/KubernetesNodeMetricsResponseDTO"},"description":"List of KubernetesNodeMetricsDTO with metrics for each node used by this MicoService.","title":"Node Metrics","x-order":"90"},"podsInformation":{"type":"array","items":{"$ref":"#/definitions/KubernetesPodInformationResponseDTO"},"description":"List of all pods of all replicas of a deployment of the MicoService.","title":"Pods Information","x-order":"80"},"requestedReplicas":{"type":"integer","format":"int32","description":"Counter for the number of replicas of the corresponding MicoService that should be available.","title":"Requested Replicas","x-order":"40"},"shortName":{"type":"string","description":"Short name of the MicoService.","title":"Short Name","x-order":"10"},"version":{"type":"string","description":"Version of the MicoService.","title":"Version","x-order":"20"}},"title":"ResourceOfMicoServiceStatusResponseDTO","xml":{"name":"ResourceOfMicoServiceStatusResponseDTO","attribute":false,"wrapped":false}},"ResourceOfMicoVersionRequestDTO":{"type":"object","required":["version"],"properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"version":{"type":"string","description":"The version (in semantic version format).","title":"Version","x-order":"10"}},"title":"ResourceOfMicoVersionRequestDTO","xml":{"name":"ResourceOfMicoVersionRequestDTO","attribute":false,"wrapped":false}},"ResourcesOfResourceOfMicoApplicationWithServicesResponseDTO":{"type":"object","properties":{"_embedded":{"type":"array","xml":{"name":"embedded","attribute":false,"wrapped":true},"items":{"$ref":"#/definitions/ResourceOfMicoApplicationWithServicesResponseDTO"}},"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}}},"title":"ResourcesOfResourceOfMicoApplicationWithServicesResponseDTO"},"ResourcesOfResourceOfMicoServiceBackgroundTaskResponseDTO":{"type":"object","properties":{"_embedded":{"type":"array","xml":{"name":"embedded","attribute":false,"wrapped":true},"items":{"$ref":"#/definitions/ResourceOfMicoServiceBackgroundTaskResponseDTO"}},"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}}},"title":"ResourcesOfResourceOfMicoServiceBackgroundTaskResponseDTO","xml":{"name":"entities","attribute":false,"wrapped":false}},"ResourcesOfResourceOfMicoServiceInterfaceResponseDTO":{"type":"object","properties":{"_embedded":{"type":"array","xml":{"name":"embedded","attribute":false,"wrapped":true},"items":{"$ref":"#/definitions/ResourceOfMicoServiceInterfaceResponseDTO"}},"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}}},"title":"ResourcesOfResourceOfMicoServiceInterfaceResponseDTO","xml":{"name":"entities","attribute":false,"wrapped":false}},"ResourcesOfResourceOfMicoServiceResponseDTO":{"type":"object","properties":{"_embedded":{"type":"array","xml":{"name":"embedded","attribute":false,"wrapped":true},"items":{"$ref":"#/definitions/ResourceOfMicoServiceResponseDTO"}},"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}}},"title":"ResourcesOfResourceOfMicoServiceResponseDTO"},"ResourcesOfResourceOfMicoVersionRequestDTO":{"type":"object","properties":{"_embedded":{"type":"array","xml":{"name":"embedded","attribute":false,"wrapped":true},"items":{"$ref":"#/definitions/ResourceOfMicoVersionRequestDTO"}},"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}}},"title":"ResourcesOfResourceOfMicoVersionRequestDTO","xml":{"name":"entities","attribute":false,"wrapped":false}},"View":{"type":"object","properties":{"contentType":{"type":"string"}},"title":"View"}}}