https://github.com/forcedotcom/canvas-quickstart-java
https://github.com/forcedotcom/canvas-quickstart-java
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/forcedotcom/canvas-quickstart-java
- Owner: forcedotcom
- License: bsd-3-clause
- Created: 2017-06-23T20:36:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T04:42:39.000Z (almost 2 years ago)
- Last Synced: 2025-06-19T05:12:56.851Z (about 1 year ago)
- Language: Java
- Size: 184 KB
- Stars: 11
- Watchers: 18
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
SFDC Canvas Java Template
============================
Salesforce Canvas is a mashup framework for consuming third party applications within Salesforce. Its goal is to connect applications at a UI level instead of an API level. Platform Connect will provide third party applications with a JavaScript SDK along with Java classes so they can seamlessly integrate canvas style applications, while developing in the technology and platform of their choice.
### How to Build The app locally
mvn package
### First time keystore generation (for local SSL support)
> keytool -keystore keystore -alias jetty -genkey -keyalg RSA
Enter keystore password: 123456
Re-enter new password: 123456
What is your first and last name?
[Unknown]:
What is the name of your organizational unit?
[Unknown]:
What is the name of your organization?
[Unknown]:
What is the name of your City or Locality?
[Unknown]:
What is the name of your State or Province?
[Unknown]:
What is the two-letter country code for this unit?
[Unknown]:
Is CN=, OU=, O=, L=, ST=, C=?
[no]: yes
Enter key password for
(RETURN if same as keystore password):
Re-enter new password:
### How to Run Canvas locally
sh target/bin/webapp
### How to invoke app locally
https://localhost:8443
### Canvas URL
https://localhost:8443/canvas.jsp
or on Heroku
https://.herokuapp.com/canvas.jsp
### Canvas Callback URLs
https://localhost:8443/sdk/callback.html
or on Heroku
https://.herokuapp.com/sdk/callback.html
### How to push new changes to heroku
git add -A
git commit -m "My change comments"
git push heroku master
### How to get Heroku logs
heroku logs --tail