-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from cncf/new-homepage
New homepage
- Loading branch information
Showing
74 changed files
with
3,877 additions
and
1,792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
-- 113: add_opp_id trigger | ||
-- :PROPERTIES: | ||
-- :header-args:sql-mode+: :tangle ./app/migrations/113_trigger_add_opp_id.up.sql | ||
-- :END: | ||
|
||
-- #+NAME: Create Trigger | ||
|
||
-- [[file:~/apisnoop/apps/hasura/index.org::Create%20Trigger][Create Trigger]] | ||
CREATE TRIGGER add_op_id | ||
BEFORE INSERT ON audit_event | ||
FOR EACH ROW | ||
WHEN (NEW.job = 'live') | ||
EXECUTE PROCEDURE add_op_id(); | ||
-- Create Trigger ends here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
-- 210: api_operation | ||
-- :PROPERTIES: | ||
-- :header-args:sql-mode+: :tangle ./app/migrations/210_view_api_operation.up.sql | ||
-- :END: | ||
|
||
|
||
-- [[file:~/apisnoop/apps/hasura/index.org::*210:%20api_operation][210: api_operation:1]] | ||
CREATE OR REPLACE VIEW api_operation AS | ||
SELECT | ||
* | ||
FROM | ||
api_operation_material; | ||
-- 210: api_operation:1 ends here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
-- 510: Endpoint Coverage View | ||
-- :PROPERTIES: | ||
-- :header-args:sql-mode+: :tangle ./app/migrations/510_view_endpoint_coverage.up.sql | ||
-- :END: | ||
-- #+NAME: endpoint_coverage_material | ||
|
||
-- [[file:~/apisnoop/apps/hasura/index.org::endpoint_coverage_material][endpoint_coverage_material]] | ||
CREATE OR REPLACE VIEW "public"."endpoint_coverage" AS | ||
SELECT | ||
* | ||
FROM | ||
endpoint_coverage_material; | ||
-- endpoint_coverage_material ends here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
apps/hasura/app/migrations/910_load_and_populate_swaggers.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
-- 910: Populate Swaggers Up | ||
-- :PROPERTIES: | ||
-- :header-args:sql-mode+: :tangle ./app/migrations/910_load_and_populate_swaggers.up.sql | ||
-- :header-args:sql-mode+: :results silent | ||
-- :END: | ||
|
||
-- [[file:~/apisnoop/apps/hasura/index.org::*910:%20Populate%20Swaggers%20Up][910: Populate Swaggers Up:1]] | ||
select * from load_swagger(); | ||
--populate the apisnoop/live bucket/job to help when writing test functions | ||
select * from load_swagger(null, null, true); | ||
-- 910: Populate Swaggers Up:1 ends here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
-- 920: Populate Audits Up | ||
-- :PROPERTIES: | ||
-- :header-args:sql-mode+: :tangle ./app/migrations/920_populate_audit_events.up.sql | ||
-- :END: | ||
|
||
-- [[file:~/apisnoop/apps/hasura/index.org::*920:%20Populate%20Audits%20Up][920: Populate Audits Up:1]] | ||
select * from load_audit_events(); | ||
REFRESH MATERIALIZED VIEW api_operation_material; | ||
REFRESH MATERIALIZED VIEW api_operation_parameter_material; | ||
REFRESH MATERIALIZED VIEW endpoint_coverage_material; | ||
-- 920: Populate Audits Up:1 ends here |
Oops, something went wrong.