Configuration
SIS Tools uses a feature of the underlying Spring Framework called profiles to organize the configuration. Profiles allow you to specify separate named configurations. For example, many implementors will have a profile for production, and another one for non-production. If supporting multiple colleges in a district, then each institution may have its own set of profiles.
A configuration profile is created by placing a file in the config
subfolder that follows the name convention of application-{profile}.yml
. {profile} is a placeholder that should be substituted with the actual name of a profile.
Use the --profiles
command line argument to activate one or more profiles when running a program.
Visit the sample-configs
directory in the project repo for some starter examples.
#
Config Reference#
Example: Create a Non-Production ProfileThis example assumes using the Banner SIS. Configurations may be different for other SIS vendors.
- Create a file named
application-test.yml
in theconfig
directory where you installed the executable JAR.- Feel free to copy the starter content from the sample above.
- For the
cvc.canvas
block, configure the Canvas target environment, and an API token authorized to make SIS imports. - For the
cvc.sis
block, configure the JDBC connection information.
Follow the same steps to create a production profile.
#
File PathsIt is highly recommended to wrap file paths with single quotes.
#
Multiple CollegesTo support multiple colleges, simply create additional named profiles such application-{campusname}-test.yml
.
#
Log VerbosityThe default log verbosity level is info
, and log events will be written out using both standard console out, and one or more files in a local logs subdirectory.
SIS Tools supports an additional command line option --log-level <level>
to change the log level. Verbosity can be lessened using the error or warn level, or enable more debugging output by specifying the debug level.
#
CustomizationThe configuration system allows for overriding packaged values including the SQL queries used for pulling data from SIS systems. It is possible to customize these values, but before doing so, first consult with your CVC-OEI implementation team.