Skip to content

Commit

Permalink
fix comments and dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed Jun 26, 2024
1 parent 31c8447 commit 44791a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions lib/cfdp_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,26 @@
#
# In ScriptRunner:
# require 'cfdp_api'
# api = CfdpApi.new
# api = CfdpApi.new()
# api.put(...)
#
# Outside cluster - Open Source:
# require 'cfdp_api'
# $openc3_scope = 'DEFAULT'
# ENV['OPENC3_API_PASSWORD'] = 'password'
# api = CfdpApi.new(hostname: '127.0.0.1', port: 2900)
# require 'cfdp_api'
# api = CfdpApi.new(url: "http://127.0.0.1:2900/cfdp")
# api.put(...)
#
# Outside cluster - Enterprise
# require 'cfdp_api'
# $openc3_scope = 'DEFAULT'
# ENV['OPENC3_KEYCLOAK_URL'] = '127.0.0.1:2900'
# ENV['OPENC3_KEYCLOAK_URL'] = 'http://127.0.0.1:2900/auth'
# ENV['OPENC3_API_USER'] = 'operator'
# ENV['OPENC3_API_PASSWORD'] = 'operator'
# api = CfdpApi.new(hostname: '127.0.0.1', port: 2900)
# require 'cfdp_api'
# api = CfdpApi.new(url: "http://127.0.0.1:2900/cfdp")
# api.put(...)
#

class CfdpApi < OpenC3::JsonApi
def put(
destination_entity_id:,
Expand Down
2 changes: 1 addition & 1 deletion microservices/CFDP/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ group :development, :test do
end

group :test do
gem 'mock_redis', '0.39'
gem 'mock_redis', '>0.39'
end

if ENV['OPENC3_DEVEL']
Expand Down

0 comments on commit 44791a1

Please sign in to comment.