Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
774474f8
Commit
774474f8
authored
Jun 25, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add hint providers for core properties
Closes gh-3322
parent
2da1d37e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
287 additions
and
0 deletions
+287
-0
additional-spring-configuration-metadata.json
...es/META-INF/additional-spring-configuration-metadata.json
+83
-0
additional-spring-configuration-metadata.json
...es/META-INF/additional-spring-configuration-metadata.json
+141
-0
additional-spring-configuration-metadata.json
...es/META-INF/additional-spring-configuration-metadata.json
+63
-0
No files found.
spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json
View file @
774474f8
...
@@ -106,5 +106,88 @@
...
@@ -106,5 +106,88 @@
"description"
:
"Location of the PID file to write (if ApplicationPidFileWriter is used)."
,
"description"
:
"Location of the PID file to write (if ApplicationPidFileWriter is used)."
,
"sourceType"
:
"org.springframework.boot.actuate.system.ApplicationPidFileWriter"
"sourceType"
:
"org.springframework.boot.actuate.system.ApplicationPidFileWriter"
}
}
],
"hints"
:
[
{
"name"
:
"endpoints.cors.allowed-headers"
,
"values"
:
[
{
"value"
:
"*"
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"endpoints.cors.allowed-methods"
,
"values"
:
[
{
"value"
:
"*"
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"endpoints.cors.allowed-origins"
,
"values"
:
[
{
"value"
:
"*"
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"management.health.status.order"
,
"values"
:
[
{
"value"
:
"UNKNOWN"
},
{
"value"
:
"UP"
},
{
"value"
:
"DOWN"
},
{
"value"
:
"OUT_OF_SERVICE"
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"shell.auth"
,
"values"
:
[
{
"value"
:
"simple"
,
"description"
:
"Use a simple user/password based authentication."
},
{
"value"
:
"spring"
,
"description"
:
"Integrate with Spring Security."
},
{
"value"
:
"key"
,
"description"
:
"Use a Key-based authentication."
},
{
"value"
:
"jaas"
,
"description"
:
"Use JAAS authentication."
}
]
}
]}
]}
spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
View file @
774474f8
...
@@ -158,5 +158,146 @@
...
@@ -158,5 +158,146 @@
"description"
:
"Spring MVC view suffix."
,
"description"
:
"Spring MVC view suffix."
,
"deprecated"
:
true
"deprecated"
:
true
}
}
],
"hints"
:
[
{
"name"
:
"server.jsp-servlet.class-name"
,
"providers"
:
[
{
"name"
:
"class-reference"
,
"parameters"
:
{
"target"
:
"javax.servlet.http.HttpServlet"
}
}
]
},
{
"name"
:
"server.tomcat.compression"
,
"values"
:
[
{
"value"
:
"off"
,
"description"
:
"Disable compression."
},
{
"value"
:
"on"
,
"description"
:
"Enable compression of responses over 2048 bytes."
},
{
"value"
:
"force"
,
"description"
:
"Enable compression of all responses."
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"spring.cache.jcache.provider"
,
"providers"
:
[
{
"name"
:
"class-reference"
,
"parameters"
:
{
"target"
:
"javax.cache.spi.CachingProvider"
}
}
]
},
{
"name"
:
"spring.datasource.driver-class-name"
,
"providers"
:
[
{
"name"
:
"class-reference"
,
"parameters"
:
{
"target"
:
"java.sql.Driver"
}
}
]
},
{
"name"
:
"spring.datasource.xa.data-source-class-name"
,
"providers"
:
[
{
"name"
:
"class-reference"
,
"parameters"
:
{
"target"
:
"javax.sql.XADataSource"
}
}
]
},
{
"name"
:
"spring.http.converters.preferred-json-mapper"
,
"values"
:
[
{
"value"
:
"gson"
},
{
"value"
:
"jackson"
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"spring.jooq.sql-dialect"
,
"providers"
:
[
{
"name"
:
"enum"
,
"parameters"
:
{
"target"
:
"org.jooq.SQLDialect"
}
}
]
},
{
"name"
:
"spring.jmx.server"
,
"providers"
:
[
{
"name"
:
"spring-bean-reference"
,
"parameters"
:
{
"target"
:
"javax.management.MBeanServer"
}
}
]
},
{
"name"
:
"spring.jpa.hibernate.ddl-auto"
,
"values"
:
[
{
"value"
:
"none"
,
"description"
:
"Disable DDL handling."
},
{
"value"
:
"validate"
,
"description"
:
"Validate the schema, make no changes to the database."
},
{
"value"
:
"update"
,
"description"
:
"Update the schema if necessary."
},
{
"value"
:
"create"
,
"description"
:
"Create the schema and destroy previous data."
},
{
"value"
:
"create-drop"
,
"description"
:
"Create and then destroy the schema at the end of the session."
}
]
},
{
"name"
:
"spring.jpa.hibernate.naming-strategy"
,
"providers"
:
[
{
"name"
:
"class-reference"
,
"parameters"
:
{
"target"
:
"org.hibernate.cfg.NamingStrategy"
}
}
]
}
]}
]}
spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json
View file @
774474f8
...
@@ -113,5 +113,68 @@
...
@@ -113,5 +113,68 @@
"type"
:
"java.lang.String"
,
"type"
:
"java.lang.String"
,
"description"
:
"Unconditionally activate the specified comma separated profiles."
"description"
:
"Unconditionally activate the specified comma separated profiles."
}
}
],
"hints"
:
[
{
"name"
:
"logger.level.keys"
,
"values"
:
[
{
"value"
:
"root"
,
"description"
:
"Root logger used to assign the default logging level."
}
],
"providers"
:
[
{
"name"
:
"logger-name"
}
]
},
{
"name"
:
"logger.level.values"
,
"values"
:
[
{
"value"
:
"trace"
},
{
"value"
:
"debug"
},
{
"value"
:
"info"
},
{
"value"
:
"warn"
},
{
"value"
:
"error"
},
{
"value"
:
"fatal"
},
{
"value"
:
"off"
}
],
"providers"
:
[
{
"name"
:
"any"
}
]
},
{
"name"
:
"spring.profiles.active"
,
"providers"
:
[
{
"name"
:
"spring-profile-name"
}
]
},
{
"name"
:
"spring.profiles.include"
,
"providers"
:
[
{
"name"
:
"spring-profile-name"
}
]
}
]}
]}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment