Update fields for details of use section
This commit is contained in:
parent
15728eb9a0
commit
ac6ce73cc2
@ -10,7 +10,6 @@ import pendulum
|
|||||||
class RequestForm(ValidatedForm):
|
class RequestForm(ValidatedForm):
|
||||||
|
|
||||||
# Details of Use: General
|
# Details of Use: General
|
||||||
|
|
||||||
dod_component = StringField(
|
dod_component = StringField(
|
||||||
"DoD Component",
|
"DoD Component",
|
||||||
description="Identify the DoD component that is requesting access to the JEDI Cloud",
|
description="Identify the DoD component that is requesting access to the JEDI Cloud",
|
||||||
@ -21,87 +20,42 @@ class RequestForm(ValidatedForm):
|
|||||||
description="Briefly describe how you are expecting to use the JEDI Cloud",
|
description="Briefly describe how you are expecting to use the JEDI Cloud",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Details of Use: Cloud Readiness
|
# Details of Use: Cloud Readiness
|
||||||
|
num_software_systems = IntegerField(
|
||||||
|
"Number of Software System",
|
||||||
|
description="Estimate the number of software systems that will be supported by this JEDI Cloud access request",
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Details of Use: Overall Request Details
|
|
||||||
dollar_value = IntegerField(
|
|
||||||
"What is the total estimated dollar value of the cloud resources you are requesting using the <a href=\"#\" target=\"_blank\">JEDI CSP Calculator</a>?",
|
|
||||||
validators=[InputRequired(), NumberRange(min=1)],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
num_applications = IntegerField(
|
jedi_migration = RadioField(
|
||||||
"Estimate the number of applications that might be supported by this request",
|
"Are you using the JEDI Cloud to migrate existing systems?",
|
||||||
validators=[InputRequired(), NumberRange(min=1)],
|
|
||||||
)
|
|
||||||
|
|
||||||
date_start = DateField(
|
|
||||||
"Date you expect to start accessing this cloud resource.",
|
|
||||||
validators=[
|
|
||||||
InputRequired(),
|
|
||||||
DateRange(
|
|
||||||
lower_bound=pendulum.duration(days=0),
|
|
||||||
message="Must be no earlier than today.",
|
|
||||||
),
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
||||||
app_description = TextAreaField(
|
|
||||||
"Describe how your team is expecting to use the JEDI Cloud"
|
|
||||||
)
|
|
||||||
|
|
||||||
supported_organizations = StringField(
|
|
||||||
"What organizations are supported by these applications?",
|
|
||||||
validators=[InputRequired()],
|
|
||||||
)
|
|
||||||
|
|
||||||
# Details of Use: Cloud Resources
|
|
||||||
total_cores = IntegerField(
|
|
||||||
"Total Number of vCPU cores", validators=[InputRequired(), NumberRange(min=0)]
|
|
||||||
)
|
|
||||||
total_ram = IntegerField(
|
|
||||||
"Total RAM", validators=[InputRequired(), NumberRange(min=0)]
|
|
||||||
)
|
|
||||||
total_object_storage = IntegerField(
|
|
||||||
"Total object storage", validators=[InputRequired(), NumberRange(min=0)]
|
|
||||||
)
|
|
||||||
total_database_storage = IntegerField(
|
|
||||||
"Total database storage", validators=[InputRequired(), NumberRange(min=0)]
|
|
||||||
)
|
|
||||||
total_server_storage = IntegerField(
|
|
||||||
"Total server storage", validators=[InputRequired(), NumberRange(min=0)]
|
|
||||||
)
|
|
||||||
|
|
||||||
# Details of Use: Support Staff
|
|
||||||
has_contractor_advisor = RadioField(
|
|
||||||
"Do you have a contractor to advise and assist you with using cloud services?",
|
|
||||||
choices=[("yes", "Yes"), ("no", "No")],
|
choices=[("yes", "Yes"), ("no", "No")],
|
||||||
validators=[InputRequired()],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
is_migrating_application = RadioField(
|
rationalization_software_systems = RadioField(
|
||||||
"Are you using the JEDI Cloud to migrate existing applications?",
|
"Have you completed a “rationalization” of your software systems to move to the cloud?",
|
||||||
|
choices=[("yes", "Yes"), ("no", "No"), ("in_progress","In Progress")],
|
||||||
|
)
|
||||||
|
|
||||||
|
technical_support_team = RadioField(
|
||||||
|
"Are you working with a technical support team experienced in cloud migrations?",
|
||||||
choices=[("yes", "Yes"), ("no", "No")],
|
choices=[("yes", "Yes"), ("no", "No")],
|
||||||
validators=[InputRequired()],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
has_migration_office = RadioField(
|
organization_providing_assistance = RadioField(
|
||||||
"Do you have a migration office that you're working with to migrate to the cloud?",
|
"If you are receiving migration assistance, indicate the type of organization providing assistance below:",
|
||||||
choices=[("yes", "Yes"), ("no", "No")],
|
choices=[("yes", "Yes"), ("no", "No")],
|
||||||
validators=[InputRequired()],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
supporting_organization = StringField(
|
|
||||||
"Describe the organizations that are supporting you, include both government and contractor resources",
|
|
||||||
validators=[InputRequired()],
|
# Organization Providing Assistance
|
||||||
)
|
|
||||||
|
# # Engineering Assessment
|
||||||
|
|
||||||
|
# # Data Transfers
|
||||||
|
|
||||||
|
# # Expected Completion Date
|
||||||
|
|
||||||
|
# # Cloud Native
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,158 +12,19 @@
|
|||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
|
||||||
|
<p class="usa-font-lead">We’d like to know a little about how you plan to use JEDI Cloud services to process your request. Please answer the following questions to the best of your ability. Note that the CCPO does not directly help with migrating systems to JEDI Cloud. These questions are for learning about your cloud readiness and financial usage of the JEDI Cloud; your estimates will not be used for any department level reporting.</p>
|
||||||
|
<p><em>All fields are required, unless specified optional.</em></p>
|
||||||
|
|
||||||
|
<h3>General</h3>
|
||||||
|
|
||||||
{% module TextInput(f.dod_component) %}
|
{% module TextInput(f.dod_component) %}
|
||||||
{% module TextInput(f.jedi_usage) %}
|
{% module TextInput(f.jedi_usage) %}
|
||||||
|
|
||||||
|
<h3>Cloud Readiness</h3>
|
||||||
|
{% module TextInput(f.num_software_systems) %}
|
||||||
|
{% module OptionsInput(f.jedi_migration) %}
|
||||||
|
{% module OptionsInput(f.rationalization_software_systems) %}
|
||||||
|
{% module OptionsInput(f.technical_support_team) %}
|
||||||
|
{% module OptionsInput(f.organization_providing_assistance) %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- OLD: -->
|
|
||||||
<!-- DETAILS OF USE -->
|
|
||||||
<!-- Overall Request Details -->
|
|
||||||
|
|
||||||
<h3 id="overall-request-details">Overall Request Details</h3>
|
|
||||||
<p class="usa-font-lead">Please help us understand the size and scope of your resource request.</p>
|
|
||||||
|
|
||||||
{{ f.dollar_value.label }}
|
|
||||||
{{ f.dollar_value(placeholder="Total dollar amount to be associated with the Task Order")}}
|
|
||||||
{% for e in f.dollar_value.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ f.num_applications.label }}
|
|
||||||
{{ f.num_applications(placeholder="Estimated number of applications") }}
|
|
||||||
{% for e in f.num_applications.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.date_start.label }}
|
|
||||||
{{ f.date_start }}
|
|
||||||
{% for e in f.date_start.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.app_description.label }}
|
|
||||||
{{ f.app_description(placeholder="Example: My organization is supporting the migration of XYZ system to the cloud due to XX policy memo. I am planning to use a sandbox environment to do testing.") }}
|
|
||||||
{% for e in f.app_description.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.supported_organizations.label }}
|
|
||||||
{{ f.supported_organizations(placeholder="Add tags associated with DoD components or other entities") }}
|
|
||||||
{% for e in f.supported_organizations.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Cloud Resources -->
|
|
||||||
|
|
||||||
<h3 id="cloud-resources">Cloud Resources</h3>
|
|
||||||
<p class="usa-font-lead">Please tell us about your expected cloud resource usage as best as you can. Refer to the <a href="">Cloud Service Provider</a> as necessary.</p>
|
|
||||||
|
|
||||||
{{ f.total_cores.label }}
|
|
||||||
{{ f.total_cores(placeholder="Expected total cores", min="1", max="32") }}
|
|
||||||
{% for e in f.total_cores.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.total_ram.label }}
|
|
||||||
{{ f.total_ram(placeholder="Expected amount of RAM", min="1", max="32") }}
|
|
||||||
{% for e in f.total_ram.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.total_object_storage.label }}
|
|
||||||
{{ f.total_object_storage(placeholder="Expected total object storage") }}
|
|
||||||
{% for e in f.total_object_storage.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.total_database_storage.label }}
|
|
||||||
{{ f.total_database_storage(placeholder="Expected total database storage") }}
|
|
||||||
{% for e in f.total_database_storage.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
{{ f.total_server_storage.label }}
|
|
||||||
{{ f.total_server_storage(placeholder="Expected total server storage") }}
|
|
||||||
{% for e in f.total_server_storage.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Support Staff -->
|
|
||||||
|
|
||||||
<h3 id="support-staff">Support Staff</h3>
|
|
||||||
<p class="usa-font-lead">We want to learn more about the people helping you with the cloud.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<fieldset class="usa-fieldset-inputs">
|
|
||||||
{{ f.has_contractor_advisor.label }}
|
|
||||||
{{ f.has_contractor_advisor(class_="usa-unstyled-list") }}
|
|
||||||
{% for e in f.has_contractor_advisor.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<fieldset class="usa-fieldset-inputs">
|
|
||||||
{{ f.is_migrating_application.label }}
|
|
||||||
{{ f.is_migrating_application(class_="usa-unstyled-list") }}
|
|
||||||
{% for e in f.is_migrating_application.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<fieldset class="usa-fieldset-inputs">
|
|
||||||
{{ f.has_migration_office.label }}
|
|
||||||
{{ f.has_migration_office(class_="usa-unstyled-list") }}
|
|
||||||
{% for e in f.has_migration_office.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<fieldset class="usa-fieldset-inputs">
|
|
||||||
{{ f.supporting_organization.label }}
|
|
||||||
{{ f.supporting_organization(placeholder="Example: AF CCE/HNI, Navy SPAWAR, MITRE") }}
|
|
||||||
{% for e in f.supporting_organization.errors %}
|
|
||||||
<div class="usa-input-error-message">
|
|
||||||
{{ e }}
|
|
||||||
</div>
|
|
||||||
{% end %}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{% end %}
|
{% end %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user